pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:1:   /*\   ||| This file is part of Pike. For copyright information see COPYRIGHT.   ||| Pike is distributed under GPL, LGPL and MPL. See the file COPYING   ||| for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.437 2002/09/07 18:35:07 grubba Exp $"); + RCSID("$Id: builtin_functions.c,v 1.438 2002/09/09 08:04:27 grubba Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"   #include "pike_error.h"   #include "constants.h"   #include "mapping.h"   #include "stralloc.h"
pike.git/src/builtin_functions.c:4124: Inside #if defined(HAVE_MKTIME)
   *! Year since 1900.    *! @member int(0..1) "isdst"    *! Is daylight savings time.    *! @member int "timezone"    *! The timezone offset from UTC in seconds. If left out, the time    *! will be calculated in the local timezone.    *! @endmapping    *!    *! Or you can just send them all on one line as the second syntax suggests.    *! +  *! @note +  *! On some operating systems (notably AIX), dates before Jan 1, 1970 +  *! 00:00:00 UTC are not supported. +  *! +  *! On most systems, the supported range of dates are Dec 13, 1901 +  *! 20:45:52 UTC through Jan 19, 2038 03:14:07 UTC (inclusive). +  *!    *! @seealso    *! @[time()], @[ctime()], @[localtime()], @[gmtime()]    */   PMOD_EXPORT void f_mktime (INT32 args)   {    INT_TYPE sec, min, hour, mday, mon, year;    struct tm date;    int retval, raw;       if (args<1)