summaryrefslogtreecommitdiff
path: root/man3/strdup.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2006-01-13 02:09:44 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2006-01-13 02:09:44 +0000
commit28d88c175143bdbc136bab4e30dd9f8d7299584b (patch)
tree23a00465a49f0162b4cdf1eebc61627bebef44a8 /man3/strdup.3
parent89c9a3145e552606737f11a9ed2f3822b9930460 (diff)
Global change to many pages...
Various pages use inconsistent terms for 'null byte' (which is the C99/SUSv3 term for the '\0' character). To rectify this the following changes were made in these pages: Replace 'zero byte' with 'null byte'. Replace 'null character' with 'null byte'. Replace 'nulls' with 'null bytes'. Replace 'NUL-terminated' by 'null-terminated'. Replace 'NUL' by 'null byte'. Replace 'terminating NUL' by 'terminating null byte'. Replace 'final NUL' by 'terminating null byte'. Replace 'NUL character' by 'null byte'.
Diffstat (limited to 'man3/strdup.3')
-rw-r--r--man3/strdup.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/strdup.3 b/man3/strdup.3
index 075982bb..83bec938 100644
--- a/man3/strdup.3
+++ b/man3/strdup.3
@@ -53,7 +53,7 @@ obtained with \fBmalloc\fP(3), and can be freed with \fBfree\fP(3).
The \fBstrndup\fP() function is similar, but only copies at most
\fIn\fP characters. If \fIs\fP is longer than \fIn\fP, only \fIn\fP
-characters are copied, and a terminating NUL is added.
+characters are copied, and a terminating null byte ('\\0') is added.
\fBstrdupa\fP() and \fBstrndupa\fP() are similar, but use \fBalloca(3)\fP
to allocate the buffer. They are only available when using the GNU