view modules/popen @ 11848:9e3299dad578

popen: fix cygwin 1.5 bug when stdin closed * doc/posix-functions/popen.texi (popen): Document cygwin bugs. * modules/popen: New file. * modules/popen-tests: Likewise. * tests/test-popen.c: Likewise. * m4/popen.m4: Likewise. * lib/popen.c: Likewise. * lib/stdio.in.h (popen): New declaration. * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Add popen. * modules/stdio (Makefile.am): Likewise. * MODULES.html.sh (systems lacking POSIX:2008): Mention it. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Wed, 19 Aug 2009 07:15:54 -0600
parents
children efab6978105e
line wrap: on
line source

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

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

Depends-on:
open
stdio

configure.ac:
gl_FUNC_POPEN
gl_STDIO_MODULE_INDICATOR([popen])

Makefile.am:

Include:
<stdio.h>

License:
LGPL

Maintainer:
Eric Blake