magic cookies given back by ftell, and used in fseek
Doug Gwyn
gwyn at brl-smoke.ARPA
Fri May 27 03:31:19 AEST 1988
In article <129 at lakart.UUCP> dg at lakart.UUCP (David Goodenough) writes:
-... have the ANSI comittee considered providing some means to convert
-from cookie format to and from character position in file.
This is required for binary streams, but not for text streams.
-Am I correct in perceiving that this arises in a similar
-manner to the fact that on some segmented architectures (e.g. 8088) there
-are many different ways of pointing to the same address, ...
Yes, you have the right idea.
More information about the Comp.lang.c
mailing list