Time format conversion problem

Henry Spencer henry at utzoo.uucp
Wed May 9 01:46:13 AEST 1990


In article <15080011 at hpfinote.HP.COM> pnl at hpfinote.HP.COM (Peter Lim) writes:
>I found that in Microsoft or Zortech C, XXXXXX() is mktime(); but
>I need to move the program to a UNIX environment which doesn't have
>mktime(). So, I'm stuck.
>
>Anybody know which library function works the same as mktime(), 
>or have some C code to replace the function ??

mktime() is the ANSI C library function for this job.  On old systems,
including most current Unixes, there simply isn't one.
-- 
If OSI is the answer, what is |     Henry Spencer at U of Toronto Zoology
the question?? -Rolf Nordhagen| uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.lang.c mailing list