Re: glib outstanding stuff
- From: Jonas Bulow <jonas bulow servicefactory se>
- To: Joel Becker <jlbec evilplan org>
- Cc: Trog <trog gtk org>, Havoc Pennington <hp redhat com>, gtk-devel-list gnome org
- Subject: Re: glib outstanding stuff
- Date: Fri, 06 Oct 2000 11:38:30 +0200
Joel Becker wrote:
>
> readline() fails utterly on a file that isn't line oriented.
> mmap() changes the file contents.
> Say I have a non-huge data file. I want to do operations on the
> data and get a munged result. I don't want to affect the actual file
> contents, so mmap() is out.
How about using MAP_PRIVATE and/or PROT_READ in the mmap call? Is that
not portable?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]