mirror of https://github.com/mkerrisk/man-pages
ctime.3 Minor rewording
Clarify wording for ctime_r() and asctime_r() to indicate that the bffer must be at least 26 *bytes*.
This commit is contained in:
parent
9ef659a9a8
commit
ef38dda012
|
@ -167,7 +167,8 @@ with information about the current timezone.
|
|||
The reentrant version
|
||||
.BR ctime_r ()
|
||||
does the same, but stores the
|
||||
string in a user-supplied buffer of length at least 26.
|
||||
string in a user-supplied buffer
|
||||
which should have room for at least 26 bytes.
|
||||
It need not
|
||||
set \fItzname\fP.
|
||||
.PP
|
||||
|
@ -214,7 +215,7 @@ overwritten by subsequent calls to any of the date and time functions.
|
|||
The
|
||||
.BR asctime_r ()
|
||||
function does the same, but stores the string in
|
||||
a user-supplied buffer of length at least 26.
|
||||
a user-supplied buffer which should have room for at least 26 bytes.
|
||||
.PP
|
||||
The
|
||||
.BR mktime ()
|
||||
|
|
Loading…
Reference in New Issue