Hi, Part 1:
How can I tell if casting a off_t (e.g, sb.st_size) to size_t risks an overflow? What about casting ptrdiff_to to a uint64_t or a long? The full table of all such possible integer type casts must be large (and full of dragons?). How do you all keep it straight? Part 2: Can someone recommend a good mailng list for these kinds of generic *nix questions, so I don't have to abuse the generous hackers here on misc. Thanks, m