summaryrefslogtreecommitdiffstats
path: root/mandoc.3
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-11-26 21:40:17 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-11-26 21:40:17 +0000
commita7d7f08f9bf1378002063e44fe9ce8a27a886eed (patch)
tree0634189e33baee57f5507e69c97479bb570c25f6 /mandoc.3
parent3270470c52b9d9f79faaba63eabc57ed8bfbb776 (diff)
downloadmandoc-a7d7f08f9bf1378002063e44fe9ce8a27a886eed.tar.gz
Simplify the mparse_open()/mparse_wait() interface.
Don't bother the user with the PID of the child process, store it inside the opaque mparse handle.
Diffstat (limited to 'mandoc.3')
-rw-r--r--mandoc.310
1 files changed, 0 insertions, 10 deletions
diff --git a/mandoc.3 b/mandoc.3
index 3c1c18a3..b35f4251 100644
--- a/mandoc.3
+++ b/mandoc.3
@@ -81,7 +81,6 @@
.Fa "struct mparse *parse"
.Fa "int *fd"
.Fa "const char *fname"
-.Fa "pid_t *child_pid"
.Fc
.Ft "enum mandoclevel"
.Fo mparse_readfd
@@ -111,7 +110,6 @@
.Ft "enum mandoclevel"
.Fo mparse_wait
.Fa "struct mparse *parse"
-.Fa "pid_t child_pid"
.Fc
.In sys/types.h
.In mandoc.h
@@ -404,14 +402,6 @@ or -1 on failure.
It can be passed to
.Fn mparse_readfd
or used directly.
-If applicable, return the
-.Xr gunzip 1
-child process ID in
-.Fa child_pid ,
-or otherwise 0.
-If non-zero, it should be passed to
-.Fn mparse_wait
-after completing the parse sequence.
Declared in
.In mandoc.h ,
implemented in