Subject: read() EINVAL
To: None <netbsd-help@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-help
Date: 05/18/2003 23:11:18
Any idea how I can get EINVAL from a read() call? The man page suggests
[EINVAL] The pointer associated with d was negative.
[EINVAL] The total length of the I/O is more than can be expressed
by the ssize_t return value.
but this is coming from a read of a dvd, with fd=3, requesting 9*2048 bytes.
Or maybe I don't understand "pointer associated with". d=3, so >0. What is
the pointer associated with fd=3?
Cheers,
Patrick