From 8923df5c26ddfa9cd69e14f78a412c20be8e053b Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 4 Feb 2010 11:23:28 +0000 Subject: [PATCH] Mark up "unsigned char". --- lib/libc/string/memccpy.3 | 4 +++- lib/libc/string/memchr.3 | 3 ++- lib/libc/string/memcmp.3 | 4 +++- lib/libc/string/memset.3 | 4 +++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/lib/libc/string/memccpy.3 b/lib/libc/string/memccpy.3 index 350f0007c85c..40a25be4361a 100644 --- a/lib/libc/string/memccpy.3 +++ b/lib/libc/string/memccpy.3 @@ -50,7 +50,9 @@ to string .Fa dst . If the character .Fa c -(as converted to an unsigned char) occurs in the string +(as converted to an +.Vt "unsigned char" ) +occurs in the string .Fa src , the copy stops and a pointer to the byte after the copy of .Fa c diff --git a/lib/libc/string/memchr.3 b/lib/libc/string/memchr.3 index ae883bf0a266..6e33aef98380 100644 --- a/lib/libc/string/memchr.3 +++ b/lib/libc/string/memchr.3 @@ -52,7 +52,8 @@ The function locates the first occurrence of .Fa c -(converted to an unsigned char) +(converted to an +.Vt "unsigned char" ) in string .Fa b . .Pp diff --git a/lib/libc/string/memcmp.3 b/lib/libc/string/memcmp.3 index 507b930cbc6b..88ed9a25934e 100644 --- a/lib/libc/string/memcmp.3 +++ b/lib/libc/string/memcmp.3 @@ -61,7 +61,9 @@ The function returns zero if the two strings are identical, otherwise returns the difference between the first two differing bytes -(treated as unsigned char values, so that +(treated as +.Vt "unsigned char" +values, so that .Sq Li \e200 is greater than .Sq Li \&\e0 , diff --git a/lib/libc/string/memset.3 b/lib/libc/string/memset.3 index 1dc287df298b..07bd7aa7d624 100644 --- a/lib/libc/string/memset.3 +++ b/lib/libc/string/memset.3 @@ -52,7 +52,9 @@ writes .Fa len bytes of value .Fa c -(converted to an unsigned char) to the string +(converted to an +.Vt "unsigned char" ) +to the string .Fa b . .Sh RETURN VALUES The