summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/posix_spawn_file_actions_addopen.36
-rw-r--r--lib/libc/locale/mblen.38
-rw-r--r--lib/libc/locale/mbrlen.34
-rw-r--r--lib/libc/locale/mbsinit.36
-rw-r--r--lib/libc/locale/wcstombs.38
-rw-r--r--lib/libc/locale/wctomb.36
-rw-r--r--lib/libc/net/ether_aton.36
-rw-r--r--lib/libc/net/getifaddrs.36
-rw-r--r--lib/libc/net/inet6_opt_init.36
-rw-r--r--lib/libc/stdlib/rand.36
-rw-r--r--lib/libc/sys/fcntl.26
-rw-r--r--lib/libc/time/wcsftime.36
12 files changed, 37 insertions, 37 deletions
diff --git a/lib/libc/gen/posix_spawn_file_actions_addopen.3 b/lib/libc/gen/posix_spawn_file_actions_addopen.3
index 835371c1bf9..7cfb7ef37eb 100644
--- a/lib/libc/gen/posix_spawn_file_actions_addopen.3
+++ b/lib/libc/gen/posix_spawn_file_actions_addopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: posix_spawn_file_actions_addopen.3,v 1.8 2014/11/30 02:41:43 schwarze Exp $
+.\" $OpenBSD: posix_spawn_file_actions_addopen.3,v 1.9 2022/03/29 18:15:52 naddy Exp $
.\"
.\" Copyright (c) 2012 Marc Espie <espie@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 30 2014 $
+.Dd $Mdocdate: March 29 2022 $
.Dt POSIX_SPAWN_FILE_ACTIONS_ADDOPEN 3
.Os
.Sh NAME
@@ -70,7 +70,7 @@ equals
.It
The
.Fn posix_spawn_file_actions_addopen
-adds an action that causes
+function adds an action that causes
.Bd -literal -offset indent
open(path, oflag, mode);
.Ed
diff --git a/lib/libc/locale/mblen.3 b/lib/libc/locale/mblen.3
index 7ff46e57da7..4523500c891 100644
--- a/lib/libc/locale/mblen.3
+++ b/lib/libc/locale/mblen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mblen.3,v 1.3 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: mblen.3,v 1.4 2022/03/29 18:15:52 naddy Exp $
.\" $NetBSD: mblen.3,v 1.4 2003/04/16 13:34:40 wiz Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: March 29 2022 $
.Dt MBLEN 3
.Os
.\" ----------------------------------------------------------------------
@@ -138,7 +138,7 @@ macro.
points an invalid or incomplete multibyte character.
The
.Fn mblen
-also sets
+function also sets
.Va errno
to indicate the error.
.El
@@ -159,7 +159,7 @@ The current encoding is state-dependent.
.Sh ERRORS
The
.Fn mblen
-may causes an error in the following case:
+function may cause an error in the following case:
.Bl -tag -width Er
.It Bq Er EILSEQ
.Fa s
diff --git a/lib/libc/locale/mbrlen.3 b/lib/libc/locale/mbrlen.3
index 6a2ac277115..2801edaee97 100644
--- a/lib/libc/locale/mbrlen.3
+++ b/lib/libc/locale/mbrlen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mbrlen.3,v 1.5 2022/03/29 01:26:08 schwarze Exp $
+.\" $OpenBSD: mbrlen.3,v 1.6 2022/03/29 18:15:52 naddy Exp $
.\" $NetBSD: mbrlen.3,v 1.5 2003/09/08 17:54:31 wiz Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
@@ -140,7 +140,7 @@ calls cause the internal state of this function to become indeterminate.
.Sh RETURN VALUES
The
.Fn mbrlen
-returns:
+function returns:
.Bl -tag -width "(size_t)-2"
.It "0"
.Fa s
diff --git a/lib/libc/locale/mbsinit.3 b/lib/libc/locale/mbsinit.3
index 897b46e8317..3e1787aba9f 100644
--- a/lib/libc/locale/mbsinit.3
+++ b/lib/libc/locale/mbsinit.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mbsinit.3,v 1.3 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: mbsinit.3,v 1.4 2022/03/29 18:15:52 naddy Exp $
.\" $NetBSD: mbsinit.3,v 1.4 2003/04/16 13:34:40 wiz Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: March 29 2022 $
.Dt MBSINIT 3
.Os
.\" ----------------------------------------------------------------------
@@ -72,7 +72,7 @@ No errors are defined.
.Sh STANDARDS
The
.Fn mbsinit
-conforms to
+function conforms to
.\" .St -isoC-amd1 .
ISO/IEC 9899/AMD1:1995
.Pq Dq ISO C90, Amendment 1 .
diff --git a/lib/libc/locale/wcstombs.3 b/lib/libc/locale/wcstombs.3
index 685676892eb..fcef82a3552 100644
--- a/lib/libc/locale/wcstombs.3
+++ b/lib/libc/locale/wcstombs.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wcstombs.3,v 1.7 2015/03/22 17:52:31 stsp Exp $
+.\" $OpenBSD: wcstombs.3,v 1.8 2022/03/29 18:15:52 naddy Exp $
.\" $NetBSD: wcstombs.3,v 1.5 2003/09/08 17:54:32 wiz Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 22 2015 $
+.Dd $Mdocdate: March 29 2022 $
.Dt WCSTOMBS 3
.Os
.\" ----------------------------------------------------------------------
@@ -70,8 +70,8 @@ There are special cases:
.It s == NULL
The
.Fn wcstombs
-returns the number of bytes to store the whole multibyte character string
-corresponding to the wide-character string pointed to by
+function returns the number of bytes to store the whole multibyte
+character string corresponding to the wide-character string pointed to by
.Fa pwcs .
In this case,
.Fa n
diff --git a/lib/libc/locale/wctomb.3 b/lib/libc/locale/wctomb.3
index d0313dc6f72..32f9e65a9a5 100644
--- a/lib/libc/locale/wctomb.3
+++ b/lib/libc/locale/wctomb.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wctomb.3,v 1.6 2016/06/28 07:17:59 jmc Exp $
+.\" $OpenBSD: wctomb.3,v 1.7 2022/03/29 18:15:52 naddy Exp $
.\" $NetBSD: wctomb.3,v 1.3 2003/04/16 13:34:41 wiz Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 28 2016 $
+.Dd $Mdocdate: March 29 2022 $
.Dt WCTOMB 3
.Os
.Sh NAME
@@ -38,7 +38,7 @@
.Sh DESCRIPTION
The
.Fn wctomb
-converts the wide character
+function converts the wide character
.Fa wchar
to the corresponding multibyte character, and stores it in the array
pointed to by
diff --git a/lib/libc/net/ether_aton.3 b/lib/libc/net/ether_aton.3
index 98beb5e4921..358d7eed034 100644
--- a/lib/libc/net/ether_aton.3
+++ b/lib/libc/net/ether_aton.3
@@ -1,8 +1,8 @@
-.\" $OpenBSD: ether_aton.3,v 1.1 2019/08/30 18:33:17 deraadt Exp $
+.\" $OpenBSD: ether_aton.3,v 1.2 2022/03/29 18:15:52 naddy Exp $
.\"
.\" Written by roland@frob.com. Public domain.
.\"
-.Dd $Mdocdate: August 30 2019 $
+.Dd $Mdocdate: March 29 2022 $
.Dt ETHER_ATON 3
.Os
.Sh NAME
@@ -48,7 +48,7 @@ by colons.
It returns a pointer to a static buffer that is reused for each call.
The
.Fn ether_aton
-converts an
+function converts an
.Tn ASCII
string of the same form and to a structure
containing the 6 octets of the address.
diff --git a/lib/libc/net/getifaddrs.3 b/lib/libc/net/getifaddrs.3
index 26eac493202..8ea08fa3da2 100644
--- a/lib/libc/net/getifaddrs.3
+++ b/lib/libc/net/getifaddrs.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getifaddrs.3,v 1.22 2018/01/12 04:36:44 deraadt Exp $
+.\" $OpenBSD: getifaddrs.3,v 1.23 2022/03/29 18:15:52 naddy Exp $
.\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp
.\"
.\" Copyright (c) 1995, 1999
@@ -21,7 +21,7 @@
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
-.Dd $Mdocdate: January 12 2018 $
+.Dd $Mdocdate: March 29 2022 $
.Dt GETIFADDRS 3
.Os
.Sh NAME
@@ -122,7 +122,7 @@ when no longer needed.
.Sh ERRORS
The
.Fn getifaddrs
-may fail and set
+function may fail and set
.Va errno
for any of the errors specified for the library routines
.Xr ioctl 2 ,
diff --git a/lib/libc/net/inet6_opt_init.3 b/lib/libc/net/inet6_opt_init.3
index dd7ab53f6f5..fb4253aa2c7 100644
--- a/lib/libc/net/inet6_opt_init.3
+++ b/lib/libc/net/inet6_opt_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: inet6_opt_init.3,v 1.6 2014/01/21 03:15:45 schwarze Exp $
+.\" $OpenBSD: inet6_opt_init.3,v 1.7 2022/03/29 18:15:52 naddy Exp $
.\" $KAME: inet6_opt_init.3,v 1.7 2004/12/27 05:08:23 itojun Exp $
.\"
.\" Copyright (C) 2004 WIDE Project.
@@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: March 29 2022 $
.Dt INET6_OPT_INIT 3
.Os
.\"
@@ -160,7 +160,7 @@ alignments respectively.
.Ss inet6_opt_finish
The
.Fn inet6_opt_finish
-calculates the final padding necessary to make the extension header a
+function calculates the final padding necessary to make the extension header a
multiple of 8 bytes, as required by the IPv6 extension header
specification, and returns the extension header's updated total
length.
diff --git a/lib/libc/stdlib/rand.3 b/lib/libc/stdlib/rand.3
index 76278c871ab..cf7dde8536c 100644
--- a/lib/libc/stdlib/rand.3
+++ b/lib/libc/stdlib/rand.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: rand.3,v 1.20 2021/02/12 17:03:51 deraadt Exp $
+.\" $OpenBSD: rand.3,v 1.21 2022/03/29 18:15:52 naddy Exp $
.\"
-.Dd $Mdocdate: February 12 2021 $
+.Dd $Mdocdate: March 29 2022 $
.Dt RAND 3
.Os
.Sh NAME
@@ -94,7 +94,7 @@ was called, the result will be computed using the deterministic algorithm.
.Pp
The
.Fn rand_r
-is a thread-safe version of
+function is a thread-safe version of
.Fn rand .
Storage for the seed must be provided through the
.Fa seed
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2
index bb9277729c9..765eecb0f94 100644
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fcntl.2,v 1.33 2019/09/06 08:39:27 asou Exp $
+.\" $OpenBSD: fcntl.2,v 1.34 2022/03/29 18:15:52 naddy Exp $
.\" $NetBSD: fcntl.2,v 1.6 1995/02/27 12:32:29 cgd Exp $
.\"
.\" Copyright (c) 1983, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)fcntl.2 8.2 (Berkeley) 1/12/94
.\"
-.Dd $Mdocdate: September 6 2019 $
+.Dd $Mdocdate: March 29 2022 $
.Dt FCNTL 2
.Os
.Sh NAME
@@ -43,7 +43,7 @@
.Sh DESCRIPTION
The
.Fn fcntl
-provides control over the properties of a file that is already open.
+system call provides control over the properties of a file that is already open.
The argument
.Fa fd
is a descriptor to be operated on by
diff --git a/lib/libc/time/wcsftime.3 b/lib/libc/time/wcsftime.3
index 2c5ce8c8ca0..4c1964662a7 100644
--- a/lib/libc/time/wcsftime.3
+++ b/lib/libc/time/wcsftime.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wcsftime.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
+.\" $OpenBSD: wcsftime.3,v 1.4 2022/03/29 18:15:52 naddy Exp $
.\" Copyright (c) 2011 Marc Espie <espie@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
@@ -13,7 +13,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: March 29 2022 $
.Dt WCSFTIME 3
.Os
.Sh NAME
@@ -26,7 +26,7 @@
.Sh DESCRIPTION
The
.Fn wcsftime
-is a wide char equivalent of
+function is a wide char equivalent of
.Xr strftime 3 .
.Sh SEE ALSO
.Xr strftime 3