Any opinions on what strftime should do if a tm element is outre?

Arthur David Olson ado at elsie.UUCP
Wed Mar 15 11:21:55 AEST 1989


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 at ncifcrf.gov    ADO is a trademark of Ampex.



More information about the Comp.std.c mailing list