[Info-vax] no timegm() funtion in C RTL ?

Single Stage to Orbit alex.buell at munted.org.uk
Thu May 19 12:34:53 EDT 2011


On Thu, 2011-05-19 at 08:56 -0700, Pierre wrote:
> I'm looking for the timegm() function in the C RTL but can not find
> it :-/
> http://www.codecogs.com/reference/c/time.h/ctime.php
> 
> is this function standard and missing in DECC or is it an exotic
> function non standard function ? 

According to my man pages on Linux, timegm() is a non-standard GNU
extensions on the BSDs. mktime() is to be preferred instead.

For portability, use 
-- 
Tactical Nuclear Kittens





More information about the Info-vax mailing list