a couple of random questions

Karl Heuer karl at haddock.ISC.COM
Tue Apr 19 07:05:49 AEST 1988


In article <541 at vsi.UUCP> friedl at vsi.UUCP (Stephen J. Friedl) writes:
>[in ANSI fseek()] the offset is defined to be in characters.

This is true for binary streams only.  The offset for a text stream must be
either zero or (with SEEK_SET) the cookie returned by ftell().

Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint



More information about the Comp.lang.c mailing list