Standardize section headers, sort sections, sort SEE ALSO, punctuation

and misc. fixes.
This commit is contained in:
wiz 2001-09-16 02:57:03 +00:00
parent 97ff145f62
commit 09a03cd887
52 changed files with 203 additions and 207 deletions

View File

@ -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 @@ If there is an error setting the timer,
.Fn alarm
returns ((unsigned int) -1).
.Sh SEE ALSO
.Xr sigaction 2 ,
.Xr setitimer 2 ,
.Xr sigaction 2 ,
.Xr sigsuspend 2 ,
.Xr sigvec 3 ,
.Xr signal 3 ,
.Xr sigvec 3 ,
.Xr sleep 3 ,
.Xr ualarm 3 ,
.Xr usleep 3

View File

@ -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 @@ If
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

View File

@ -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 @@ The
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

View File

@ -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 @@ The above macros perform character tests and conversions on the integer
.Pp
See the specific manual pages for more information.
.Sh SEE ALSO
.Xr isalpha 3 ,
.Xr isupper 3 ,
.Xr islower 3 ,
.Xr isdigit 3 ,
.Xr isxdigit 3 ,
.Xr isalnum 3 ,
.Xr isspace 3 ,
.Xr ispunct 3 ,
.Xr isprint 3 ,
.Xr isgraph 3 ,
.Xr iscntrl 3 ,
.Xr isblank 3 ,
.Xr isalpha 3 ,
.Xr isascii 3 ,
.Xr toupper 3 ,
.Xr tolower 3 ,
.Xr isblank 3 ,
.Xr iscntrl 3 ,
.Xr isdigit 3 ,
.Xr isgraph 3 ,
.Xr islower 3 ,
.Xr isprint 3 ,
.Xr ispunct 3 ,
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
.Xr ascii 7
.Sh STANDARDS
These functions, with the exception of

View File

@ -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 @@ Unless the argument
.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

View File

@ -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 @@ while ((dp = readdir(dirp)) != NULL)
return NOT_FOUND;
.Ed
.Sh SEE ALSO
.Xr open 2 ,
.Xr close 2 ,
.Xr read 2 ,
.Xr lseek 2 ,
.Xr open 2 ,
.Xr read 2 ,
.Xr dir 5
.Sh STANDARDS
The

View File

@ -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 @@ If
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

View File

@ -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 @@ and
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 @@ its content is ignored an all message components will be selected.
.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:

View File

@ -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 @@ If this flag is not set, then slashes are treated as regular characters.
.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

View File

@ -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 @@ The
.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

View File

@ -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 @@ If
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

View File

@ -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 @@ are attempted.
The
.Fa fts_name
field is always
.Dv NULL Ns -terminated.
.Dv NULL Ns -terminated .
.Sh FTS_OPEN
The
.Fn fts_open

View File

@ -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 @@ must be retained through all subsequent calls to
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 @@ overrides the definition of
interpolated from the capability record
.Em old
in
.Fa file2,
.Fa file2 ,
.Qq who-cares@
prevents the definition of any who-cares definitions in
.Em old

View File

@ -1,4 +1,4 @@
.\" $NetBSD: getcwd.3,v 1.12 2001/09/16 02:30:23 wiz Exp $
.\" $NetBSD: getcwd.3,v 1.13 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -67,7 +67,7 @@ is
.Dv NULL ,
space is allocated as necessary to store the pathname.
This space may later be
.Xr free 3 Ns 'd.
.Xr free 3 Ns 'd .
.Pp
The function
.Fn getwd

View File

@ -1,4 +1,4 @@
.\" $NetBSD: getdomainname.3,v 1.9 2001/09/16 02:30:24 wiz Exp $
.\" $NetBSD: getdomainname.3,v 1.10 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -89,14 +89,14 @@ The caller tried to set the domain name and was not the super-user.
.Xr gethostid 3 ,
.Xr gethostname 3 ,
.Xr sysctl 3
.Sh HISTORY
The
.Nm
function call appeared in
.Bx 4.2 .
.Sh BUGS
Domain names are limited to
.Dv MAXHOSTNAMELEN
(from
.Ao Pa sys/param.h Ac )
characters including null-termination, currently 256.
.Sh HISTORY
The
.Nm
function call appeared in
.Bx 4.2 .

View File

@ -1,4 +1,4 @@
.\" $NetBSD: gethostname.3,v 1.9 2001/09/16 02:30:24 wiz Exp $
.\" $NetBSD: gethostname.3,v 1.10 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -86,22 +86,22 @@ invalid address.
The caller tried to set the hostname and was not the super-user.
.El
.Sh SEE ALSO
.Xr sysctl 3 ,
.Xr gethostid 3 ,
.Xr sysctl 3 ,
.Xr sysctl 8
.Sh STANDARDS
The
.Fn gethostname
function conforms to
.St -xpg4.2 .
.Sh HISTORY
The
.Nm
function call appeared in
.Bx 4.2 .
.Sh BUGS
Host names are limited to
.Dv MAXHOSTNAMELEN
(from
.Ao Pa sys/param.h Ac )
characters including null-termination, currently 256.
.Sh HISTORY
The
.Nm
function call appeared in
.Bx 4.2 .

View File

@ -1,4 +1,4 @@
.\" $NetBSD: getloadavg.3,v 1.9 1999/06/15 12:14:08 simonb Exp $
.\" $NetBSD: getloadavg.3,v 1.10 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -60,8 +60,8 @@ If the load average was unobtainable, \-1 is returned; otherwise,
the number of samples actually retrieved is returned.
.Sh SEE ALSO
.Xr uptime 1 ,
.Xr sysctl 3 ,
.Xr kvm_getloadavg 3
.Xr kvm_getloadavg 3 ,
.Xr sysctl 3
.Sh HISTORY
The
.Fn getloadavg

View File

@ -1,4 +1,4 @@
.\" $NetBSD: getmntinfo.3,v 1.9 1998/04/29 19:13:09 fair Exp $
.\" $NetBSD: getmntinfo.3,v 1.10 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -89,8 +89,8 @@ or
.Xr malloc 3 .
.Sh SEE ALSO
.Xr getfsstat 2 ,
.Xr statfs 2 ,
.Xr mount 2 ,
.Xr statfs 2 ,
.Xr mount 8
.Sh HISTORY
The

View File

@ -1,4 +1,4 @@
.\" $NetBSD: getpagesize.3,v 1.8 2001/09/16 02:30:24 wiz Exp $
.\" $NetBSD: getpagesize.3,v 1.9 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -60,9 +60,9 @@ The page size is a
page size and may not be the same as the underlying
hardware page size.
.Sh SEE ALSO
.Xr sysconf 3 ,
.Xr pagesize 1 ,
.Xr sbrk 2 ,
.Xr pagesize 1
.Xr sysconf 3
.Sh HISTORY
The
.Nm

View File

@ -1,4 +1,4 @@
.\" $NetBSD: getpass.3,v 1.7 2000/11/07 06:43:24 lukem Exp $
.\" $NetBSD: getpass.3,v 1.8 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -63,7 +63,6 @@ characters and the terminating newline character are discarded.
.Pp
.Nm
turns off character echoing while reading the password.
.Pp
.Sh RETURN VALUES
.Nm
returns a pointer to the null terminated password.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: getpwent.3,v 1.17 2001/09/16 02:30:24 wiz Exp $
.\" $NetBSD: getpwent.3,v 1.18 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -185,7 +185,7 @@ The
.Nm getpwent ,
.Nm getpwnam ,
.Nm getpwuid ,
.Nm setpwent,
.Nm setpwent ,
and
.Nm endpwent
functions appeared in

View File

@ -1,4 +1,4 @@
.\" $NetBSD: glob.3,v 1.18 2001/09/16 02:30:24 wiz Exp $
.\" $NetBSD: glob.3,v 1.19 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@ -420,7 +420,7 @@ are still set as specified above.
If defined, used as the home directory of the current user in
tilde expansions.
.El
.Sh EXAMPLE
.Sh EXAMPLES
A rough equivalent of
.Ql "ls -l *.c *.h"
can be obtained with the
@ -446,11 +446,11 @@ function is expected to be
.St -p1003.2
compatible with the exception
that the flags
.Dv GLOB_ALTDIRFUNC,
.Dv GLOB_BRACE
.Dv GLOB_MAGCHAR,
.Dv GLOB_NOMAGIC,
.Dv GLOB_TILDE,
.Dv GLOB_ALTDIRFUNC ,
.Dv GLOB_BRACE ,
.Dv GLOB_MAGCHAR ,
.Dv GLOB_NOMAGIC ,
.Dv GLOB_TILDE ,
and
.Dv GLOB_LIMIT
and the fields

View File

@ -1,4 +1,4 @@
.\" $NetBSD: isalnum.3,v 1.6 2001/09/16 02:30:24 wiz Exp $
.\" $NetBSD: isalnum.3,v 1.7 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@ -76,10 +76,10 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The

View File

@ -1,4 +1,4 @@
.\" $NetBSD: isalpha.3,v 1.6 2001/09/16 02:30:24 wiz Exp $
.\" $NetBSD: isalpha.3,v 1.7 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@ -92,10 +92,10 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The

View File

@ -1,4 +1,4 @@
.\" $NetBSD: isascii.3,v 1.7 1998/02/05 18:47:05 perry Exp $
.\" $NetBSD: isascii.3,v 1.8 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1989, 1991 The Regents of the University of California.
.\" All rights reserved.
@ -65,10 +65,10 @@ equal to 0177.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The

View File

@ -1,4 +1,4 @@
.\" $NetBSD: isblank.3,v 1.5 2001/09/16 02:30:24 wiz Exp $
.\" $NetBSD: isblank.3,v 1.6 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@ -73,9 +73,9 @@ The
macro returns zero if the character tests false and
returns non-zero if the character tests true.
.Sh SEE ALSO
.Xr isascii 3 ,
.Xr isalnum 3 ,
.Xr isalpha 3 ,
.Xr isascii 3 ,
.Xr iscntrl 3 ,
.Xr isdigit 3 ,
.Xr isgraph 3 ,
@ -85,8 +85,8 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
.Xr stdio 3 ,
.Xr ascii 7

View File

@ -1,4 +1,4 @@
.\" $NetBSD: iscntrl.3,v 1.5 1998/02/05 18:47:12 perry Exp $
.\" $NetBSD: iscntrl.3,v 1.6 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@ -71,10 +71,10 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The

View File

@ -1,4 +1,4 @@
.\" $NetBSD: isdigit.3,v 1.5 1998/02/05 18:47:13 perry Exp $
.\" $NetBSD: isdigit.3,v 1.6 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@ -72,10 +72,10 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The

View File

@ -1,4 +1,4 @@
.\" $NetBSD: isgraph.3,v 1.5 1998/02/05 18:47:15 perry Exp $
.\" $NetBSD: isgraph.3,v 1.6 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@ -42,7 +42,7 @@
.Os
.Sh NAME
.Nm isgraph
.Nd printing character test (space character exculsive)
.Nd printing character test (space character exclusive)
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
@ -71,10 +71,10 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The

View File

@ -1,4 +1,4 @@
.\" $NetBSD: islower.3,v 1.6 2001/09/16 02:30:24 wiz Exp $
.\" $NetBSD: islower.3,v 1.7 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@ -85,10 +85,10 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The

View File

@ -1,4 +1,4 @@
.\" $NetBSD: isprint.3,v 1.5 1998/02/05 18:47:19 perry Exp $
.\" $NetBSD: isprint.3,v 1.6 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@ -71,10 +71,10 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ispunct.3,v 1.5 1998/02/05 18:47:21 perry Exp $
.\" $NetBSD: ispunct.3,v 1.6 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@ -74,10 +74,10 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The

View File

@ -1,4 +1,4 @@
.\" $NetBSD: isspace.3,v 1.6 2001/09/16 02:30:24 wiz Exp $
.\" $NetBSD: isspace.3,v 1.7 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@ -98,10 +98,10 @@ returns non-zero if the character tests true.
.Xr ispunct 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The

View File

@ -1,4 +1,4 @@
.\" $NetBSD: isxdigit.3,v 1.5 1998/02/05 18:47:25 perry Exp $
.\" $NetBSD: isxdigit.3,v 1.6 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@ -71,10 +71,10 @@ returns non-zero if the character tests true.
.Xr ispunct 3 ,
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ldexp.3,v 1.7 1999/08/29 18:55:29 mycroft Exp $
.\" $NetBSD: ldexp.3,v 1.8 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -82,8 +82,8 @@ is set to
and the value 0.0 is returned.
.Sh SEE ALSO
.Xr frexp 3 ,
.Xr modf 3 ,
.Xr math 3
.Xr math 3 ,
.Xr modf 3
.Sh STANDARDS
The
.Fn ldexp

View File

@ -1,4 +1,4 @@
.\" $NetBSD: nice.3,v 1.8 2001/09/16 02:30:24 wiz Exp $
.\" $NetBSD: nice.3,v 1.9 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -62,7 +62,7 @@ Only the super-user may lower priorities.
.Pp
Children inherit the priority of their parent processes via
.Xr fork 2 .
.Sh RETURN VALUE
.Sh RETURN VALUES
Upon successful completition,
.Fn nice
returns the new nice value minus
@ -80,16 +80,16 @@ The
.Fa incr
argument is negative and the caller is not the super-user.
.El
.Sh SEE ALSO
.Xr nice 1 ,
.Xr fork 2 ,
.Xr setpriority 2 ,
.Xr renice 8
.Sh STANDARDS
The
.Fn nice
function conforms to
.St -xpg4.2 .
.Sh SEE ALSO
.Xr nice 1 ,
.Xr setpriority 2 ,
.Xr fork 2 ,
.Xr renice 8
.Sh HISTORY
A
.Fn nice

View File

@ -1,4 +1,4 @@
.\" $NetBSD: popen.3,v 1.8 1998/04/28 20:11:35 fair Exp $
.\" $NetBSD: popen.3,v 1.9 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -121,7 +121,7 @@ function waits for the associated process to terminate
and returns the exit status of the command
as returned by
.Fn wait4 .
.Sh RETURN VALUE
.Sh RETURN VALUES
The
.Fn popen
function returns
@ -154,16 +154,23 @@ The
function does not reliably set
.Va errno .
.Sh SEE ALSO
.Xr fork 2 ,
.Xr sh 1 ,
.Xr fork 2 ,
.Xr pipe 2 ,
.Xr socketpair 2 ,
.Xr wait4 2 ,
.Xr fflush 3 ,
.Xr fclose 3 ,
.Xr fflush 3 ,
.Xr fopen 3 ,
.Xr stdio 3 ,
.Xr system 3
.Sh HISTORY
A
.Fn popen
and a
.Fn pclose
function appeared in
.At v7 .
.Sh BUGS
Since the standard input of a command opened for reading
shares its seek offset with the process that called
@ -189,10 +196,3 @@ always calls
.Xr sh 1 ,
never calls
.Xr csh 1 .
.Sh HISTORY
A
.Fn popen
and a
.Fn pclose
function appeared in
.At v7 .

View File

@ -1,4 +1,4 @@
.\" $NetBSD: realpath.3,v 1.6 2001/09/16 02:30:25 wiz Exp $
.\" $NetBSD: realpath.3,v 1.7 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1994
.\" The Regents of the University of California. All rights reserved.
@ -81,7 +81,7 @@ All but the last component of
must exist when
.Fn realpath
is called.
.Sh "RETURN VALUES"
.Sh RETURN VALUES
The
.Fn realpath
function returns
@ -108,7 +108,14 @@ for any of the errors specified for the library functions
.Xr readlink 2
and
.Xr getcwd 3 .
.Sh CAVEATS
.Sh SEE ALSO
.Xr getcwd 3
.Sh HISTORY
The
.Fn realpath
function call first appeared in
.Bx 4.4 .
.Sh BUGS
This implementation of
.Fn realpath
differs slightly from the Solaris implementation.
@ -120,10 +127,3 @@ under certain circumstances, return a relative
.Fa resolved_path
when given a relative
.Fa pathname .
.Sh SEE ALSO
.Xr getcwd 3
.Sh HISTORY
The
.Fn realpath
function call first appeared in
.Bx 4.4 .

View File

@ -1,4 +1,4 @@
.\" $NetBSD: setproctitle.3,v 1.12 2001/09/16 02:30:25 wiz Exp $
.\" $NetBSD: setproctitle.3,v 1.13 2001/09/16 02:57:04 wiz Exp $
.\"
.\" Copyright (c) 1994, 1995 Christopher G. Demetriou
.\" All rights reserved.
@ -70,8 +70,8 @@ setproctitle("foo! (%d)", getpid());
.Sh SEE ALSO
.Xr ps 1 ,
.Xr w 1 ,
.Xr printf 3 ,
.Xr getprogname 3
.Xr getprogname 3 ,
.Xr printf 3
.Sh HISTORY
The
.Fn setproctitle

View File

@ -1,4 +1,4 @@
.\" $NetBSD: signal.3,v 1.12 2001/09/16 02:30:25 wiz Exp $
.\" $NetBSD: signal.3,v 1.13 2001/09/16 02:57:05 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -168,8 +168,8 @@ or
.El
.Sh SEE ALSO
.Xr kill 1 ,
.Xr ptrace 2 ,
.Xr kill 2 ,
.Xr ptrace 2 ,
.Xr sigaction 2 ,
.Xr sigaltstack 2 ,
.Xr sigprocmask 2 ,

View File

@ -1,4 +1,4 @@
.\" $NetBSD: sleep.3,v 1.10 2001/09/16 02:30:25 wiz Exp $
.\" $NetBSD: sleep.3,v 1.11 2001/09/16 02:57:05 wiz Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -55,7 +55,7 @@ have elapsed or a signal is delivered to the calling process and its
action is to invoke a signal-catching function or to terminate the
process. The suspension time may be longer than requested due to the
scheduling of other activity by the system.
.Sh RETURN VALUE
.Sh RETURN VALUES
If the
.Fn sleep
function returns because the requested time has elapsed, the value

View File

@ -1,4 +1,4 @@
.\" $NetBSD: sysconf.3,v 1.16 2001/09/16 02:30:25 wiz Exp $
.\" $NetBSD: sysconf.3,v 1.17 2001/09/16 02:57:05 wiz Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@ -46,7 +46,6 @@
.Ft long
.Fn sysconf "int name"
.Sh DESCRIPTION
.Pp
This interface is defined by
.St -p1003.1-88 .
A far more complete interface is available using
@ -211,10 +210,6 @@ argument is invalid.
.El
.Sh SEE ALSO
.Xr sysctl 3
.Sh BUGS
The value for _SC_STREAM_MAX is a minimum maximum, and required to be
the same as ANSI C's FOPEN_MAX, so the returned value is a ridiculously
small and misleading number.
.Sh STANDARDS
The
.Fn sysconf
@ -225,3 +220,7 @@ The
.Nm sysconf
function first appeared in
.Bx 4.4 .
.Sh BUGS
The value for _SC_STREAM_MAX is a minimum maximum, and required to be
the same as ANSI C's FOPEN_MAX, so the returned value is a ridiculously
small and misleading number.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: sysctl.3,v 1.77 2001/09/16 02:30:25 wiz Exp $
.\" $NetBSD: sysctl.3,v 1.78 2001/09/16 02:57:05 wiz Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@ -1169,8 +1169,6 @@ The fifth level name is one of PROC_PID_LIMIT_TYPE_SOFT or
PROC_PID_LIMIT_TYPE_HARD, to select respectively the soft or hard limit.
Both are of type integer.
.El
.Pp
.Sh CTL_USER
The string and integer information available for the CTL_USER level
is detailed below.
@ -1334,6 +1332,33 @@ is successful, the number of bytes copied out is returned.
Otherwise \-1 is returned and
.Va errno
is set appropriately.
.Sh FILES
.Bl -tag -width <netinet6/udp6Xvar.h> -compact
.It Pa <sys/sysctl.h>
definitions for top level identifiers, second level kernel and hardware
identifiers, and user level identifiers
.It Pa <sys/socket.h>
definitions for second level network identifiers
.It Pa <sys/gmon.h>
definitions for third level profiling identifiers
.It Pa <uvm/uvm_param.h>
definitions for second level virtual memory identifiers
.It Pa <netinet/in.h>
definitions for third level IPv4/v6 identifiers and
fourth level IPv4/v6 identifiers
.It Pa <netinet/icmp_var.h>
definitions for fourth level ICMP identifiers
.It Pa <netinet/icmp6.h>
definitions for fourth level ICMPv6 identifiers
.It Pa <netinet/tcp_var.h>
definitions for fourth level TCP identifiers
.It Pa <netinet/udp_var.h>
definitions for fourth level UDP identifiers
.It Pa <netinet6/udp6_var.h>
definitions for fourth level IPv6 UDP identifiers
.It Pa <netinet6/ipsec.h>
definitions for fourth level IPsec identifiers
.El
.Sh ERRORS
The following errors may be reported:
.Bl -tag -width Er
@ -1375,33 +1400,6 @@ A process without appropriate privilege attempts to set a value.
An attempt to change a value protected by the current kernel security
level is made.
.El
.Sh FILES
.Bl -tag -width <netinet6/udp6Xvar.h> -compact
.It Pa <sys/sysctl.h>
definitions for top level identifiers, second level kernel and hardware
identifiers, and user level identifiers
.It Pa <sys/socket.h>
definitions for second level network identifiers
.It Pa <sys/gmon.h>
definitions for third level profiling identifiers
.It Pa <uvm/uvm_param.h>
definitions for second level virtual memory identifiers
.It Pa <netinet/in.h>
definitions for third level IPv4/v6 identifiers and
fourth level IPv4/v6 identifiers
.It Pa <netinet/icmp_var.h>
definitions for fourth level ICMP identifiers
.It Pa <netinet/icmp6.h>
definitions for fourth level ICMPv6 identifiers
.It Pa <netinet/tcp_var.h>
definitions for fourth level TCP identifiers
.It Pa <netinet/udp_var.h>
definitions for fourth level UDP identifiers
.It Pa <netinet6/udp6_var.h>
definitions for fourth level IPv6 UDP identifiers
.It Pa <netinet6/ipsec.h>
definitions for fourth level IPsec identifiers
.El
.Sh SEE ALSO
.Xr ipsec 4 ,
.Xr sysctl 8

View File

@ -1,4 +1,4 @@
.\" $NetBSD: syslog.3,v 1.10 2001/03/14 06:12:35 lukem Exp $
.\" $NetBSD: syslog.3,v 1.11 2001/09/16 02:57:05 wiz Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -145,7 +145,7 @@ If
cannot pass the message to
.Xr syslogd 8
it will attempt to write the message to the console
.Pq Dq Pa /dev/console.
.Pq Dq Pa /dev/console .
.It Dv LOG_NDELAY
Open the connection to
.Xr syslogd 8

View File

@ -1,4 +1,4 @@
.\" $NetBSD: toascii.3,v 1.4 1998/02/05 18:48:11 perry Exp $
.\" $NetBSD: toascii.3,v 1.5 2001/09/16 02:57:05 wiz Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@ -55,9 +55,9 @@ The
.Fn toascii
function always returns a valid ASCII character.
.Sh SEE ALSO
.Xr isascii 3 ,
.Xr isalnum 3 ,
.Xr isalpha 3 ,
.Xr isascii 3 ,
.Xr iscntrl 3 ,
.Xr isdigit 3 ,
.Xr isgraph 3 ,
@ -67,9 +67,9 @@ function always returns a valid ASCII character.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
.Xr stdio 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The

View File

@ -1,4 +1,4 @@
.\" $NetBSD: tolower.3,v 1.6 2001/09/16 02:30:25 wiz Exp $
.\" $NetBSD: tolower.3,v 1.7 2001/09/16 02:57:05 wiz Exp $
.\"
.\" Copyright (c) 1989, 1991 The Regents of the University of California.
.\" All rights reserved.
@ -69,9 +69,9 @@ one; otherwise the argument is returned unchanged.
.\" .Xr islower
.\" is true.
.Sh SEE ALSO
.Xr isascii 3 ,
.Xr isalnum 3 ,
.Xr isalpha 3 ,
.Xr isascii 3 ,
.Xr iscntrl 3 ,
.Xr isdigit 3 ,
.Xr isgraph 3 ,
@ -81,9 +81,9 @@ one; otherwise the argument is returned unchanged.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr toupper 3 ,
.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ttyname.3,v 1.9 2001/09/16 02:30:25 wiz Exp $
.\" $NetBSD: ttyname.3,v 1.10 2001/09/16 02:57:05 wiz Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -63,7 +63,7 @@ and named
.Pa /dev/tty Ns Em xx
and for which an entry exists
in the initialization file
.Pa /etc/ttys.
.Pa /etc/ttys .
(See
.Xr ttys 5 . )
.Pp
@ -115,6 +115,11 @@ The
function
returns the unit number of the device file if found; otherwise
the value zero is returned.
.Sh FILES
.Bl -tag -width /etc/ttys -compact
.It Pa /dev/\(**
.It Pa /etc/ttys
.El
.Sh ERRORS
The
.Fn ttyname
@ -131,11 +136,6 @@ The
.Fa fd
argument does not refer to a terminal device.
.El
.Sh FILES
.Bl -tag -width /etc/ttys -compact
.It Pa /dev/\(**
.It Pa /etc/ttys
.El
.Sh SEE ALSO
.Xr ioctl 2 ,
.Xr ttys 5

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ualarm.3,v 1.13 2001/09/16 02:30:25 wiz Exp $
.\" $NetBSD: ualarm.3,v 1.14 2001/09/16 02:57:05 wiz Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -87,10 +87,10 @@ returns ((useconds_t) -1).
.Xr setitimer 2 ,
.Xr sigaction 2 ,
.Xr sigsuspend 2 ,
.Xr sigvec 3 ,
.Xr signal 3 ,
.Xr sleep 3 ,
.Xr alarm 3 ,
.Xr signal 3 ,
.Xr sigvec 3 ,
.Xr sleep 3 ,
.Xr usleep 3
.Sh STANDARDS
The

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ulimit.3,v 1.2 1999/10/11 11:03:27 kleink Exp $
.\" $NetBSD: ulimit.3,v 1.3 2001/09/16 02:57:05 wiz Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -82,7 +82,7 @@ function is an obsolete interface; applications are encouraged to use
and
.Xr setrlimit 2
instead.
.Sh RETURN VALUE
.Sh RETURN VALUES
If successful, the
.Fn ulimit
function returns the value of the requested limit.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: unvis.3,v 1.10 2001/09/16 02:30:25 wiz Exp $
.\" $NetBSD: unvis.3,v 1.11 2001/09/16 02:57:05 wiz Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -159,8 +159,8 @@ if (unvis(&out, (char)0, &state, UNVIS_END) == UNVIS_VALID)
(void) putchar(out);
.Ed
.Sh SEE ALSO
.Xr vis 1 ,
.Xr unvis 1 ,
.Xr vis 1 ,
.Xr vis 3
.Sh HISTORY
The

View File

@ -1,4 +1,4 @@
.\" $NetBSD: usleep.3,v 1.12 2001/09/16 02:30:25 wiz Exp $
.\" $NetBSD: usleep.3,v 1.13 2001/09/16 02:57:05 wiz Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -62,7 +62,7 @@ The
argument must be less than 1,000,000. If the value of
.Fa microseconds
is 0, then the call has no effect.
.Sh RETURN VALUE
.Sh RETURN VALUES
On successful completition,
.Fn usleep
returns 0. Otherwhise, it returns -1 and sets errno to indicate the error.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: vis.3,v 1.13 2001/06/05 13:25:57 wiz Exp $
.\" $NetBSD: vis.3,v 1.14 2001/09/16 02:57:05 wiz Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -307,8 +307,8 @@ meta characters as
With this flag set, the encoding is
ambiguous and non-invertible.
.Sh SEE ALSO
.Xr vis 1 ,
.Xr unvis 1 ,
.Xr vis 1 ,
.Xr unvis 3
.Sh HISTORY
The