view modules/popen @ 17632:86af85d364e1 default tip

unistd: port readlink to Mac OS X 10.3.9 * lib/unistd.in.h (_GL_INCLUDING_UNISTD_H): New macro, to work around self-include problem in Mac OS X 10.3.9 when combined with readlink module. Problem reported by Klaus Zietler in <http://bugs.gnu.org/16825>.
author Paul Eggert <eggert@penguin.cs.ucla.edu>
date Tue, 25 Feb 2014 11:16:27 -0800
parents cf6263b60cda
children
line wrap: on
line source

Description:
popen() function: open a stream to a shell command.

Files:
lib/popen.c
m4/popen.m4

Depends-on:
stdio
open            [test $HAVE_POPEN = 0 || test $REPLACE_POPEN = 1]

configure.ac:
gl_FUNC_POPEN
if test $HAVE_POPEN = 0 || test $REPLACE_POPEN = 1; then
  AC_LIBOBJ([popen])
  gl_PREREQ_POPEN
fi
gl_STDIO_MODULE_INDICATOR([popen])

Makefile.am:

Include:
<stdio.h>

License:
LGPL

Maintainer:
Eric Blake