diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-31 13:50:19 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-31 13:50:19 +0000 |
commit | e487e44b52bbc7bfdb77346cc9a44d1a7c825d2c (patch) | |
tree | 643e3b4494b73a5ef92844c79270118743dd2b96 /mdoc.3 | |
parent | 1cc03ab30aeb29ce86c06ab8fca7da9056992cef (diff) | |
download | mandoc-e487e44b52bbc7bfdb77346cc9a44d1a7c825d2c.tar.gz |
General clean-ups.
Diffstat (limited to 'mdoc.3')
-rw-r--r-- | mdoc.3 | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -36,7 +36,7 @@ .Vt extern const char * const * mdoc_argnames; .Ft "struct mdoc *" .Fn mdoc_alloc "void *data" "int pflags" "const struct mdoc_cb *cb" -.Ft void +.Ft int .Fn mdoc_reset "struct mdoc *mdoc" .Ft void .Fn mdoc_free "struct mdoc *mdoc" @@ -133,7 +133,8 @@ Returns NULL on failure. If non-NULL, the pointer must be freed with .It Fn mdoc_reset Reset the parser for another parse routine. After its use, .Fn mdoc_parseln -behaves as if invoked for the first time. +behaves as if invoked for the first time. If it returns 0, memory could +not be allocated. .\" LIST-ITEM .It Fn mdoc_free Free all resources of a parser. The pointer is no longer valid after |