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 | 0334f84d7012e2930aa3d735e3c95f156bb3a679 (patch) | |
tree | 3e73211ed643468e16f996cb81015f698177c744 /mandoc.3 | |
parent | 6b21541c4f687461a2efa734f27f3451da3030f8 (diff) | |
download | mandoc-0334f84d7012e2930aa3d735e3c95f156bb3a679.tar.gz mandoc-0334f84d7012e2930aa3d735e3c95f156bb3a679.tar.zst mandoc-0334f84d7012e2930aa3d735e3c95f156bb3a679.zip |
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 | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -1,4 +1,4 @@ -.\" $Id: mandoc.3,v 1.27 2014/10/28 17:36:19 schwarze Exp $ +.\" $Id: mandoc.3,v 1.28 2014/11/26 21:40:17 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: October 28 2014 $ +.Dd $Mdocdate: November 26 2014 $ .Dt MANDOC 3 .Os .Sh NAME @@ -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 |