Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gen Minor markup fixes.



details:   https://anonhg.NetBSD.org/src/rev/4a4385daa2b1
branches:  trunk
changeset: 783329:4a4385daa2b1
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sat Dec 15 01:50:06 2012 +0000

description:
Minor markup fixes.

diffstat:

 lib/libc/gen/unvis.3 |  18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diffs (51 lines):

diff -r 1e98af0b5a8c -r 4a4385daa2b1 lib/libc/gen/unvis.3
--- a/lib/libc/gen/unvis.3      Sat Dec 15 01:24:40 2012 +0000
+++ b/lib/libc/gen/unvis.3      Sat Dec 15 01:50:06 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: unvis.3,v 1.23 2011/03/17 14:06:29 wiz Exp $
+.\"    $NetBSD: unvis.3,v 1.24 2012/12/15 01:50:06 uwe Exp $
 .\"
 .\" Copyright (c) 1989, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -125,15 +125,17 @@
 function has several return codes that must be handled properly.
 They are:
 .Bl -tag -width UNVIS_VALIDPUSH
-.It Li \&0 (zero)
+.It Li \&0 No (zero)
 Another character is necessary; nothing has been recognized yet.
 .It Dv UNVIS_VALID
 A valid character has been recognized and is available at the location
-pointed to by cp.
+pointed to by
+.Fa cp .
 .It Dv UNVIS_VALIDPUSH
 A valid character has been recognized and is available at the location
-pointed to by cp; however, the character currently passed in should
-be passed in again.
+pointed to by
+.Fa cp ;
+however, the character currently passed in should be passed in again.
 .It Dv UNVIS_NOCHAR
 A valid sequence was detected, but no character was produced.
 This return code is necessary to indicate a logical break between characters.
@@ -149,7 +151,7 @@
 to extract any remaining character (the character passed in is ignored).
 .Pp
 The
-.Ar flag
+.Fa flag
 argument is also used to specify the encoding style of the source.
 If set to
 .Dv VIS_HTTPSTYLE
@@ -168,7 +170,9 @@
 If set to
 .Dv VIS_NOESCAPE ,
 .Fn unvis
-will not decode \e quoted characters.
+will not decode
+.Ql \e
+quoted characters.
 .Pp
 The following code fragment illustrates a proper use of
 .Fn unvis .



Home | Main Index | Thread Index | Old Index