[Linux-ia64] readv() return and errno

From: Jim Hollenback <jholly_at_cup.hp.com>
Date: 2002-03-15 08:17:26
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?


Jim Hollenback
Received on Thu Mar 14 13:23:42 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:07 EST