source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Implement a basic -Tman `Rv', like `Ex'.
@ 2011-10-08 11:37 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-10-08 11:37 UTC (permalink / raw)
  To: source

Log Message:
-----------
Implement a basic -Tman `Rv', like `Ex'.

Modified Files:
--------------
    mdocml:
        mdoc_man.c

Revision Data
-------------
Index: mdoc_man.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_man.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -Lmdoc_man.c -Lmdoc_man.c -u -p -r1.5 -r1.6
--- mdoc_man.c
+++ mdoc_man.c
@@ -103,8 +103,11 @@ static	const struct manact manacts[MDOC_
 	{ 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 */
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-08 11:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-08 11:37 mdocml: Implement a basic -Tman `Rv', like `Ex' kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).