[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.12 no-fmemopen option (-m)

This is the “do not use in-mem streams” option. If the local C library supports "fopencookie(3GNU)", or "funopen(3BSD)" then AutoGen prefers to use in-memory stream buffer opens instead of anonymous files. This may lead to problems if there is a shortage of virtual memory. If, for a particular application, you run out of memory, then specify this option. This is unlikely in a modern 64-bit virtual memory environment.

On platforms without these functions, the option is accepted but ignored. fmemopen(POSIX) is not adequate because its string buffer is not reallocatable. open_memstream(POSIX) is also not adequate because the stream is only opened for output. AutoGen needs a reallocatable buffer available for both reading and writing.


This document was generated by Bruce Korb on February 17, 2011 using texi2html 1.82.

Viewable With Any Browser   autogen Home