summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2010-02-04 11:23:28 +0000
committerru <ru@FreeBSD.org>2010-02-04 11:23:28 +0000
commit8923df5c26ddfa9cd69e14f78a412c20be8e053b (patch)
tree365118d201ee77e45bb1e26430aff6aac77fb6dc /lib
parentc9792e6e444e9d81e68f241097f11dcfb6906475 (diff)
downloadFreeBSD-src-8923df5c26ddfa9cd69e14f78a412c20be8e053b.zip
FreeBSD-src-8923df5c26ddfa9cd69e14f78a412c20be8e053b.tar.gz
Mark up "unsigned char".
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/string/memccpy.34
-rw-r--r--lib/libc/string/memchr.33
-rw-r--r--lib/libc/string/memcmp.34
-rw-r--r--lib/libc/string/memset.34
4 files changed, 11 insertions, 4 deletions
diff --git a/lib/libc/string/memccpy.3 b/lib/libc/string/memccpy.3
index 350f000..40a25be 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 ae883bf..6e33aef 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 507b930..88ed9a2 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 1dc287d..07bd7aa 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
OpenPOWER on IntegriCloud