struct comparison

Guy Harris guy at auspex.auspex.com
Sun Jul 30 07:07:09 AEST 1989


>The BSD 4.3 man page for fseek(3S) and ftell(3S) says:

Which is irrelevant, since the original poster was talking about, among
other things, "off_t" from POSIX, which *is* an integral type, and POSIX
file offsets, which *are* measured in bytes.  The fact that, in ANSI C,
you can get away with "fseek()" offsets not being integral types isn't
relevant; in POSIX, they'd better be integral types, and absent
something like "long long int", which isn't in strict ANSI C, the best
you can do is "long", which in many implementations is, for better or
worse, 32 bits.



More information about the Comp.std.c mailing list