summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorallanjude <allanjude@FreeBSD.org>2014-05-27 04:30:56 +0000
committerallanjude <allanjude@FreeBSD.org>2014-05-27 04:30:56 +0000
commit418c5c97b2c06e1fdf86dc210ba28056a9502d35 (patch)
tree008951402e875e62523e8395a00a9ff0f08c18ad /lib/libc
parent4b40e47cf8359d8523d7bc430a69b6a9d2858f99 (diff)
downloadFreeBSD-src-418c5c97b2c06e1fdf86dc210ba28056a9502d35.zip
FreeBSD-src-418c5c97b2c06e1fdf86dc210ba28056a9502d35.tar.gz
Emphasis on 'do not' and 'complement' in the strcspn(3)
Replace literal parentheses with .Po/.Pc Approved by: wblock (mentor)
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/string/strspn.311
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/string/strspn.3 b/lib/libc/string/strspn.3
index 605e54f..542b190 100644
--- a/lib/libc/string/strspn.3
+++ b/lib/libc/string/strspn.3
@@ -71,13 +71,14 @@ spans the initial part of the null-terminated string
.Fa s
as long as the characters from
.Fa s
-do not occur in the null-terminated string
+.Sy do not
+occur in the null-terminated string
.Fa charset
-(it
-spans the
-.Em complement
+.Po it spans the
+.Sy complement
of
-.Fa charset ) .
+.Fa charset
+.Pc .
In other words, it computes the string array index
of the first character of
.Fa s
OpenPOWER on IntegriCloud