tags 317037 fixed-upstream tags 317037 pending thanks > I quote from the RETURN VALUE section of sscanf(3): > > The value EOF is returned if an input failure occurs before any > conversion such as an end-of-file occurs. > > This seems to imply that "end-of-file" is a "conversion", which I > think must be unintentional. I suggest the following replacement > text (which is probably what is intended): > > The value EOF is returned if an input failure (such as end-of-file) > occurs before any conversion is assigned.
Justin, Thanks. I agree. The text is confusing. I opted for a more extensive description: The value EOF is returned if the end of input is reached before the first successful conver- sion or matching failure. EOF is also returned if a read error occurs, in which case the error indicator for the stream (see fer- ror(3)) is set, and errno is set indicate the error. Change will be in man-pages-2.06. Cheers, Michael -- Michael Kerrisk maintainer of Linux man pages Sections 2, 3, 4, 5, and 7 Want to help with man page maintenance? Grab the latest tarball at ftp://ftp.win.tue.nl/pub/linux-local/manpages/ and grep the source files for 'FIXME'. Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie! Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]