summaryrefslogtreecommitdiff
path: root/src/lib/libc/string
diff options
context:
space:
mode:
authorjmc <>2022-09-11 06:38:11 +0000
committerjmc <>2022-09-11 06:38:11 +0000
commit3e268b5d835a2d2ed944b2e03c9cc7f178765bb3 (patch)
treefef440286902c30bd0cbff19e3da976f80de9175 /src/lib/libc/string
parent95806d271a4d8ed4658ab14b5713895696bb8919 (diff)
downloadopenbsd-3e268b5d835a2d2ed944b2e03c9cc7f178765bb3.tar.gz
openbsd-3e268b5d835a2d2ed944b2e03c9cc7f178765bb3.tar.bz2
openbsd-3e268b5d835a2d2ed944b2e03c9cc7f178765bb3.zip
.Li -> .Vt where appropriate;
from josiah frentsos, tweaked by schwarze ok schwarze
Diffstat (limited to 'src/lib/libc/string')
-rw-r--r--src/lib/libc/string/memccpy.36
-rw-r--r--src/lib/libc/string/memchr.36
-rw-r--r--src/lib/libc/string/memcmp.36
-rw-r--r--src/lib/libc/string/memset.36
4 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/libc/string/memccpy.3 b/src/lib/libc/string/memccpy.3
index 98326d6871..ac5719918f 100644
--- a/src/lib/libc/string/memccpy.3
+++ b/src/lib/libc/string/memccpy.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: memccpy.3,v 1.12 2013/09/25 21:49:30 millert Exp $ 1.\" $OpenBSD: memccpy.3,v 1.13 2022/09/11 06:38:11 jmc Exp $
2.\" 2.\"
3.\" Copyright (c) 1990, 1991, 1993 3.\" Copyright (c) 1990, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
29.\" 29.\"
30.\" @(#)memccpy.3 8.1 (Berkeley) 6/9/93 30.\" @(#)memccpy.3 8.1 (Berkeley) 6/9/93
31.\" 31.\"
32.Dd $Mdocdate: September 25 2013 $ 32.Dd $Mdocdate: September 11 2022 $
33.Dt MEMCCPY 3 33.Dt MEMCCPY 3
34.Os 34.Os
35.Sh NAME 35.Sh NAME
@@ -49,7 +49,7 @@ to string
49If the character 49If the character
50.Fa c 50.Fa c
51(as converted to an 51(as converted to an
52.Li unsigned char ) 52.Vt unsigned char )
53occurs in the string 53occurs in the string
54.Fa src , 54.Fa src ,
55the copy stops and a pointer to the byte after the copy of 55the copy stops and a pointer to the byte after the copy of
diff --git a/src/lib/libc/string/memchr.3 b/src/lib/libc/string/memchr.3
index 8d8a9ddf9c..2c961b6338 100644
--- a/src/lib/libc/string/memchr.3
+++ b/src/lib/libc/string/memchr.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: memchr.3,v 1.12 2014/04/07 17:57:56 schwarze Exp $ 1.\" $OpenBSD: memchr.3,v 1.13 2022/09/11 06:38:11 jmc Exp $
2.\" 2.\"
3.\" Copyright (c) 1990, 1991 The Regents of the University of California. 3.\" Copyright (c) 1990, 1991 The Regents of the University of California.
4.\" All rights reserved. 4.\" All rights reserved.
@@ -31,7 +31,7 @@
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE. 32.\" SUCH DAMAGE.
33.\" 33.\"
34.Dd $Mdocdate: April 7 2014 $ 34.Dd $Mdocdate: September 11 2022 $
35.Dt MEMCHR 3 35.Dt MEMCHR 3
36.Os 36.Os
37.Sh NAME 37.Sh NAME
@@ -50,7 +50,7 @@ The
50function locates the first occurrence of 50function locates the first occurrence of
51.Fa c 51.Fa c
52(converted to an 52(converted to an
53.Li unsigned char ) 53.Vt unsigned char )
54in string 54in string
55.Fa b . 55.Fa b .
56.Pp 56.Pp
diff --git a/src/lib/libc/string/memcmp.3 b/src/lib/libc/string/memcmp.3
index 25d308e617..86a95c8c19 100644
--- a/src/lib/libc/string/memcmp.3
+++ b/src/lib/libc/string/memcmp.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: memcmp.3,v 1.9 2014/06/13 02:12:17 matthew Exp $ 1.\" $OpenBSD: memcmp.3,v 1.10 2022/09/11 06:38:11 jmc Exp $
2.\" 2.\"
3.\" Copyright (c) 1990, 1991 The Regents of the University of California. 3.\" Copyright (c) 1990, 1991 The Regents of the University of California.
4.\" All rights reserved. 4.\" All rights reserved.
@@ -31,7 +31,7 @@
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE. 32.\" SUCH DAMAGE.
33.\" 33.\"
34.Dd $Mdocdate: June 13 2014 $ 34.Dd $Mdocdate: September 11 2022 $
35.Dt MEMCMP 3 35.Dt MEMCMP 3
36.Os 36.Os
37.Sh NAME 37.Sh NAME
@@ -57,7 +57,7 @@ The
57function returns zero if the two strings are identical, 57function returns zero if the two strings are identical,
58otherwise returns the difference between the first two differing bytes 58otherwise returns the difference between the first two differing bytes
59(treated as 59(treated as
60.Li unsigned char 60.Vt unsigned char
61values, so that 61values, so that
62.Sq Li \e200 62.Sq Li \e200
63is greater than 63is greater than
diff --git a/src/lib/libc/string/memset.3 b/src/lib/libc/string/memset.3
index ac5b7e90ad..0051ff615d 100644
--- a/src/lib/libc/string/memset.3
+++ b/src/lib/libc/string/memset.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: memset.3,v 1.8 2013/06/05 03:39:23 tedu Exp $ 1.\" $OpenBSD: memset.3,v 1.9 2022/09/11 06:38:11 jmc Exp $
2.\" 2.\"
3.\" Copyright (c) 1990, 1991 The Regents of the University of California. 3.\" Copyright (c) 1990, 1991 The Regents of the University of California.
4.\" All rights reserved. 4.\" All rights reserved.
@@ -31,7 +31,7 @@
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE. 32.\" SUCH DAMAGE.
33.\" 33.\"
34.Dd $Mdocdate: June 5 2013 $ 34.Dd $Mdocdate: September 11 2022 $
35.Dt MEMSET 3 35.Dt MEMSET 3
36.Os 36.Os
37.Sh NAME 37.Sh NAME
@@ -49,7 +49,7 @@ function writes
49bytes of value 49bytes of value
50.Fa c 50.Fa c
51(converted to an 51(converted to an
52.Li unsigned char ) 52.Vt unsigned char )
53to the string 53to the string
54.Fa b . 54.Fa b .
55.Sh RETURN VALUES 55.Sh RETURN VALUES