strftime.3: Expand introductory text

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Witten 2010-01-17 05:02:38 +01:00 committed by Michael Kerrisk
parent ef2e066053
commit db74fcddde
1 changed files with 12 additions and 7 deletions

View File

@ -51,13 +51,18 @@ result in the character array \fIs\fP of size \fImax\fP.
.\" FIXME POSIX says: Local timezone information is used as though .\" FIXME POSIX says: Local timezone information is used as though
.\" strftime() called tzset(). But this doesn't appear to be the case .\" strftime() called tzset(). But this doesn't appear to be the case
.PP .PP
Ordinary characters placed in the format string are copied to \fIs\fP The format specification is a null-terminated string and may contain
without conversion. special character sequences called
.I "Conversion specifications" .IR "conversion specifications",
are introduced by a \(aq%\(aq each of which is introduced by a \(aq%\(aq character and terminated by
character, and terminated by a some other character known as a
.IR "conversion specifier character" , .IR "conversion specifier character".
and are replaced in \fIs\fP as follows: All other character sequences are
.IR "ordinary character sequences".
.PP
The characters of ordinary character sequences (including the null byte)
are copied verbatim from \fIformat\fP to \fIs\fP. However, the characters
of conversion specifications are replaced as follows:
.TP .TP
.B %a .B %a
The abbreviated weekday name according to the current locale. The abbreviated weekday name according to the current locale.