Cygwin's writev() non-standard behavior

Eliot Moss moss@cs.umass.edu
Wed Apr 23 14:53:00 GMT 2014


Using the link Eric Blake provided, I extract this from the POSIX
specification for writev:

"The iovcnt argument is valid if greater than 0 ..."

So, while the man page is a little off, the response seems
to be correct.  You cold argue, and I might agree, that
POSIX should have allowed a 0 and said writev should just
return 0 in that case, but they didn't ...

Regards -- Eliot Moss

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list