From: Mathias P. <gro...@gm...> - 2011-05-26 17:11:01
|
Can I assume that the offset passed to the read function is never < 0? After all off_t is signed. -panzi |
From: Sven U. <sve...@gm...> - 2011-05-26 19:48:47
|
Hello Mathias, > Can I assume that the offset passed to the read function is never < > 0? After all off_t is signed. Well, read(3posix) tells me that read will return: EINVAL The offset argument is invalid. The value is negative. in that case. Sven -- _ ___ ___ ___ The dCache File System __| |/ __|| __|/ __| An archive file-system for PB of data / _` | (__ | _| \__ \ http://www.desy.de/~utcke/Data/ \__,_|\___||_| |___/ http://www.dr-utcke.de/ |