|
@ -1,4 +1,4 @@ |
|
|
/* $OpenBSD: inttypes.h,v 1.9 2006/01/15 00:47:51 millert Exp $ */ |
|
|
|
|
|
|
|
|
/* $OpenBSD: inttypes.h,v 1.10 2009/01/13 18:13:51 kettenis Exp $ */ |
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
|
* Copyright (c) 1997, 2005 Todd C. Miller <Todd.Miller@courtesan.com> |
|
|
* Copyright (c) 1997, 2005 Todd C. Miller <Todd.Miller@courtesan.com> |
|
@ -21,6 +21,10 @@ |
|
|
|
|
|
|
|
|
#include <sys/stdint.h> |
|
|
#include <sys/stdint.h> |
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
|
|
#define __wchar_t wchar_t |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
#if !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) |
|
|
#if !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) |
|
|
/* |
|
|
/* |
|
|
* 7.8.1 Macros for format specifiers |
|
|
* 7.8.1 Macros for format specifiers |
|
@ -252,6 +256,10 @@ intmax_t imaxabs(intmax_t); |
|
|
imaxdiv_t imaxdiv(intmax_t, intmax_t); |
|
|
imaxdiv_t imaxdiv(intmax_t, intmax_t); |
|
|
intmax_t strtoimax(const char *, char **, int); |
|
|
intmax_t strtoimax(const char *, char **, int); |
|
|
uintmax_t strtoumax(const char *, char **, int); |
|
|
uintmax_t strtoumax(const char *, char **, int); |
|
|
|
|
|
intmax_t wcstoimax(const __wchar_t * __restrict, |
|
|
|
|
|
__wchar_t ** __restrict, int); |
|
|
|
|
|
uintmax_t wcstoumax(const __wchar_t * __restrict, |
|
|
|
|
|
__wchar_t ** __restrict, int); |
|
|
__END_DECLS |
|
|
__END_DECLS |
|
|
|
|
|
|
|
|
#endif /* _INTTYPES_H_ */ |
|
|
#endif /* _INTTYPES_H_ */ |