public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] readv() return and errno
@ 2002-03-14 21:17 Jim Hollenback
  2002-03-15 19:51 ` David Mosberger
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Hollenback @ 2002-03-14 21:17 UTC (permalink / raw)
  To: linux-ia64

In doing some testing on the project I'm working on I came across
something that is causing a bit of confusion on my part.

According to readv(2) EINVAL is returned for an invalid argument.
The examples given were count might be greater than MAX_IOVEC or
zero. The test case I am working with has count = 0 and I get return
of 0 and errno 0 instead of the expected -1 and erron EINVAL.

Am I missing something?

Thanks!

Jim Hollenback


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-15 19:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-14 21:17 [Linux-ia64] readv() return and errno Jim Hollenback
2002-03-15 19:51 ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox