diff options
author | Bruno Haible <bruno@clisp.org> | 2011-09-18 00:58:06 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-09-18 00:58:06 +0200 |
commit | b314f91e45ebfdb317750b4de69c8c4910e92f2d (patch) | |
tree | b3c109ed393da8c0e38718eb8c6caf18c21186ef /modules/pclose | |
parent | 25399c1aba359704fab2f4f5164011df43e1795e (diff) | |
download | gnulib-b314f91e45ebfdb317750b4de69c8c4910e92f2d.tar.gz |
New module 'pclose'.
* lib/stdio.in.h (pclose): New declaration.
* lib/pclose.c: New file.
* m4/pclose.m4: New file.
* m4/stdio_h.m4 (gl_STDIO_H): Test whether pclose is declared.
(gl_STDIO_H_DEFAULTS): Initialize GNULIB_PCLOSE, HAVE_PCLOSE.
* modules/stdio (Makefile.am): Substitute GNULIB_PCLOSE, HAVE_PCLOSE.
* modules/pclose: New file.
* modules/popen-tests (Depends-on): Add pclose.
* modules/popen-safer-tests (Depends-on): Likewise.
* doc/posix-functions/pclose.texi: Mention the new module.
Diffstat (limited to 'modules/pclose')
-rw-r--r-- | modules/pclose | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/modules/pclose b/modules/pclose new file mode 100644 index 0000000000..833186fbb1 --- /dev/null +++ b/modules/pclose @@ -0,0 +1,28 @@ +Description: +pclose() function: close a stream to a shell command. + +Files: +lib/pclose.c +m4/pclose.m4 + +Depends-on: +stdio + +configure.ac: +gl_FUNC_PCLOSE +if test $HAVE_PCLOSE = 0; then + AC_LIBOBJ([pclose]) + gl_PREREQ_PCLOSE +fi +gl_STDIO_MODULE_INDICATOR([pclose]) + +Makefile.am: + +Include: +<stdio.h> + +License: +LGPL + +Maintainer: +Bruno Haible |