Re: [Vala] EOF problems

On Fri, Jul 15, 2011 at 10:57:21PM +0200, Stefan Risberg wrote:
I am trying to read a file char by char but I can't find where or
how I can check if end of line (EOF) was found. I'm writing a simple
parser for a project but I can't seem to find in the online api doc
of gio or glib how to check for it. I saw that I can do it using
posix, but I would rather use gio.

Doesn't it throw an IOError on end of file?

-- - The Universal Operating System

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]