version 1.33, 2015/10/13 22:59:54 |
version 1.35, 2016/01/08 02:53:13 |
|
|
.Fo mparse_keep |
.Fo mparse_keep |
.Fa "struct mparse *parse" |
.Fa "struct mparse *parse" |
.Fc |
.Fc |
.Ft "enum mandoclevel" |
.Ft int |
.Fo mparse_open |
.Fo mparse_open |
.Fa "struct mparse *parse" |
.Fa "struct mparse *parse" |
.Fa "int *fd" |
|
.Fa "const char *fname" |
.Fa "const char *fname" |
.Fc |
.Fc |
.Ft "enum mandoclevel" |
.Ft "enum mandoclevel" |
|
|
parse it with |
parse it with |
.Fn mparse_readfd ; |
.Fn mparse_readfd ; |
.It |
.It |
|
close it with |
|
.Xr close 2 ; |
|
.It |
retrieve the syntax tree with |
retrieve the syntax tree with |
.Fn mparse_result ; |
.Fn mparse_result ; |
.It |
.It |
Line 385 does not already end in |
|
Line 387 does not already end in |
|
try again after appending |
try again after appending |
.Ql .gz . |
.Ql .gz . |
Save the information whether the file is zipped or not. |
Save the information whether the file is zipped or not. |
Return a file descriptor open for reading in |
Return a file descriptor open for reading or -1 on failure. |
.Fa fd , |
|
or -1 on failure. |
|
It can be passed to |
It can be passed to |
.Fn mparse_readfd |
.Fn mparse_readfd |
or used directly. |
or used directly. |
|
|
Pass the associated filename in |
Pass the associated filename in |
.Va fname . |
.Va fname . |
This function may be called multiple times with different parameters; however, |
This function may be called multiple times with different parameters; however, |
|
.Xr close 2 |
|
and |
.Fn mparse_reset |
.Fn mparse_reset |
should be invoked between parses. |
should be invoked between parses. |
Declared in |
Declared in |