diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-10-08 11:37:27 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-10-08 11:37:27 +0000 |
commit | 883b5b98624dbbe866921a6a986a1e617463fc8c (patch) | |
tree | e81e1e3da75022d87cf77c1f2924a88c031904d3 /mdoc_man.c | |
parent | 2b2db95658bfed58d248fb00c7ac9adce2088396 (diff) | |
download | mandoc-883b5b98624dbbe866921a6a986a1e617463fc8c.tar.gz |
Implement a basic -Tman `Rv', like `Ex'.
Diffstat (limited to 'mdoc_man.c')
-rw-r--r-- | mdoc_man.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -103,8 +103,11 @@ static const struct manact manacts[MDOC_MAX + 1] = { { cond_body, pre_enc, post_enc, "[", "]" }, /* Op */ { NULL, NULL, NULL, NULL, NULL }, /* _Ot */ { NULL, pre_enc, post_enc, "\\fI", "\\fP" }, /* _Pa */ - { NULL, NULL, NULL, NULL, NULL }, /* _Rv */ - /* FIXME: low-hanging `Rv' fruit. */ + { NULL, pre_enc, post_enc, "The \\fB", + "\\fP\nfunction returns the value 0 if successful;\n" + "otherwise the value -1 is returned and the global\n" + "variable \\fIerrno\\fP is set to indicate the error." + }, /* Rv */ { NULL, NULL, NULL, NULL, NULL }, /* _St */ { NULL, NULL, NULL, NULL, NULL }, /* _Va */ { NULL, NULL, NULL, NULL, NULL }, /* _Vt */ |