mmap stdio breaks GNU ld
Ulrich Drepper
drepper@redhat.com
Fri Jan 18 15:06:00 GMT 2002
Bruno Haible <haible@ilog.fr> writes:
> I.e. 'fileno' has become useless because the file pointer
> is positioned at the end of the file right after opening it.
It is wrong to assume anything about the position of the file
descriptor after fopen(). The standard dosn't guarantee anything.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-alpha
mailing list