This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin's writev() non-standard behavior
- From: Eliot Moss <moss at cs dot umass dot edu>
- To: cygwin at cygwin dot com
- Date: Wed, 23 Apr 2014 10:53:12 -0400
- Subject: Re: Cygwin's writev() non-standard behavior
- Authentication-results: sourceware.org; auth=none
- References: <20140423140635 dot 156430 at gmx dot com> <5357D176 dot 4010203 at redhat dot com>
- Reply-to: moss at cs dot umass dot edu
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