Simon Marlow wrote: > hGetLine is strict, in that it keeps reading until a newline or EOF is > found. Repeated hGetLine can be used to read the entire file. > > Alternatively you could use IOExts.hGetBuf and friends to slurp the data > into a buffer and then convert the buffer into a string with one of the > CString.unpackNBytes family. > > Cheers, > Simon Thanks, hGetLine works, I will use that for now. Jan
- Re: openFile, process file table full Marcin 'Qrczak' Kowalczyk
- RE: openFile, process file table full Simon Marlow
- RE: openFile, process file table full Simon Marlow
- Re: openFile, process file table full George Russell
- Re: openFile, process file table full Marcin 'Qrczak' Kowalczyk
- Re: openFile, process file table full Jan Kort
- Re: openFile, process file table full Marcin 'Qrczak' Kowalczyk
- Re: openFile, process file table full Ch. A. Herrmann
- Re: openFile, process file table full Marcin 'Qrczak' Kowalczyk
- RE: openFile, process file table full Simon Marlow
- RE: openFile, process file table full Jan Kort
- RE: openFile, process file table full Josef Svenningsson
