Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen Standardize section headers, sort sections, sor...
details: https://anonhg.NetBSD.org/src/rev/33408b234040
branches: trunk
changeset: 515047:33408b234040
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Sep 16 02:57:03 2001 +0000
description:
Standardize section headers, sort sections, sort SEE ALSO, punctuation
and misc. fixes.
diffstat:
lib/libc/gen/alarm.3 | 6 ++--
lib/libc/gen/basename.3 | 3 +-
lib/libc/gen/clock.3 | 4 +-
lib/libc/gen/ctype.3 | 26 +++++++++---------
lib/libc/gen/daemon.3 | 12 +++++---
lib/libc/gen/directory.3 | 6 ++--
lib/libc/gen/dirname.3 | 3 +-
lib/libc/gen/fmtmsg.3 | 6 ++--
lib/libc/gen/fnmatch.3 | 4 +-
lib/libc/gen/fpgetmask.3 | 4 +-
lib/libc/gen/frexp.3 | 6 ++--
lib/libc/gen/fts.3 | 4 +-
lib/libc/gen/getcap.3 | 6 ++--
lib/libc/gen/getcwd.3 | 4 +-
lib/libc/gen/getdomainname.3 | 12 ++++----
lib/libc/gen/gethostname.3 | 14 +++++-----
lib/libc/gen/getloadavg.3 | 6 ++--
lib/libc/gen/getmntinfo.3 | 4 +-
lib/libc/gen/getpagesize.3 | 6 ++--
lib/libc/gen/getpass.3 | 3 +-
lib/libc/gen/getpwent.3 | 4 +-
lib/libc/gen/glob.3 | 14 +++++-----
lib/libc/gen/isalnum.3 | 4 +-
lib/libc/gen/isalpha.3 | 4 +-
lib/libc/gen/isascii.3 | 4 +-
lib/libc/gen/isblank.3 | 6 ++--
lib/libc/gen/iscntrl.3 | 4 +-
lib/libc/gen/isdigit.3 | 4 +-
lib/libc/gen/isgraph.3 | 6 ++--
lib/libc/gen/islower.3 | 4 +-
lib/libc/gen/isprint.3 | 4 +-
lib/libc/gen/ispunct.3 | 4 +-
lib/libc/gen/isspace.3 | 4 +-
lib/libc/gen/isxdigit.3 | 4 +-
lib/libc/gen/ldexp.3 | 6 ++--
lib/libc/gen/nice.3 | 14 +++++-----
lib/libc/gen/popen.3 | 22 ++++++++--------
lib/libc/gen/realpath.3 | 20 +++++++-------
lib/libc/gen/setproctitle.3 | 6 ++--
lib/libc/gen/signal.3 | 4 +-
lib/libc/gen/sleep.3 | 4 +-
lib/libc/gen/sysconf.3 | 11 +++----
lib/libc/gen/sysctl.3 | 58 +++++++++++++++++++++----------------------
lib/libc/gen/syslog.3 | 4 +-
lib/libc/gen/toascii.3 | 6 ++--
lib/libc/gen/tolower.3 | 6 ++--
lib/libc/gen/ttyname.3 | 14 +++++-----
lib/libc/gen/ualarm.3 | 6 ++--
lib/libc/gen/ulimit.3 | 4 +-
lib/libc/gen/unvis.3 | 4 +-
lib/libc/gen/usleep.3 | 4 +-
lib/libc/gen/vis.3 | 4 +-
52 files changed, 201 insertions(+), 205 deletions(-)
diffs (truncated from 1350 to 300 lines):
diff -r 17b722b9090e -r 33408b234040 lib/libc/gen/alarm.3
--- a/lib/libc/gen/alarm.3 Sun Sep 16 02:54:17 2001 +0000
+++ b/lib/libc/gen/alarm.3 Sun Sep 16 02:57:03 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: alarm.3,v 1.16 2001/09/16 02:30:23 wiz Exp $
+.\" $NetBSD: alarm.3,v 1.17 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -81,11 +81,11 @@
.Fn alarm
returns ((unsigned int) -1).
.Sh SEE ALSO
+.Xr setitimer 2 ,
.Xr sigaction 2 ,
-.Xr setitimer 2 ,
.Xr sigsuspend 2 ,
+.Xr signal 3 ,
.Xr sigvec 3 ,
-.Xr signal 3 ,
.Xr sleep 3 ,
.Xr ualarm 3 ,
.Xr usleep 3
diff -r 17b722b9090e -r 33408b234040 lib/libc/gen/basename.3
--- a/lib/libc/gen/basename.3 Sun Sep 16 02:54:17 2001 +0000
+++ b/lib/libc/gen/basename.3 Sun Sep 16 02:57:03 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: basename.3,v 1.5 2001/09/16 02:30:23 wiz Exp $
+.\" $NetBSD: basename.3,v 1.6 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -65,7 +65,6 @@
is a null pointer or points to an empty string,
.Fn basename
returns a pointer to the string ".".
-.Pp
.Sh RETURN VALUES
The
.Fn basename
diff -r 17b722b9090e -r 33408b234040 lib/libc/gen/clock.3
--- a/lib/libc/gen/clock.3 Sun Sep 16 02:54:17 2001 +0000
+++ b/lib/libc/gen/clock.3 Sun Sep 16 02:57:03 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: clock.3,v 1.6 1998/02/05 18:45:56 perry Exp $
+.\" $NetBSD: clock.3,v 1.7 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -55,7 +55,7 @@
function
determines the amount of processor time used since the invocation of the
calling process, measured in
-.Dv CLOCKS_PER_SEC Ns s.
+.Dv CLOCKS_PER_SEC Ns s .
.Sh RETURN VALUES
The
.Fn clock
diff -r 17b722b9090e -r 33408b234040 lib/libc/gen/ctype.3
--- a/lib/libc/gen/ctype.3 Sun Sep 16 02:54:17 2001 +0000
+++ b/lib/libc/gen/ctype.3 Sun Sep 16 02:57:03 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ctype.3,v 1.7 1998/02/05 18:46:02 perry Exp $
+.\" $NetBSD: ctype.3,v 1.8 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1991 Regents of the University of California.
.\" All rights reserved.
@@ -83,22 +83,22 @@
.Pp
See the specific manual pages for more information.
.Sh SEE ALSO
+.Xr isalnum 3 ,
.Xr isalpha 3 ,
-.Xr isupper 3 ,
-.Xr islower 3 ,
+.Xr isascii 3 ,
+.Xr isblank 3 ,
+.Xr iscntrl 3 ,
.Xr isdigit 3 ,
-.Xr isxdigit 3 ,
-.Xr isalnum 3 ,
-.Xr isspace 3 ,
+.Xr isgraph 3 ,
+.Xr islower 3 ,
+.Xr isprint 3 ,
.Xr ispunct 3 ,
-.Xr isprint 3 ,
-.Xr isgraph 3 ,
-.Xr iscntrl 3 ,
-.Xr isblank 3 ,
-.Xr isascii 3 ,
+.Xr isspace 3 ,
+.Xr isupper 3 ,
+.Xr isxdigit 3 ,
+.Xr toascii 3 ,
+.Xr tolower 3 ,
.Xr toupper 3 ,
-.Xr tolower 3 ,
-.Xr toascii 3 ,
.Xr ascii 7
.Sh STANDARDS
These functions, with the exception of
diff -r 17b722b9090e -r 33408b234040 lib/libc/gen/daemon.3
--- a/lib/libc/gen/daemon.3 Sun Sep 16 02:54:17 2001 +0000
+++ b/lib/libc/gen/daemon.3 Sun Sep 16 02:57:03 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: daemon.3,v 1.9 2001/09/16 02:30:23 wiz Exp $
+.\" $NetBSD: daemon.3,v 1.10 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -46,7 +46,6 @@
.Ft int
.Fn daemon "int nochdir" "int noclose"
.Sh DESCRIPTION
-.Pp
The
.Fn daemon
function is for programs wishing to detach themselves from the
@@ -56,15 +55,18 @@
.Fa nochdir
is non-zero,
.Fn daemon
-changes the current working directory to the root (``/'').
+changes the current working directory to the root
+.Po
+.Pa /
+.Pc .
.Pp
Unless the argument
.Fa noclose
is non-zero,
.Fn daemon
will redirect standard input, standard output and standard error
-to ``/dev/null''.
-.Pp
+to
+.Pa /dev/null .
.Sh RETURN VALUES
On return 0 indicates success with -1 indicating error.
.Sh ERRORS
diff -r 17b722b9090e -r 33408b234040 lib/libc/gen/directory.3
--- a/lib/libc/gen/directory.3 Sun Sep 16 02:54:17 2001 +0000
+++ b/lib/libc/gen/directory.3 Sun Sep 16 02:57:03 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: directory.3,v 1.11 2001/09/16 02:30:23 wiz Exp $
+.\" $NetBSD: directory.3,v 1.12 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -168,10 +168,10 @@
return NOT_FOUND;
.Ed
.Sh SEE ALSO
+.Xr close 2 ,
+.Xr lseek 2 ,
.Xr open 2 ,
-.Xr close 2 ,
.Xr read 2 ,
-.Xr lseek 2 ,
.Xr dir 5
.Sh STANDARDS
The
diff -r 17b722b9090e -r 33408b234040 lib/libc/gen/dirname.3
--- a/lib/libc/gen/dirname.3 Sun Sep 16 02:54:17 2001 +0000
+++ b/lib/libc/gen/dirname.3 Sun Sep 16 02:57:03 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: dirname.3,v 1.5 2001/09/16 02:30:23 wiz Exp $
+.\" $NetBSD: dirname.3,v 1.6 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -68,7 +68,6 @@
is a null pointer or points to an empty string,
.Fn dirname
returns a pointer to the string ".".
-.Pp
.Sh RETURN VALUES
The
.Fn dirname
diff -r 17b722b9090e -r 33408b234040 lib/libc/gen/fmtmsg.3
--- a/lib/libc/gen/fmtmsg.3 Sun Sep 16 02:54:17 2001 +0000
+++ b/lib/libc/gen/fmtmsg.3 Sun Sep 16 02:57:03 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: fmtmsg.3,v 1.1 1999/09/12 19:04:31 kleink Exp $
+.\" $NetBSD: fmtmsg.3,v 1.2 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -62,7 +62,7 @@
Further information such as the origin of the message, the recoverability
from the condition causing the message and where to display the message
is specified in
-.Fa classification.
+.Fa classification .
.Ss classification
The
.Fa classification
@@ -197,7 +197,7 @@
.Pp
Note that displaying a message on the system console may fail due to
inappropriate privileges or a non-permissive file mode of the console device.
-.Sh RETURN VALUE
+.Sh RETURN VALUES
The
.Fn fmtmsg
function returns one of the following values:
diff -r 17b722b9090e -r 33408b234040 lib/libc/gen/fnmatch.3
--- a/lib/libc/gen/fnmatch.3 Sun Sep 16 02:54:17 2001 +0000
+++ b/lib/libc/gen/fnmatch.3 Sun Sep 16 02:57:03 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: fnmatch.3,v 1.15 2001/09/16 02:30:23 wiz Exp $
+.\" $NetBSD: fnmatch.3,v 1.16 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -91,7 +91,7 @@
.It Dv FNM_PERIOD
Leading periods in strings match periods in patterns.
The definition of ``leading'' is related to the specification of
-.Dv FNM_PATHNAME.
+.Dv FNM_PATHNAME .
A period is always ``leading'' if it is the first character in
.Ar string .
Additionally, if
diff -r 17b722b9090e -r 33408b234040 lib/libc/gen/fpgetmask.3
--- a/lib/libc/gen/fpgetmask.3 Sun Sep 16 02:54:17 2001 +0000
+++ b/lib/libc/gen/fpgetmask.3 Sun Sep 16 02:57:03 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: fpgetmask.3,v 1.2 2001/09/16 02:30:23 wiz Exp $
+.\" $NetBSD: fpgetmask.3,v 1.3 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -100,7 +100,7 @@
.Fn fpsetround
function will cause future operations to use the specified dynamic mode.
.Bl -tag -width Note:x
-.It Em Note:
+.It Em Note :
On some architectures, instructions can optionally specify static
rounding modes and exception enables that will supersede the specified
dynamic mode. On other architectures, these features may not be fully
diff -r 17b722b9090e -r 33408b234040 lib/libc/gen/frexp.3
--- a/lib/libc/gen/frexp.3 Sun Sep 16 02:54:17 2001 +0000
+++ b/lib/libc/gen/frexp.3 Sun Sep 16 02:57:03 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: frexp.3,v 1.6 2001/09/16 02:30:23 wiz Exp $
+.\" $NetBSD: frexp.3,v 1.7 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -80,8 +80,8 @@
is zero, both parts of the result are zero.
.Sh SEE ALSO
.Xr ldexp 3 ,
-.Xr modf 3 ,
-.Xr math 3
+.Xr math 3 ,
+.Xr modf 3
.Sh STANDARDS
The
.Fn frexp
diff -r 17b722b9090e -r 33408b234040 lib/libc/gen/fts.3
--- a/lib/libc/gen/fts.3 Sun Sep 16 02:54:17 2001 +0000
+++ b/lib/libc/gen/fts.3 Sun Sep 16 02:57:03 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: fts.3,v 1.19 2001/09/16 02:30:23 wiz Exp $
+.\" $NetBSD: fts.3,v 1.20 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -341,7 +341,7 @@
The
.Fa fts_name
field is always
-.Dv NULL Ns -terminated.
+.Dv NULL Ns -terminated .
.Sh FTS_OPEN
The
.Fn fts_open
diff -r 17b722b9090e -r 33408b234040 lib/libc/gen/getcap.3
--- a/lib/libc/gen/getcap.3 Sun Sep 16 02:54:17 2001 +0000
+++ b/lib/libc/gen/getcap.3 Sun Sep 16 02:57:03 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: getcap.3,v 1.11 1999/03/08 10:35:43 kleink Exp $
+.\" $NetBSD: getcap.3,v 1.12 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -105,7 +105,7 @@
and
.Fn cgetustr ,
but may then be
-.Xr free 3 Ns \&'d.
+.Xr free 3 Ns \&'d .
.Pp
On success 0 is returned, 1 if the returned record contains an unresolved
.Qq tc
@@ -423,7 +423,7 @@
Home |
Main Index |
Thread Index |
Old Index