fopen + mmap
Ulrich Drepper
drepper@redhat.com
Sat Jan 19 09:01:00 GMT 2002
Jakub Jelinek <jakub@redhat.com> writes:
> fflush will move the kernel file position to the current read position.
Actually, you'll need fseek() (better fseeko()) to be sure. It is not
guaranteed that the descriptor is at the beginning of the file.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-hacker
mailing list