Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!ctrsol!ginosko!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.std.c Subject: Re: struct comparison Message-ID: <2312@auspex.auspex.com> Date: 29 Jul 89 21:07:09 GMT References: <167@ssp1.idca.tds.philips.nl> <12040019@hpfcdc.HP.COM> <2288@auspex.auspex.com> <1611@garcon.cso.uiuc.edu> Reply-To: guy@auspex.auspex.com (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 10 >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.