summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/memset.32
-rw-r--r--lib/libc/string/strtok.32
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/string/memset.3 b/lib/libc/string/memset.3
index 6e78670..2a1253e 100644
--- a/lib/libc/string/memset.3
+++ b/lib/libc/string/memset.3
@@ -58,7 +58,7 @@ bytes of value
.Fa c
(converted to an unsigned char) to the string
.Fa b .
-.Sh RETURNS
+.Sh RETURN VALUES
The
.Fn memset
function returns its first argument.
diff --git a/lib/libc/string/strtok.3 b/lib/libc/string/strtok.3
index ae0c21c..9f03459 100644
--- a/lib/libc/string/strtok.3
+++ b/lib/libc/string/strtok.3
@@ -111,7 +111,7 @@ after replacing the token itself with a
.Dv NUL
character.
When no more tokens remain, a null pointer is returned.
-.Sh EXAMPLE
+.Sh EXAMPLES
The following uses
.Fn strtok_r
to parse two strings using separate contexts:
OpenPOWER on IntegriCloud