-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Ben Pfaff on 4/2/2007 12:56 PM: > Is there a version of POSIX newer than "The Open Group Base > Specifications Issue 6: IEEE Std 1003.1, 2004 Edition"? This > version doesn't say anything about the behavior of fflush for > input streams, or at least it doesn't on the page dedicated to > fflush.
It is in draft form, and you have to be a member of the Austin group to have read access to it. Membership is free: http://www.opengroup.org/austin/lists.html Draft 2 is closed, and draft 3 is not yet ready for comments; it is anticipated to have at least draft 4 before the next version of POSIX becomes binding. > > I'm surprised that glibc implements this behavior for fflush on > input streams: the glibc manual I have here doesn't mention it. That's because the man page copies the (weaker) wording from the existing POSIX spec, which is rather vague in that area. > But I can see in the libio sources that glibc does do it. Also, the newlib library (the basis of cygwin) was patched in the last year to do so. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGEVSE84KuGfSFAYARAhy3AJ9BSNNjdYcov2ym9PNSbZfuk9GuyACgyI+w CH9Jj9xatKnDlnzcdtt3RKg= =0X2H -----END PGP SIGNATURE-----