haiku/headers/posix/inttypes.h
Axel Dörfler f8fdd89ffb Some header work to make it more posix compliant.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-19 17:35:55 +00:00

34 lines
666 B
C

#ifndef _INTTYPES_H_
#define _INTTYPES_H_
/*
** Distributed under the terms of the OpenBeOS License.
*/
#include <stdint.h>
typedef struct {
intmax_t quot; /* quotient */
intmax_t rem; /* remainder */
} imaxdiv_t;
#ifdef __cplusplus
extern "C" {
#endif
extern intmax_t imaxabs(intmax_t num);
extern imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom);
extern intmax_t strtoimax(const char *, char **, int);
extern uintmax_t strtoumax(const char *, char **, int);
//extern intmax_t wcstoimax(const __wchar_t *, __wchar_t **, int);
//extern uintmax_t wcstoumax(const __wchar_t *, __wchar_t **, int);
#ifdef __cplusplus
}
#endif
#endif /* _INTTYPES_H_ */