From: Eliot Moss <moss@cs.umass.edu>
To: cygwin@cygwin.com
Subject: Re: Cygwin's writev() non-standard behavior
Date: Wed, 23 Apr 2014 14:53:00 -0000 [thread overview]
Message-ID: <5357D3D8.1010707@cs.umass.edu> (raw)
In-Reply-To: <5357D176.4010203@redhat.com>
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
next prev parent reply other threads:[~2014-04-23 14:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-23 14:06 qq qq
2014-04-23 14:43 ` Eric Blake
2014-04-23 14:53 ` Eliot Moss [this message]
2014-04-23 15:29 ` Corinna Vinschen
2014-04-23 14:53 qq qq
2014-04-23 16:24 ` Eric Blake
2014-04-23 15:48 qq qq
2014-04-23 16:44 ` Corinna Vinschen
2014-04-23 18:44 ` Christopher Faylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5357D3D8.1010707@cs.umass.edu \
--to=moss@cs.umass.edu \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).