libc.h (997B)
1 struct tm; 2 struct _FILE; 3 4 void *_getheap(void); 5 int _dtoi(char c); 6 7 #ifdef stdin 8 int _allocbuf(FILE *); 9 int _flsbuf(FILE *); 10 FILE *_fpopen(const char * restrict, const char *restrict, 11 FILE *restrict); 12 #endif 13 14 #ifdef _TIME_H 15 16 #define JAN 0 17 #define FEB 1 18 #define DEC 11 19 20 #define FEBDAYS(y) ((_daysyear(y) == 366) ? 29 : 28) 21 #define EPOCH 1970 22 #define BASEYEAR 1900 23 #define SECMIN 60 24 #define SECHOUR (60 * SECMIN) /* 3600 */ 25 #define SECDAY (24 * SECHOUR) /* 86400 */ 26 27 enum { 28 SUN, 29 MON, 30 TUE, 31 WED, 32 THU, 33 FRI, 34 SAT 35 }; 36 37 struct tzone; 38 39 /* _tzone.c variables */ 40 extern int _daylight; 41 extern char *_tzname[2]; 42 extern long _timezone, _dstzone; 43 44 extern int _daysmon[12]; 45 46 void _tzset(void); 47 int _isdst(struct tm *); 48 int _daysyear(int); 49 int _newyear(int); 50 char *_gmtoff(char *); 51 #endif 52 53 extern unsigned _exitn; 54 extern void (*_flushall)(void); 55 extern void (*_atexithdl)(void); 56 57 #ifdef _WCHAR_H 58 int _validutf8(wchar_t, int *); 59 wint_t _fputwc(wchar_t, struct _FILE *, int *); 60 #endif