Cygwin strptime() is missing "%s" which strftime() has

Kaz Kylheku 920-082-4242@kylheku.com
Sun Jul 23 21:18:00 GMT 2017


On 22.07.2017 13:48, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote:
> Hello,
> 
> It looks like Cygwin implementation of strptime(3) cannot understand
> the "%s" format (seconds since Jan 1, 1970 UTC), which strftime() can.

But that's just scanning a decimal integer to time_t.

Where implemented, how does that deal with overflows and such compared 
to strtoul?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list