Sections 2 and 3 have RETURN VALUES, not DIAGNOSTICS
This commit is contained in:
parent
254727163e
commit
e6fc3c59c2
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: bluetooth.3,v 1.9 2017/07/03 21:32:49 wiz Exp $
|
.\" $NetBSD: bluetooth.3,v 1.10 2022/12/04 01:29:31 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 2003 Maksim Yevmenkin <m_evmenkin@yahoo.com>
|
.\" Copyright (c) 2003 Maksim Yevmenkin <m_evmenkin@yahoo.com>
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
|
@ -208,7 +208,7 @@ if ((hp = bt_gethostbyaddr((const char *)&bd,
|
||||||
|
|
||||||
printf("name associated with %s is %s\en", bdstr, hp->h_name);
|
printf("name associated with %s is %s\en", bdstr, hp->h_name);
|
||||||
.Ed
|
.Ed
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
Error return status from
|
Error return status from
|
||||||
.Fn bt_gethostent ,
|
.Fn bt_gethostent ,
|
||||||
.Fn bt_gethostbyname ,
|
.Fn bt_gethostbyname ,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: cgetcap.3,v 1.9 2017/10/24 18:42:06 abhinav Exp $
|
.\" $NetBSD: cgetcap.3,v 1.10 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1992, 1993
|
.\" Copyright (c) 1992, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -315,7 +315,7 @@ is declared and all subsequent files in the file array.
|
||||||
can be used to control if
|
can be used to control if
|
||||||
.Qq tc
|
.Qq tc
|
||||||
expansion is performed or not.
|
expansion is performed or not.
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
.Fn cgetent ,
|
.Fn cgetent ,
|
||||||
.Fn cgetset ,
|
.Fn cgetset ,
|
||||||
.Fn cgetmatch ,
|
.Fn cgetmatch ,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: getusershell.3,v 1.10 2004/11/23 04:38:19 lukem Exp $
|
.\" $NetBSD: getusershell.3,v 1.11 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1985, 1991, 1993
|
.\" Copyright (c) 1985, 1991, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -75,7 +75,7 @@ closes it.
|
||||||
.Bl -tag -width /etc/shells -compact
|
.Bl -tag -width /etc/shells -compact
|
||||||
.It Pa /etc/shells
|
.It Pa /etc/shells
|
||||||
.El
|
.El
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
The routine
|
The routine
|
||||||
.Fn getusershell
|
.Fn getusershell
|
||||||
returns a null pointer (0) on
|
returns a null pointer (0) on
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: scandir.3,v 1.16 2016/12/17 10:25:49 wiz Exp $
|
.\" $NetBSD: scandir.3,v 1.17 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1983, 1991, 1993
|
.\" Copyright (c) 1983, 1991, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -88,7 +88,7 @@ parameter to sort the array alphabetically.
|
||||||
The memory allocated for the array can be deallocated with
|
The memory allocated for the array can be deallocated with
|
||||||
.Xr free 3 ,
|
.Xr free 3 ,
|
||||||
by freeing each pointer in the array and then the array itself.
|
by freeing each pointer in the array and then the array itself.
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
Returns \-1 if the directory cannot be opened for reading or if
|
Returns \-1 if the directory cannot be opened for reading or if
|
||||||
.Xr malloc 3
|
.Xr malloc 3
|
||||||
cannot allocate enough memory to hold all the data structures.
|
cannot allocate enough memory to hold all the data structures.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: wordexp.3,v 1.4 2021/12/10 20:36:02 andvar Exp $
|
.\" $NetBSD: wordexp.3,v 1.5 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 2002 Tim J. Robbins
|
.\" Copyright (c) 2002 Tim J. Robbins
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
|
@ -189,7 +189,7 @@ wordexp_t we;
|
||||||
wordexp("${EDITOR:-vi} *.c /etc/motd", &we, 0);
|
wordexp("${EDITOR:-vi} *.c /etc/motd", &we, 0);
|
||||||
execvp(we->we_wordv[0], we->we_wordv);
|
execvp(we->we_wordv[0], we->we_wordv);
|
||||||
.Ed
|
.Ed
|
||||||
.Sh DIAGNOSTICS
|
.Sh DIAGNOSTICS \" sic!
|
||||||
Diagnostic messages from the shell are written to the standard error output
|
Diagnostic messages from the shell are written to the standard error output
|
||||||
if
|
if
|
||||||
.Dv WRDE_SHOWERR
|
.Dv WRDE_SHOWERR
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: inet.3,v 1.5 2012/07/25 14:51:15 ginsbach Exp $
|
.\" $NetBSD: inet.3,v 1.6 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1983, 1990, 1991, 1993
|
.\" Copyright (c) 1983, 1990, 1991, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -277,7 +277,7 @@ or in compressed form:
|
||||||
::FFFF:129.144.52.38
|
::FFFF:129.144.52.38
|
||||||
.Ed
|
.Ed
|
||||||
.El
|
.El
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
The constant
|
The constant
|
||||||
.Dv INADDR_NONE
|
.Dv INADDR_NONE
|
||||||
is returned by
|
is returned by
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: inet6_option_space.3,v 1.3 2010/03/22 19:30:54 joerg Exp $
|
.\" $NetBSD: inet6_option_space.3,v 1.4 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\" $KAME: inet6_option_space.3,v 1.7 2000/05/17 14:32:13 itojun Exp $
|
.\" $KAME: inet6_option_space.3,v 1.7 2000/05/17 14:32:13 itojun Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1983, 1987, 1991, 1993
|
.\" Copyright (c) 1983, 1987, 1991, 1993
|
||||||
|
@ -392,7 +392,7 @@ is not
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
RFC 2292 gives comprehensive examples in chapter 6.
|
RFC 2292 gives comprehensive examples in chapter 6.
|
||||||
.\"
|
.\"
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
.Fn inet6_option_init
|
.Fn inet6_option_init
|
||||||
and
|
and
|
||||||
.Fn inet6_option_append
|
.Fn inet6_option_append
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: inet6_rthdr_space.3,v 1.3 2017/07/03 21:32:49 wiz Exp $
|
.\" $NetBSD: inet6_rthdr_space.3,v 1.4 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\" $KAME: inet6_rthdr_space.3,v 1.8 2000/05/17 14:30:15 itojun Exp $
|
.\" $KAME: inet6_rthdr_space.3,v 1.8 2000/05/17 14:30:15 itojun Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1983, 1987, 1991, 1993
|
.\" Copyright (c) 1983, 1987, 1991, 1993
|
||||||
|
@ -267,7 +267,7 @@ to maintain consistency with the terminology and figures in RFC 2460.
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
RFC 2292 gives comprehensive examples in chapter 8.
|
RFC 2292 gives comprehensive examples in chapter 8.
|
||||||
.\"
|
.\"
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
.Fn inet6_rthdr_space
|
.Fn inet6_rthdr_space
|
||||||
returns 0 on errors.
|
returns 0 on errors.
|
||||||
.Pp
|
.Pp
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: gethostbyname.3,v 1.29 2013/08/19 07:18:42 christos Exp $
|
.\" $NetBSD: gethostbyname.3,v 1.30 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1983, 1987, 1991, 1993
|
.\" Copyright (c) 1983, 1987, 1991, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -216,7 +216,7 @@ parameter.
|
||||||
.Bl -tag -width /etc/hosts -compact
|
.Bl -tag -width /etc/hosts -compact
|
||||||
.It Pa /etc/hosts
|
.It Pa /etc/hosts
|
||||||
.El
|
.El
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
Error return status from
|
Error return status from
|
||||||
.Fn gethostbyent ,
|
.Fn gethostbyent ,
|
||||||
.Fn gethostbyname ,
|
.Fn gethostbyname ,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: getnetent.3,v 1.16 2018/02/21 14:11:09 uwe Exp $
|
.\" $NetBSD: getnetent.3,v 1.17 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1983, 1991, 1993
|
.\" Copyright (c) 1983, 1991, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -118,7 +118,7 @@ Network numbers are supplied in host byte order.
|
||||||
.Bl -tag -width /etc/networks -compact
|
.Bl -tag -width /etc/networks -compact
|
||||||
.It Pa /etc/networks
|
.It Pa /etc/networks
|
||||||
.El
|
.El
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
Null pointer
|
Null pointer
|
||||||
.Dv ( NULL )
|
.Dv ( NULL )
|
||||||
returned on
|
returned on
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: inet6_opt_init.3,v 1.2 2014/01/04 15:37:26 wiz Exp $
|
.\" $NetBSD: inet6_opt_init.3,v 1.3 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\" $KAME: inet6_opt_init.3,v 1.7 2004/12/27 05:08:23 itojun Exp $
|
.\" $KAME: inet6_opt_init.3,v 1.7 2004/12/27 05:08:23 itojun Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (C) 2004 WIDE Project.
|
.\" Copyright (C) 2004 WIDE Project.
|
||||||
|
@ -306,7 +306,7 @@ KAME also provides examples in the
|
||||||
.Pa advapitest
|
.Pa advapitest
|
||||||
directory of its kit.
|
directory of its kit.
|
||||||
.\"
|
.\"
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
All the functions return
|
All the functions return
|
||||||
\-1
|
\-1
|
||||||
on an error.
|
on an error.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: inet6_option_space.3,v 1.17 2010/03/22 19:30:54 joerg Exp $
|
.\" $NetBSD: inet6_option_space.3,v 1.18 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\" $KAME: inet6_option_space.3,v 1.7 2000/05/17 14:32:13 itojun Exp $
|
.\" $KAME: inet6_option_space.3,v 1.7 2000/05/17 14:32:13 itojun Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1983, 1987, 1991, 1993
|
.\" Copyright (c) 1983, 1987, 1991, 1993
|
||||||
|
@ -392,7 +392,7 @@ is not
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
RFC 2292 gives comprehensive examples in chapter 6.
|
RFC 2292 gives comprehensive examples in chapter 6.
|
||||||
.\"
|
.\"
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
.Fn inet6_option_init
|
.Fn inet6_option_init
|
||||||
and
|
and
|
||||||
.Fn inet6_option_append
|
.Fn inet6_option_append
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: inet6_rth_space.3,v 1.2 2014/01/04 15:37:46 wiz Exp $
|
.\" $NetBSD: inet6_rth_space.3,v 1.3 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\" $KAME: inet6_rth_space.3,v 1.7 2005/01/05 03:00:44 itojun Exp $
|
.\" $KAME: inet6_rth_space.3,v 1.7 2005/01/05 03:00:44 itojun Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (C) 2004 WIDE Project.
|
.\" Copyright (C) 2004 WIDE Project.
|
||||||
|
@ -184,7 +184,7 @@ RFC 3542 gives extensive examples in Section 21, Appendix B.
|
||||||
.Pp
|
.Pp
|
||||||
KAME also provides examples in the advapitest directory of its kit.
|
KAME also provides examples in the advapitest directory of its kit.
|
||||||
.\"
|
.\"
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
The
|
The
|
||||||
.Fn inet6_rth_space
|
.Fn inet6_rth_space
|
||||||
and
|
and
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: inet6_rthdr_space.3,v 1.17 2017/07/03 21:32:49 wiz Exp $
|
.\" $NetBSD: inet6_rthdr_space.3,v 1.18 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\" $KAME: inet6_rthdr_space.3,v 1.8 2000/05/17 14:30:15 itojun Exp $
|
.\" $KAME: inet6_rthdr_space.3,v 1.8 2000/05/17 14:30:15 itojun Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1983, 1987, 1991, 1993
|
.\" Copyright (c) 1983, 1987, 1991, 1993
|
||||||
|
@ -267,7 +267,7 @@ to maintain consistency with the terminology and figures in RFC 2460.
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
RFC 2292 gives comprehensive examples in chapter 8.
|
RFC 2292 gives comprehensive examples in chapter 8.
|
||||||
.\"
|
.\"
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
.Fn inet6_rthdr_space
|
.Fn inet6_rthdr_space
|
||||||
returns 0 on errors.
|
returns 0 on errors.
|
||||||
.Pp
|
.Pp
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: rcmd.3,v 1.28 2010/03/22 19:30:54 joerg Exp $
|
.\" $NetBSD: rcmd.3,v 1.29 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1983, 1991, 1993
|
.\" Copyright (c) 1983, 1991, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -258,7 +258,7 @@ When using the
|
||||||
function, this variable is used as the program to run instead of
|
function, this variable is used as the program to run instead of
|
||||||
.Xr rcmd 1 .
|
.Xr rcmd 1 .
|
||||||
.El
|
.El
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
The
|
The
|
||||||
.Fn rcmd
|
.Fn rcmd
|
||||||
function
|
function
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: regex.3,v 1.32 2021/03/11 18:49:18 christos Exp $
|
.\" $NetBSD: regex.3,v 1.33 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1992, 1993, 1994 Henry Spencer.
|
.\" Copyright (c) 1992, 1993, 1994 Henry Spencer.
|
||||||
.\" Copyright (c) 1992, 1993, 1994
|
.\" Copyright (c) 1992, 1993, 1994
|
||||||
|
@ -711,7 +711,7 @@ and
|
||||||
beginning and ending subexpressions in obsolete
|
beginning and ending subexpressions in obsolete
|
||||||
.Pq Dq basic
|
.Pq Dq basic
|
||||||
REs are anchors, not ordinary characters.
|
REs are anchors, not ordinary characters.
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
Non-zero error codes from
|
Non-zero error codes from
|
||||||
.Fn regcomp
|
.Fn regcomp
|
||||||
and
|
and
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.\" @(#)getrpcent.3n 2.2 88/08/02 4.0 RPCSRC; from 1.11 88/03/14 SMI
|
.\" @(#)getrpcent.3n 2.2 88/08/02 4.0 RPCSRC; from 1.11 88/03/14 SMI
|
||||||
.\" $NetBSD: getrpcent.3,v 1.14 2004/08/16 10:18:27 wiz Exp $
|
.\" $NetBSD: getrpcent.3,v 1.15 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd August 16, 2004
|
.Dd August 16, 2004
|
||||||
.Dt GETRPCENT 3
|
.Dt GETRPCENT 3
|
||||||
|
@ -79,7 +79,7 @@ of the file until a matching rpc program name or
|
||||||
program number is found, or until end-of-file is encountered.
|
program number is found, or until end-of-file is encountered.
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Pa /etc/rpc
|
.Pa /etc/rpc
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
A
|
A
|
||||||
.Dv NULL
|
.Dv NULL
|
||||||
pointer is returned on
|
pointer is returned on
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: getopt.3,v 1.35 2017/07/03 21:32:50 wiz Exp $
|
.\" $NetBSD: getopt.3,v 1.36 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1988, 1991, 1993
|
.\" Copyright (c) 1988, 1991, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -195,7 +195,7 @@ while ((ch = getopt(argc, argv, "bf:")) != -1) {
|
||||||
argc -= optind;
|
argc -= optind;
|
||||||
argv += optind;
|
argv += optind;
|
||||||
.Ed
|
.Ed
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
If the
|
If the
|
||||||
.Fn getopt
|
.Fn getopt
|
||||||
function encounters a character not found in the string
|
function encounters a character not found in the string
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: jemalloc.3,v 1.11 2021/12/05 14:25:04 rillig Exp $
|
.\" $NetBSD: jemalloc.3,v 1.12 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1980, 1991, 1993
|
.\" Copyright (c) 1980, 1991, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -314,7 +314,7 @@ on calls to these functions:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
_malloc_options = "X";
|
_malloc_options = "X";
|
||||||
.Ed
|
.Ed
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
If any of the memory allocation/deallocation functions detect an error or
|
If any of the memory allocation/deallocation functions detect an error or
|
||||||
warning condition, a message will be printed to file descriptor
|
warning condition, a message will be printed to file descriptor
|
||||||
.Dv STDERR_FILENO .
|
.Dv STDERR_FILENO .
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: random.3,v 1.22 2017/07/03 21:32:50 wiz Exp $
|
.\" $NetBSD: random.3,v 1.23 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1983, 1991, 1993
|
.\" Copyright (c) 1983, 1991, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -159,7 +159,7 @@ generator is greater than
|
||||||
.if t 2\u\s769\s10\d,
|
.if t 2\u\s769\s10\d,
|
||||||
.if n 2**69
|
.if n 2**69
|
||||||
which should be sufficient for most purposes.
|
which should be sufficient for most purposes.
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
If
|
If
|
||||||
.Fn initstate
|
.Fn initstate
|
||||||
is called with less than 8 bytes of state information, or if
|
is called with less than 8 bytes of state information, or if
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: intro.2,v 1.61 2020/03/08 22:09:42 mgorny Exp $
|
.\" $NetBSD: intro.2,v 1.62 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1980, 1983, 1986, 1991, 1993
|
.\" Copyright (c) 1980, 1983, 1986, 1991, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -45,7 +45,7 @@ their error returns, and other common definitions and concepts.
|
||||||
.\".Sy System call restart
|
.\".Sy System call restart
|
||||||
.\".Pp
|
.\".Pp
|
||||||
.\"<more later...>
|
.\"<more later...>
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
Nearly all of the system calls provide an error number in the external
|
Nearly all of the system calls provide an error number in the external
|
||||||
variable
|
variable
|
||||||
.Va errno .
|
.Va errno .
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" from: @(#)stty.3 8.1 (Berkeley) 6/4/93
|
.\" from: @(#)stty.3 8.1 (Berkeley) 6/4/93
|
||||||
.\" $NetBSD: stty.3,v 1.10 2019/09/01 23:42:19 sevan Exp $
|
.\" $NetBSD: stty.3,v 1.11 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd September 2, 2019
|
.Dd September 2, 2019
|
||||||
.Dt STTY 3
|
.Dt STTY 3
|
||||||
|
@ -76,11 +76,8 @@ See
|
||||||
and
|
and
|
||||||
.Xr tty 4
|
.Xr tty 4
|
||||||
for an explanation.
|
for an explanation.
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
If the call is successful 0 is returned, otherwise \-1 is
|
.Rv -std gtty stty
|
||||||
returned and the global variable
|
|
||||||
.Va errno
|
|
||||||
contains the reason for the failure.
|
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr ioctl 2 ,
|
.Xr ioctl 2 ,
|
||||||
.Xr tty 4
|
.Xr tty 4
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" from: @(#)re_comp.3 8.1 (Berkeley) 6/4/93
|
.\" from: @(#)re_comp.3 8.1 (Berkeley) 6/4/93
|
||||||
.\" $NetBSD: re_comp.3,v 1.12 2015/08/11 18:15:41 dholland Exp $
|
.\" $NetBSD: re_comp.3,v 1.13 2022/12/04 01:29:32 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd June 4, 1993
|
.Dd June 4, 1993
|
||||||
.Dt RE_COMP 3
|
.Dt RE_COMP 3
|
||||||
|
@ -92,7 +92,7 @@ they are terminated by
|
||||||
The regular expressions recognized are described in the manual entry for
|
The regular expressions recognized are described in the manual entry for
|
||||||
.Xr ed 1 ,
|
.Xr ed 1 ,
|
||||||
given the above difference.
|
given the above difference.
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
The
|
The
|
||||||
.Fn re_exec
|
.Fn re_exec
|
||||||
function
|
function
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: rmtops.3,v 1.15 2017/07/03 21:32:51 wiz Exp $
|
.\" $NetBSD: rmtops.3,v 1.16 2022/12/04 01:29:33 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd October 16, 2001
|
.Dd October 16, 2001
|
||||||
.Dt RMTOPS 3
|
.Dt RMTOPS 3
|
||||||
|
@ -127,7 +127,7 @@ and must have the same calling conventions as
|
||||||
.It Pa /usr/lib/librmt.a
|
.It Pa /usr/lib/librmt.a
|
||||||
remote tape library
|
remote tape library
|
||||||
.El
|
.El
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
Several of these routines will return \-1 and set
|
Several of these routines will return \-1 and set
|
||||||
.Va errno
|
.Va errno
|
||||||
to EOPNOTSUPP, if they are given a remote file name or a file descriptor
|
to EOPNOTSUPP, if they are given a remote file name or a file descriptor
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: aio_read.3,v 1.5 2017/07/03 21:32:51 wiz Exp $
|
.\" $NetBSD: aio_read.3,v 1.6 2022/12/04 01:29:33 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1998 Terry Lambert
|
.\" Copyright (c) 1998 Terry Lambert
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
|
@ -110,8 +110,6 @@ is past the offset maximum for
|
||||||
no I/O will occur.
|
no I/O will occur.
|
||||||
.Sh RETURN VALUES
|
.Sh RETURN VALUES
|
||||||
.Rv -std aio_read
|
.Rv -std aio_read
|
||||||
.Sh DIAGNOSTICS
|
|
||||||
None.
|
|
||||||
.Sh ERRORS
|
.Sh ERRORS
|
||||||
The
|
The
|
||||||
.Fn aio_read
|
.Fn aio_read
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: getmntopts.3,v 1.14 2017/07/03 21:32:51 wiz Exp $
|
.\" $NetBSD: getmntopts.3,v 1.15 2022/12/04 01:29:33 uwe Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1994
|
.\" Copyright (c) 1994
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -255,7 +255,7 @@ if (mp == NULL)
|
||||||
val = getmntoptnum(mp, "rsize");
|
val = getmntoptnum(mp, "rsize");
|
||||||
freemntopts(mp);
|
freemntopts(mp);
|
||||||
.Ed
|
.Ed
|
||||||
.Sh DIAGNOSTICS
|
.Sh RETURN VALUES
|
||||||
If the external integer variable
|
If the external integer variable
|
||||||
.Va getmnt_silent
|
.Va getmnt_silent
|
||||||
is zero then the
|
is zero then the
|
||||||
|
|
Loading…
Reference in New Issue