whoops - forgot to commit header files
[reactos.git] / posix / include / inttypes.h
1 /*
2 * inttypes.h
3 *
4 * fixed size integral types. Based on the Single UNIX(r) Specification,
5 * Version 2
6 *
7 * This file is part of the ReactOS Operating System.
8 *
9 * Contributors:
10 * Created by KJK::Hyperion <noog@libero.it>
11 *
12 * THIS SOFTWARE IS NOT COPYRIGHTED
13 *
14 * This source code is offered for use in the public domain. You may
15 * use, modify or distribute it freely.
16 *
17 * This code is distributed in the hope that it will be useful but
18 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
19 * DISCLAMED. This includes but is not limited to warranties of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21 *
22 */
23 #ifndef __INTTYPES_H_INCLUDED__
24 #define __INTTYPES_H_INCLUDED__
25
26 /* INCLUDES */
27
28 /* OBJECTS */
29
30 /* TYPES */
31 /* signed */
32 typedef signed char int8_t; /* 8-bit signed integral type. */
33 typedef signed short int int16_t; /* 16-bit signed integral type. */
34 typedef signed long int int32_t; /* 32-bit signed integral type. */
35 typedef signed long long int64_t; /* 64-bit signed integral type. */
36
37 /* unsigned */
38 typedef unsigned char uint8_t; /* 8-bit unsigned integral type. */
39 typedef unsigned short int uint16_t; /* 16-bit unsigned integral type. */
40 typedef unsigned long int uint32_t; /* 32-bit unsigned integral type. */
41 typedef unsigned long long uint64_t; /* 64-bit unsigned integral type. */
42
43 /* pointer-sized */
44 typedef signed long int intptr_t; /* Signed integral type large enough
45 to hold any pointer. */
46 typedef unsigned long int uintptr_t; /* Unsigned integral type large
47 enough to hold any pointer. */
48
49 /* CONSTANTS */
50
51 /* PROTOTYPES */
52
53 /* MACROS */
54
55 #endif /* __INTTYPES_H_INCLUDED__ */
56
57 /* EOF */
58