diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-05-12 09:06:04 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-05-12 09:06:04 +0000 |
| commit | 60a90ecdae7bf6d1a91dc5d1d7177e400b114e47 (patch) | |
| tree | 9f7c19a897084607a9688be5414d0d4cd6391b54 /man3/strftime.3 | |
| parent | d92a60f2575c95cd532b822e4fb983c3a9e35641 (diff) | |
| download | man-pages-60a90ecdae7bf6d1a91dc5d1d7177e400b114e47.tar.gz | |
Convert function formatting of the form "\fBname\fP()" to ".BR name ()".
Diffstat (limited to 'man3/strftime.3')
| -rw-r--r-- | man3/strftime.3 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/man3/strftime.3 b/man3/strftime.3 index 66825796ee..30bb02eb3b 100644 --- a/man3/strftime.3 +++ b/man3/strftime.3 @@ -43,7 +43,9 @@ strftime \- format date and time .BI " const struct tm *" tm ); .fi .SH DESCRIPTION -The \fBstrftime\fP() function formats the broken-down time \fItm\fP +The +.BR strftime () +function formats the broken-down time \fItm\fP according to the format specification \fIformat\fP and places the result in the character array \fIs\fP of size \fImax\fP. .PP @@ -239,7 +241,9 @@ The broken-down time structure \fItm\fP is defined in \fI<time.h>\fP. See also .BR ctime (3). .SH "RETURN VALUE" -The \fBstrftime\fP() function returns the number of characters placed +The +.BR strftime () +function returns the number of characters placed 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. |
