Date: Sat, 02 Jul 2011 15:57:19 +0200 From: Martin =?ISO-8859-1?B?TfZsbGVy?= <moeller.akt@googlemail.com> To: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Question about lseek/fseek Message-ID: <CA34F05F.682%moeller.akt@googlemail.com>
next in thread | raw e-mail | index | archive | help
Hi Hackers, why does these function allow seeking beyond the EOF of a file in O_RDONLY/=B2rb=B2 mode ? How does these function then signal the EOF correctly ? Seeking beyond the EOF makes sense for me in write-mode but not in read-onl= y mode ! With Regards, Martin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA34F05F.682%moeller.akt>