UbixOS V2 2.0

_types.h
Go to the documentation of this file.
1 /*-
2 * Copyright (c) 2002-2018 The UbixOS Project.
3 * All rights reserved.
4 *
5 * This was developed by Christopher W. Olsen for the UbixOS Project.
6 *
7 * Redistribution and use in source and binary forms, with or without modification, are permitted
8 * provided that the following conditions are met:
9 *
10 * 1) Redistributions of source code must retain the above copyright notice, this list of
11 * conditions, the following disclaimer and the list of authors.
12 * 2) Redistributions in binary form must reproduce the above copyright notice, this list of
13 * conditions, the following disclaimer and the list of authors in the documentation and/or
14 * other materials provided with the distribution.
15 * 3) Neither the name of the UbixOS Project nor the names of its contributors may be used to
16 * endorse or promote products derived from this software without specific prior written
17 * permission.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
20 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
22 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
24 * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
26 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29 #ifndef _SYS__TYPES_H_
30 #define _SYS__TYPES_H_
31
32
33 typedef char __int8_t;
34 typedef unsigned char __uint8_t;
35 typedef short __int16_t;
36 typedef unsigned short __uint16_t;
37 typedef int __int32_t;
38 typedef unsigned int __uint32_t;
39 typedef long long __int64_t;
40 typedef unsigned long long __uint64_t;
41
42 typedef __int64_t __rlim_t; /* resource limit - intentionally */
43 /* signed, because of legacy code */
44 /* that uses -1 for RLIM_INFINITY */
45
46 typedef unsigned long __clock_t;
47 typedef __uint32_t __ino_t; typedef __int32_t __ssize_t;/* stat types */
48 typedef __uint32_t __dev_t;/* device number */
49 typedef __uint16_t __mode_t; typedef __uint16_t __nlink_t;/* link count */
50 typedef __uint32_t __uid_t; typedef __uint32_t __gid_t; typedef __int32_t __time_t; typedef __int64_t __blkcnt_t;/* file block count */
51 typedef __uint32_t __blksize_t;/* file block size */
52 typedef __uint32_t __fflags_t;/* file flags */
53 typedef __int8_t __int_fast8_t; typedef __uint8_t __uint_fast8_t; typedef __int16_t __int_fast16_t; typedef __uint16_t __uint_fast16_t; typedef __int32_t __int_fast32_t; typedef __uint32_t __uint_fast32_t; typedef __int64_t __int_fast64_t; typedef __uint64_t __uint_fast64_t; typedef __int32_t __intptr_t; typedef __uint32_t __uintptr_t; typedef __uint32_t __uintfptr_t; typedef __uint32_t __size_t; typedef __int64_t __intmax_t; typedef __uint64_t __uintmax_t; typedef __int32_t __ptrdiff_t; typedef __uint8_t __uint_least8_t; typedef __uint16_t __uint_least16_t; typedef __uint32_t __uint_least32_t; typedef __uint64_t __uint_least64_t; typedef __int8_t __int_least8_t; typedef __int16_t __int_least16_t; typedef __int32_t __int_least32_t; typedef __int64_t __int_least64_t; typedef
54 int ___wchar_t;
55
56 typedef long __suseconds_t; /* microseconds (signed) */
57 typedef __int32_t __pid_t;/* process [group] */
58
59 #if !defined(__clang__) || !defined(__cplusplus)
60 typedef __uint_least16_t __char16_t; typedef __uint_least32_t __char32_t;
61 #endif
62
63 #endif
__fflags_t
__uint32_t __fflags_t
Definition: _types.h:52
__uintfptr_t
__uint32_t __uintfptr_t
Definition: _types.h:53
__clock_t
unsigned long __clock_t
Definition: _types.h:46
__uint8_t
unsigned char __uint8_t
Definition: _types.h:34
__dev_t
__uint32_t __dev_t
Definition: _types.h:48
__int_fast64_t
__int64_t __int_fast64_t
Definition: _types.h:53
__uint32_t
unsigned int __uint32_t
Definition: _types.h:38
__int_fast16_t
__int16_t __int_fast16_t
Definition: _types.h:53
__mode_t
__uint16_t __mode_t
Definition: _types.h:49
__char16_t
__uint_least16_t __char16_t
Definition: _types.h:60
__suseconds_t
long __suseconds_t
Definition: _types.h:56
__uint_least64_t
__uint64_t __uint_least64_t
Definition: _types.h:53
__uint_least8_t
__uint8_t __uint_least8_t
Definition: _types.h:53
__char32_t
__uint_least32_t __char32_t
Definition: _types.h:60
__ino_t
__uint32_t __ino_t
Definition: _types.h:47
__int64_t
long long __int64_t
Definition: _types.h:39
__blkcnt_t
__int64_t __blkcnt_t
Definition: _types.h:50
__int_least64_t
__int64_t __int_least64_t
Definition: _types.h:53
__uid_t
__uint32_t __uid_t
Definition: _types.h:50
__uint_fast8_t
__uint8_t __uint_fast8_t
Definition: _types.h:53
__blksize_t
__uint32_t __blksize_t
Definition: _types.h:51
__uint16_t
unsigned short __uint16_t
Definition: _types.h:36
__uint_least32_t
__uint32_t __uint_least32_t
Definition: _types.h:53
__uint_least16_t
__uint16_t __uint_least16_t
Definition: _types.h:53
__intmax_t
__int64_t __intmax_t
Definition: _types.h:53
__int_least16_t
__int16_t __int_least16_t
Definition: _types.h:53
__uint64_t
unsigned long long __uint64_t
Definition: _types.h:40
__ssize_t
__int32_t __ssize_t
Definition: _types.h:47
__uintmax_t
__uint64_t __uintmax_t
Definition: _types.h:53
__uint_fast64_t
__uint64_t __uint_fast64_t
Definition: _types.h:53
__int32_t
int __int32_t
Definition: _types.h:37
__int_fast32_t
__int32_t __int_fast32_t
Definition: _types.h:53
__int8_t
char __int8_t
Definition: _types.h:33
__uint_fast16_t
__uint16_t __uint_fast16_t
Definition: _types.h:53
__int16_t
short __int16_t
Definition: _types.h:35
__gid_t
__uint32_t __gid_t
Definition: _types.h:50
__rlim_t
__int64_t __rlim_t
Definition: _types.h:42
__uint_fast32_t
__uint32_t __uint_fast32_t
Definition: _types.h:53
__time_t
__int32_t __time_t
Definition: _types.h:50
__int_least32_t
__int32_t __int_least32_t
Definition: _types.h:53
__size_t
__uint32_t __size_t
Definition: _types.h:53
__ptrdiff_t
__int32_t __ptrdiff_t
Definition: _types.h:53
__pid_t
__int32_t __pid_t
Definition: _types.h:57
__nlink_t
__uint16_t __nlink_t
Definition: _types.h:49
__int_fast8_t
__int8_t __int_fast8_t
Definition: _types.h:53
__intptr_t
__int32_t __intptr_t
Definition: _types.h:53
___wchar_t
int ___wchar_t
Definition: _types.h:54
__int_least8_t
__int8_t __int_least8_t
Definition: _types.h:53
__uintptr_t
__uint32_t __uintptr_t
Definition: _types.h:53