From: cuz Date: Tue, 12 Nov 2002 22:35:40 +0000 (+0000) Subject: Added _systime X-Git-Tag: V2.12.0~2124 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2cd37d74e49710b221979b34bd39060fec8447b7;p=cc65 Added _systime git-svn-id: svn://svn.cc65.org/cc65/trunk@1508 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/time.h b/include/time.h index ba0c2c91a..535b2d49c 100644 --- a/include/time.h +++ b/include/time.h @@ -90,7 +90,14 @@ unsigned _clocks_per_sec (void); -/* Function prototypes */ +time_t _systime (void); +/* Similar to time(), but: + * - Is not ISO C + * - Does not take the additional pointer + * - Does not set errno when returning -1 + */ + +/* ISO C function prototypes */ char* __fastcall__ asctime (const struct tm* timep); clock_t clock (void); char* __fastcall__ ctime (const time_t* timep);