=================================================================== RCS file: /cvs/mandoc/mdoc_man.c,v retrieving revision 1.5 retrieving revision 1.7 diff -u -p -r1.5 -r1.7 --- mandoc/mdoc_man.c 2011/10/08 09:58:29 1.5 +++ mandoc/mdoc_man.c 2011/10/08 12:47:40 1.7 @@ -1,4 +1,4 @@ -/* $Id: mdoc_man.c,v 1.5 2011/10/08 09:58:29 kristaps Exp $ */ +/* $Id: mdoc_man.c,v 1.7 2011/10/08 12:47:40 kristaps Exp $ */ /* * Copyright (c) 2011 Ingo Schwarze * @@ -14,6 +14,10 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include @@ -103,8 +107,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 */