summaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2022-09-11 06:38:13 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2022-09-11 06:38:13 +0000
commit272335dff09eb442fbdf7e81932b406f2f2c02e0 (patch)
tree0f9b92c92b745f1757f00736d57cf9cf4def8b8d /lib/libc/string
parent830aea92a7879fb169129d063efaaff66a0cb89b (diff)
.Li -> .Vt where appropriate;
from josiah frentsos, tweaked by schwarze ok schwarze
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/memccpy.36
-rw-r--r--lib/libc/string/memchr.36
-rw-r--r--lib/libc/string/memcmp.36
-rw-r--r--lib/libc/string/memset.36
4 files changed, 12 insertions, 12 deletions
diff --git a/lib/libc/string/memccpy.3 b/lib/libc/string/memccpy.3
index 98326d68713..ac5719918fa 100644
--- a/lib/libc/string/memccpy.3
+++ b/lib/libc/string/memccpy.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: memccpy.3,v 1.12 2013/09/25 21:49:30 millert Exp $
+.\" $OpenBSD: memccpy.3,v 1.13 2022/09/11 06:38:11 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)memccpy.3 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: September 25 2013 $
+.Dd $Mdocdate: September 11 2022 $
.Dt MEMCCPY 3
.Os
.Sh NAME
@@ -49,7 +49,7 @@ to string
If the character
.Fa c
(as converted to an
-.Li unsigned char )
+.Vt unsigned char )
occurs in the string
.Fa src ,
the copy stops and a pointer to the byte after the copy of
diff --git a/lib/libc/string/memchr.3 b/lib/libc/string/memchr.3
index 8d8a9ddf9ce..2c961b63381 100644
--- a/lib/libc/string/memchr.3
+++ b/lib/libc/string/memchr.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: memchr.3,v 1.12 2014/04/07 17:57:56 schwarze Exp $
+.\" $OpenBSD: memchr.3,v 1.13 2022/09/11 06:38:11 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 7 2014 $
+.Dd $Mdocdate: September 11 2022 $
.Dt MEMCHR 3
.Os
.Sh NAME
@@ -50,7 +50,7 @@ The
function locates the first occurrence of
.Fa c
(converted to an
-.Li unsigned char )
+.Vt unsigned char )
in string
.Fa b .
.Pp
diff --git a/lib/libc/string/memcmp.3 b/lib/libc/string/memcmp.3
index 25d308e6171..86a95c8c191 100644
--- a/lib/libc/string/memcmp.3
+++ b/lib/libc/string/memcmp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: memcmp.3,v 1.9 2014/06/13 02:12:17 matthew Exp $
+.\" $OpenBSD: memcmp.3,v 1.10 2022/09/11 06:38:11 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 13 2014 $
+.Dd $Mdocdate: September 11 2022 $
.Dt MEMCMP 3
.Os
.Sh NAME
@@ -57,7 +57,7 @@ The
function returns zero if the two strings are identical,
otherwise returns the difference between the first two differing bytes
(treated as
-.Li unsigned char
+.Vt unsigned char
values, so that
.Sq Li \e200
is greater than
diff --git a/lib/libc/string/memset.3 b/lib/libc/string/memset.3
index ac5b7e90ad2..0051ff615d8 100644
--- a/lib/libc/string/memset.3
+++ b/lib/libc/string/memset.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: memset.3,v 1.8 2013/06/05 03:39:23 tedu Exp $
+.\" $OpenBSD: memset.3,v 1.9 2022/09/11 06:38:11 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: September 11 2022 $
.Dt MEMSET 3
.Os
.Sh NAME
@@ -49,7 +49,7 @@ function writes
bytes of value
.Fa c
(converted to an
-.Li unsigned char )
+.Vt unsigned char )
to the string
.Fa b .
.Sh RETURN VALUES