diff options
| author | Michael Witten <mfwitten@gmail.com> | 2010-01-17 05:02:38 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2010-01-17 05:02:38 +0100 |
| commit | db74fcddde28434354634ded1f00bd929c4cd216 (patch) | |
| tree | 21f9c692d2e126586f80413c4ca0d1b5c7e3e657 /man3/strftime.3 | |
| parent | ef2e0660530c77fe7acb08a3c6def92f899bdafd (diff) | |
| download | man-pages-db74fcddde28434354634ded1f00bd929c4cd216.tar.gz | |
strftime.3: Expand introductory text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/strftime.3')
| -rw-r--r-- | man3/strftime.3 | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/man3/strftime.3 b/man3/strftime.3 index aacf8823ca..3daee5fe53 100644 --- a/man3/strftime.3 +++ b/man3/strftime.3 @@ -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 .\" strftime() called tzset(). But this doesn't appear to be the case .PP -Ordinary characters placed in the format string are copied to \fIs\fP -without conversion. -.I "Conversion specifications" -are introduced by a \(aq%\(aq -character, and terminated by a -.IR "conversion specifier character" , -and are replaced in \fIs\fP as follows: +The format specification is a null-terminated string and may contain +special character sequences called +.IR "conversion specifications", +each of which is introduced by a \(aq%\(aq character and terminated by +some other character known as a +.IR "conversion specifier character". +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 .B %a The abbreviated weekday name according to the current locale. |
