diff options
Diffstat (limited to 'usr/src/man/man3c/string.3c')
-rw-r--r-- | usr/src/man/man3c/string.3c | 4 |
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 |