summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 13:33:04 +0000
committerru <ru@FreeBSD.org>2002-12-18 13:33:04 +0000
commit863465c1ab2c58349d7f1f859822ef564e592280 (patch)
tree6086e75984c3472fb331e2598243ce260e65581f /lib/libc/string
parent8746d263e1451855025dc83dde5176cc9f1fbe3f (diff)
downloadFreeBSD-src-863465c1ab2c58349d7f1f859822ef564e592280.zip
FreeBSD-src-863465c1ab2c58349d7f1f859822ef564e592280.tar.gz
mdoc(7) police: Fixed abuses of the .Ar and .Em macros.
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/index.32
-rw-r--r--lib/libc/string/rindex.32
-rw-r--r--lib/libc/string/strchr.34
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/string/index.3 b/lib/libc/string/index.3
index 0102fa6..149b1af 100644
--- a/lib/libc/string/index.3
+++ b/lib/libc/string/index.3
@@ -53,7 +53,7 @@ function
locates the first character matching
.Fa c
(converted to a
-.Em char )
+.Vt char )
in the null-terminated string
.Fa s .
.Sh RETURN VALUES
diff --git a/lib/libc/string/rindex.3 b/lib/libc/string/rindex.3
index 954f126..ddef319 100644
--- a/lib/libc/string/rindex.3
+++ b/lib/libc/string/rindex.3
@@ -54,7 +54,7 @@ locates the last character
matching
.Fa c
(converted to a
-.Em char )
+.Vt char )
in the null-terminated string
.Fa s .
.Sh RETURN VALUES
diff --git a/lib/libc/string/strchr.3 b/lib/libc/string/strchr.3
index 90c78d4..5bbc739 100644
--- a/lib/libc/string/strchr.3
+++ b/lib/libc/string/strchr.3
@@ -52,9 +52,9 @@
The
.Fn strchr
function locates the first occurrence of
-.Ar c
+.Fa c
in the string pointed to by
-.Ar s .
+.Fa s .
The terminating
.Dv NUL
character is considered part of the string.
OpenPOWER on IntegriCloud