diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-26 21:40:17 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-26 21:40:17 +0000 |
commit | a7d7f08f9bf1378002063e44fe9ce8a27a886eed (patch) | |
tree | 0634189e33baee57f5507e69c97479bb570c25f6 /mandoc.3 | |
parent | 3270470c52b9d9f79faaba63eabc57ed8bfbb776 (diff) | |
download | mandoc-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.3 | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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 |