lkml.org 
[lkml]   [2002]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectreadv() return and errno
 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 errno EINVAL.

Am I missing something?

Thanks!

Jim Hollenback
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:21    [W:0.060 / U:1.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site