Re: Redirect stdin ?



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
.



Relevant Pages

  • Re: math.nroot [was Re: A brief question.]
    ... >> happy to use gcc, they all could have used the older gcc spellings ... parings of C compilers and C runtime libraries are ... use glibc, they all could have used the older glibc spellings. ... trap doesn't actually fire until the _next_ fp operation ...
    (comp.lang.python)
  • Re: recommendation for toolchain
    ... What toolchain can you recommend to me? ... Building a cross-GCC for Linux shouldn't be any harder than building ... When producing GCC one needs premade binutils and a premade C ... So if you can find an existing premade glibc for the ...
    (comp.arch.embedded)
  • Re: Recommended compiler version and NPTL
    ... There is one more place except the r8169 driver where gcc 2.95.3 is bad. ... Check out a known good glibc from CVS: ... If you get a failure, make a note of it and reissue the "make ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: memory required to emerge glibc and gcc?
    ... > How much memory is required to compile glibc and gcc? ... > I was comparing 2 machines to look at runtimes to emerge glibc and gcc on ... > even be slower to emerge gcc. ...
    (comp.os.linux.hardware)
  • [RH73] Trying to recompile GCC 3.2.1: undefined reference to `__ctype_b_loc ?
    ... I recently tried to upgrade my glibc from 2.2.5 to 2.3.2 on my ... (I had both GCC 3.2.1 and 2.96 working just fine on this system prior to ... installed in /usr/local too so I'm wondering if glibc 2.3.2 install ...
    (comp.unix.admin)