Path: utzoo!utgpu!watserv1!watmath!att!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!snorkelwacker!ai-lab!churchy.ai.mit.edu!roland From: roland@ai.mit.edu (Roland McGrath) Newsgroups: comp.unix.programmer Subject: Re: File pointer to a memory location? Message-ID: Date: 11 Sep 90 05:28:56 GMT References: <119609@linus.mitre.org> <9455@jpl-devvax.JPL.NASA.GOV> Sender: news@ai.mit.edu Organization: Hackers Anonymous International, Ltd., Inc. (Applications welcome) Lines: 10 In-reply-to: lwall@jpl-devvax.JPL.NASA.GOV's message of 11 Sep 90 01:54:54 GMT The GNU C library (which I have not yet released) has `fmemopen': /* Create a new stream that refers to a memory buffer. */ extern FILE *fmemopen(char *s, size_t len, const char *modes); I believe Chris Torek's stdio for 4.4 BSD has something similar. -- Roland McGrath Free Software Foundation, Inc. roland@ai.mit.edu, uunet!ai.mit.edu!roland