diff options
Diffstat (limited to 'include/stdlib.h')
-rw-r--r-- | include/stdlib.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index c0ec987..3e7ce25 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -68,6 +68,13 @@ typedef struct { long rem; /* remainder */ } ldiv_t; +#ifdef __LONG_LONG_SUPPORTED +typedef struct { + long long quot; + long long rem; +} lldiv_t; +#endif + #ifndef NULL #define NULL 0 #endif @@ -118,6 +125,12 @@ int wctomb __P((char *, wchar_t)); int mbtowc __P((wchar_t *, const char *, size_t)); size_t wcstombs __P((char *, const wchar_t *, size_t)); +#ifdef __LONG_LONG_SUPPORTED +long long + llabs __P((long long)) __pure2; +lldiv_t lldiv __P((long long, long long)) __pure2; +#endif + #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) extern char *_malloc_options; extern void (*_malloc_message)__P((char *p1, char *p2, char *p3, char *p4)); |