Re: Redirect stdin ?
- From: Lothar Behrens <lothar.behrens@xxxxxxxxxxxx>
- Date: Mon, 31 Dec 2007 10:12:32 -0800 (PST)
On Dec 31, 6:31 pm, Harald van Dijk <true...@xxxxxxxxx> wrote:
On Mon, 31 Dec 2007 09:24:22 -0800, William Pursell wrote:
If you are okay with using gcc extensions, here's a section from the
glibc info pages you might find interesting:
<OT> gcc is not glibc, and glibc is not gcc. If it's documented in the
glibc info pages, you can assume it's a glibc extension rather than a gcc
one. Except for those that have been part of POSIX or similar standards
for a while, glibc extensions are less portable / more unportable than
gcc extensions. </OT>
Yes,
I didn't find the fmemopen in my "Linux Unix Systemprogramming" book.
And I'll also implement the code for Windows using Open Watcom.
The Open Watcom documentation also does not contain this function.
On Mac OS X I currently did not know, if it is available too.
A short question: Is fmemopen based on memory mapped files ?
Lothar
.
- References:
- Redirect stdin ?
- From: Lothar Behrens
- Re: Redirect stdin ?
- From: William Pursell
- Re: Redirect stdin ?
- From: Harald van Dijk
- Redirect stdin ?
- Prev by Date: Re: Redirect stdin ?
- Next by Date: Re: confused..again
- Previous by thread: Re: Redirect stdin ?
- Next by thread: Re: Redirect stdin ?
- Index(es):
Relevant Pages
|