From 440e1d05f19057f6c194acc58c993e1c009468d5 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 8 Oct 2011 11:37:27 +0000 Subject: [PATCH] Implement a basic -Tman `Rv', like `Ex'. --- mdoc_man.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mdoc_man.c b/mdoc_man.c index 00fa0f56..b64c7eae 100644 --- a/mdoc_man.c +++ b/mdoc_man.c @@ -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.6 2011/10/08 11:37:27 kristaps Exp $ */ /* * Copyright (c) 2011 Ingo Schwarze * @@ -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 */ -- 2.47.1