On Tue, 15 Mar 2005, Philip Paeps wrote: >> *** Error code 1 > > Ugh, looks like I broke this... > > Is there a special magical format to use to printf a time_t without having it > break on at least one of the architectures we support? The only portable way seems to be strftime. But almost nobody bothers. strftime(output, sizeof(output), "%s", gmtime(&data->uptime)); -- Sten Spans "There is a crack in everything, that's how the light gets in." Leonard Cohen - AnthemReceived on Tue Mar 15 2005 - 10:15:33 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:30 UTC