From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulrich Drepper To: libc-hacker@sourceware.cygnus.com (GNU C Library) Subject: Re: [Gurusamy Sarathy ] ferror() after fread() on a FILE* opened for write Date: Wed, 21 Jul 1999 15:25:00 -0000 Message-id: References: <19990721150806.B4B9D57BA@ocean.lucon.org> X-SW-Source: 1999-07/msg00078.html Andreas Jaeger writes: > Are you sure? Check the current Posix draft of the Austin Group for > fread/fgetc and fwrite/fputc. They explicitly mention EBADF for: OK, it's nowadays referring to getc. (We are working through the XSH stuff only tomorrow so I haven't read it). In this light the changes should be added. -- ---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Cygnus Solutions `--' drepper at cygnus.com `------------------------