diff options
Diffstat (limited to 'man3/strftime.3')
| -rw-r--r-- | man3/strftime.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/strftime.3 b/man3/strftime.3 index ca79556278..d063ced724 100644 --- a/man3/strftime.3 +++ b/man3/strftime.3 @@ -237,8 +237,8 @@ See also .BR ctime (3). .SH "RETURN VALUE" The \fBstrftime\fP() function returns the number of characters placed -in the array \fIs\fP, not including the terminating NUL character, -provided the string, including the terminating NUL, fits. +in the array \fIs\fP, not including the terminating null byte, +provided the string, including the terminating null byte, fits. Otherwise, it returns 0, and the contents of the array is undefined. (Thus at least since libc 4.4.4; very old versions of libc, such as libc 4.4.1, would return \fImax\fP if the array was too small.) |
