Article View: comp.std.c
Article #5754Any opinions on what strftime should do if a tm element is outre?
From: Arthur David Olson
Date: Wed, 15 Mar 1989 01:21
Date: Wed, 15 Mar 1989 01:21
16 lines
767 bytes
767 bytes
If you know what strftime should do if passed a "struct tm" that contains an
out-of-range value (for example what should happen if
{
struct tm tm;
char buf[30102];
int result;
tm = *localtime(0);
--tm.tm_wday;
result = strftime(buf, sizeof buf, "%A", &tm);
}
is executed), I'd appreciate hearing from you by electronic mail.
--
Arthur David Olson ado@ncifcrf.gov ADO is a trademark of Ampex.
Technical Details
Message-ID:
<9089@elsie.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!haven!cvl!elsie!adoShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!haven!cvl!elsie!ado From: ado@elsie.UUCP (Arthur David Olson) Newsgroups: comp.std.c Subject: Any opinions on what strftime should do if a tm element is outre? Message-ID: <9089@elsie.UUCP> Date: 15 Mar 89 01:21:55 GMT Organization: NIH-LEC, Bethesda, MD Lines: 16