Source-Changes-HG archive

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

[src/trunk]: src/lib/libutil Minor cleanup.



details:   https://anonhg.NetBSD.org/src/rev/3e9fc91188c3
branches:  trunk
changeset: 768893:3e9fc91188c3
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Aug 28 17:21:28 2011 +0000

description:
Minor cleanup.

diffstat:

 lib/libutil/strpct.3 |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r 1069a054e582 -r 3e9fc91188c3 lib/libutil/strpct.3
--- a/lib/libutil/strpct.3      Sun Aug 28 17:18:31 2011 +0000
+++ b/lib/libutil/strpct.3      Sun Aug 28 17:21:28 2011 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: strpct.3,v 1.1 2011/08/28 07:45:14 christos Exp $
+.\" $NetBSD: strpct.3,v 1.2 2011/08/28 17:21:28 wiz Exp $
 .\"
 .\" Copyright (c) 2011 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -49,10 +49,10 @@
 .Fa precision .
 .Sh RETURN VALUES
 .Fn strpct
-always returns a pointer to a NUL terminated formatted string which
+always returns a pointer to a NUL-terminated formatted string which
 is placed in
 .Fa buf
-and it is up to
+and is up to
 .Fa buflen
 characters.
 If there was an overflow, the formatted string will reflect that precision
@@ -68,10 +68,10 @@
 .Fn strpct
 was originally implemented in
 .Xr csh 1 .
-It printed into a static buffer, was not locale aware, handled 
+It printed into a static buffer, was not locale aware, handled
 .Ft unsigned long
 numbers, and printed a
-.Dq % 
+.Dq %
 at the end of the number.
 Other programs such as
 .Xr df 1
@@ -80,4 +80,4 @@
 started using it.
 .Fn strpct
 appeared in
-.Nx 6 .
+.Nx 6.0 .



Home | Main Index | Thread Index | Old Index