From 3e268b5d835a2d2ed944b2e03c9cc7f178765bb3 Mon Sep 17 00:00:00 2001 From: jmc <> Date: Sun, 11 Sep 2022 06:38:11 +0000 Subject: .Li -> .Vt where appropriate; from josiah frentsos, tweaked by schwarze ok schwarze --- src/lib/libc/string/memccpy.3 | 6 +++--- src/lib/libc/string/memchr.3 | 6 +++--- src/lib/libc/string/memcmp.3 | 6 +++--- src/lib/libc/string/memset.3 | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/lib/libc/string') 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 @@ -.\" $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/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 @@ -.\" $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/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 @@ -.\" $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/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 @@ -.\" $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 -- cgit v1.2.3-55-g6feb