From (struct tm) to (time_t) ?

WU SHI-KUEI wu at spot.Colorado.EDU
Tue Oct 25 01:00:38 AEST 1988


In article <182 at libove.UUCP> root at libove.UUCP (Jay M. Libove) writes:
>.............................................................. but
>there is no way I know of to fill in such a structure and make a
>time_t out of it... e.g. for System V "touch" which allows a date
>argument to be given.
>
>Does anyone have the code for this (struct tm) to (time_t) conversion?

See page 50ff in Marc Rochkind's Advanced UNIX Programming.

Just a guest here. In real life:
Carl Brandauer
uunet!nbires!bdaemon!carl



More information about the Comp.lang.c mailing list