Heavy Kaffe I/O at startup

Archie Cobbs archie at whistle.com
Sat Oct 17 15:47:13 PDT 1998


Glynn Clements writes:
> > Too bad more systems don't have fropen(3) like FreeBSD does...
> > that would be the perfect solution. Might even be worth an #ifdef.
> > 
> > I wonder what other systems support it? Anything BSD 4.4 based I guess..
> 
> What does fropen() do, exactly?
> 
> GNU libc has fopencookie(), which basically allows you to specify
> functions to use in place of read, write, lseek and close.

That's exactly what it does.. funopen(3) is the most general
version, fropen(3) is for read-only.

-Archie


___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


More information about the kaffe mailing list