Re: glib outstanding stuff



On 05-Oct-2000 Joel Becker wrote:

> 
>> Wouldn't a readline() type interface (in GIOChannel) and an mmap()
>> based interface cover a much larger set of requirements?
> 
>       readline() fails utterly on a file that isn't line oriented.

(in the same way the proposed function fails for large files?)


> mmap() changes the file contents.

It *can*. But it can also be read only.

-tony


---
E-Mail: trog gtk org
Your boss is a few sandwiches short of a picnic.

Go Bezerk! http://www.gtk.org/~trog




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