[lkml]   [2002]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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?


Jim Hollenback
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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