[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pread()
From: |
Samuel Thibault |
Subject: |
Re: pread() |
Date: |
Sat, 9 Oct 2010 20:56:50 +0200 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
Manuel Menal, le Sat 09 Oct 2010 20:40:26 +0200, a écrit :
> There should be a way to check if the object is seekable or not before
> calling io_read(), so pread() can return an error. But there is no
> io_seekable() RPC, and calling io_seek() seems wrong to me, since
> pread() is supposed not to change the file offset.
Can't io_seek be called with SEEK_CUR, 0, thus not changing the file
offset?
Samuel
- pread(), Manuel Menal, 2010/10/09
- Re: pread(),
Samuel Thibault <=
- Re: pread(), Roland McGrath, 2010/10/09