summaryrefslogtreecommitdiff
path: root/doc/ref
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2016-07-14 16:33:32 +0200
committerAndy Wingo <wingo@pobox.com>2016-07-25 11:43:54 +0200
commit513344e33d17a72b693f1dac774567ba3231886e (patch)
tree8cab3d3fb8921eb7fd029de50a20ac3a906831a8 /doc/ref
parent3231d7658d4086b26df53f064d374945ced46274 (diff)
downloadguile-513344e33d17a72b693f1dac774567ba3231886e.tar.gz
Add popen feature
* doc/ref/api-options.texi (Common Feature Symbols): Document the popen feature. * doc/ref/posix.texi (Pipes): Depend on the popen feature, not fork. * libguile/posix.c (scm_init_posix): Add popen feature if we can.
Diffstat (limited to 'doc/ref')
-rw-r--r--doc/ref/api-options.texi7
-rw-r--r--doc/ref/posix.texi2
2 files changed, 6 insertions, 3 deletions
diff --git a/doc/ref/api-options.texi b/doc/ref/api-options.texi
index 152bf4693..0259b4b21 100644
--- a/doc/ref/api-options.texi
+++ b/doc/ref/api-options.texi
@@ -284,8 +284,11 @@ Indicates support for POSIX functions: @code{pipe}, @code{getgroups},
@item fork
Indicates support for the POSIX @code{fork} function (@pxref{Processes,
-@code{primitive-fork}}). This is a prerequisite for the @code{(ice-9
-popen)} module (@pxref{Pipes}).
+@code{primitive-fork}}).
+
+@item popen
+Indicates support for @code{open-pipe} in the @code{(ice-9 popen)}
+module (@pxref{Pipes}).
@item random
Indicates availability of random number generation functions:
diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi
index 118843d79..2799ddb86 100644
--- a/doc/ref/posix.texi
+++ b/doc/ref/posix.texi
@@ -2253,7 +2253,7 @@ controlling terminal. The return value is unspecified.
The following procedures are similar to the @code{popen} and
@code{pclose} system routines. The code is in a separate ``popen''
module@footnote{This module is only available on systems where the
-@code{fork} feature is provided (@pxref{Common Feature Symbols}).}:
+@code{popen} feature is provided (@pxref{Common Feature Symbols}).}:
@lisp
(use-modules (ice-9 popen))