summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/string.3c
diff options
context:
space:
mode:
authorPeter Tribble <peter.tribble@gmail.com>2018-09-16 18:59:16 +0100
committerRobert Mustacchi <rm@joyent.com>2018-09-19 14:21:01 +0000
commit8a6f2a5b21d363a633522c2f2cfe0094f0f98bfa (patch)
treea87b6875ab9facf8e681397aa1cbd91ac64c2bff /usr/src/man/man3c/string.3c
parent78149ac661d1ba94da655d9464c92bdd323b0ffc (diff)
downloadillumos-gate-8a6f2a5b21d363a633522c2f2cfe0094f0f98bfa.tar.gz
9842 man page typos and spelling
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/man/man3c/string.3c')
-rw-r--r--usr/src/man/man3c/string.3c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/man/man3c/string.3c b/usr/src/man/man3c/string.3c
index 967e9a2137..478bbdb4bd 100644
--- a/usr/src/man/man3c/string.3c
+++ b/usr/src/man/man3c/string.3c
@@ -358,8 +358,8 @@ passed to \fBfree()\fR. The space for the new string is obtained using
\fBmalloc\fR(3C). If the new string cannot be created, a null pointer is
returned and \fBerrno\fR may be set to \fBENOMEM\fR to indicate that the
storage space available is insufficient. The \fBstrndup()\fR function is
-identical to \fBstrdup()\fR, execept it copies at most \fIn\fR bytes from
-\fBs1\fR and ensures the copied string is awlays null terminated.
+identical to \fBstrdup()\fR, except it copies at most \fIn\fR bytes from
+\fBs1\fR and ensures the copied string is always null terminated.
.LP
The functions \fBstrdupa()\fR and \fBstrndupa()\fR behave identically to
\fBstrdup()\fR and \fBstrndup()\fR respectively; however, instead of allocating