[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ctime(3) manpage obscurity?



Brian Kifiak <bk_(_at_)_rt_(_dot_)_fm> wrote:

>      Avoid using out-of-range values with mktime() when setting up
>      lunch with promptness sticklers in Riyadh.
> 
> what do promptness sticklers in saudi arabia's capital have to do
> with mktime()?

I understand this circumlocution to mean "... when you want to be
on time".  That is, if you feed out-of-range values into mktime(),
it will produce a wrong/unexpected result.  In other words, the
well-known SI-SO principle.  Take care to check your input values.

-- 
Christian "naddy" Weisgerber                          naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de