From: Michael Witten <mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Michael Kerrisk <mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH 6/9] strftime.3: Expanded introduction
Date: Sat, 9 Jan 2010 17:45:34 -0600 [thread overview]
Message-ID: <1263080737-2868-7-git-send-email-mfwitten@gmail.com> (raw)
In-Reply-To: <1263080737-2868-1-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Signed-off-by: Michael Witten <mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
man3/strftime.3 | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/man3/strftime.3 b/man3/strftime.3
index bafe841..38f3afb 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.
--
1.6.6.102.gd6f8f
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-01-09 23:45 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-09 23:45 [OVERVIEW 0/9] Cleanup Time Michael Witten
[not found] ` <1263080737-2868-1-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-09 23:45 ` [PATCH 1/9] tzset.3: Cleanup grammar/clarity Michael Witten
[not found] ` <1263080737-2868-2-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-16 19:08 ` Michael Kerrisk
2010-01-09 23:45 ` [PATCH 2/9] stime.2, strftime.3, tzset.3, zic.8: GMT -> UTC (where appropriate) Michael Witten
[not found] ` <1263080737-2868-3-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-16 19:20 ` Michael Kerrisk
2010-01-09 23:45 ` [PATCH 3/9] strftime.3: Clarification of %z Michael Witten
[not found] ` <1263080737-2868-4-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-16 19:26 ` Michael Kerrisk
2010-01-09 23:45 ` [PATCH 4/9] strftime.3: %z is defined by the SUSv3 Michael Witten
2010-01-09 23:45 ` [PATCH 5/9] strftime.3: Move 822-compliant date format example to EXAMPLES section Michael Witten
[not found] ` <1263080737-2868-6-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-17 5:33 ` Michael Kerrisk
2010-01-09 23:45 ` Michael Witten [this message]
[not found] ` <1263080737-2868-7-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-17 5:04 ` [PATCH 6/9] strftime.3: Expanded introduction Michael Kerrisk
2010-01-09 23:45 ` [PATCH 7/9] "timezone" -> "time zone" Michael Witten
[not found] ` <1263080737-2868-8-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-16 18:53 ` Michael Kerrisk
2010-01-09 23:45 ` [PATCH 8/9] Consistently define the Epoch Michael Witten
[not found] ` <1263080737-2868-9-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-17 4:58 ` Michael Kerrisk
2010-01-09 23:45 ` [PATCH 9/9] "null terminated" -> "null-terminated" Michael Witten
[not found] ` <1263080737-2868-10-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-01-16 19:02 ` Michael Kerrisk
2010-01-17 5:35 ` [OVERVIEW 0/9] Cleanup Time Michael Kerrisk
[not found] ` <cfd18e0f1001162135s7a9bf828oe08694374022199b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-18 13:51 ` Michael Witten
-- strict thread matches above, loose matches on Subject: below --
2009-12-03 22:39 [PATCH 1/9] tzset.3: Cleanup grammar/clarity Michael Witten
2009-12-03 22:39 ` [PATCH 2/9] stime.2, strftime.3, tzset.3, zic.8: GMT -> UTC (where appropriate) Michael Witten
2009-12-03 22:39 ` [PATCH 3/9] strftime.3: Clarification of %z Michael Witten
2009-12-03 22:39 ` [PATCH 4/9] strftime.3: %z is defined by the SUSv3 Michael Witten
2009-12-03 22:39 ` [PATCH 5/9] strftime.3: Move 822-compliant date format example to EXAMPLES section Michael Witten
[not found] ` <1259879998-1140-5-git-send-email-mfwitten-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-12-03 22:39 ` [PATCH 6/9] strftime.3: Expanded introduction Michael Witten
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1263080737-2868-7-git-send-email-mfwitten@gmail.com \
--to=mfwitten-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).