UbixOS  2.0
types.h File Reference
#include <sys/_types.h>
#include <sys/select.h>
Include dependency graph for types.h:

Go to the source code of this file.

Macros

#define __CHAR_BIT   8
 
#define __ULONG_MAX   0xffffffffUL
 
#define __USHRT_MAX   0xffff /* max value for an unsigned short */
 
#define _INO_T_DECLARED
 
#define _INT16_T_DECLARED
 
#define _INT32_T_DECLARED
 
#define _INT64_T_DECLARED
 
#define _INT8_T_DECLARED
 
#define _MODE_T_DECLARED
 
#define _QUAD_HIGHWORD   1
 
#define _QUAD_LOWWORD   0
 
#define _TIME_T_DECLARED
 
#define B   (1 << HALF_BITS) /* digit base */
 
#define CHAR_BIT   __CHAR_BIT
 
#define COMBINE(a, b)   (((u_long)(a) << HALF_BITS) | (b))
 
#define H   _QUAD_HIGHWORD
 
#define HALF_BITS   (sizeof(long) * CHAR_BIT / 2)
 
#define HHALF(x)   ((x) >> HALF_BITS)
 
#define L   _QUAD_LOWWORD
 
#define LHALF(x)   ((x) & ((1 << HALF_BITS) - 1))
 
#define LHUP(x)   ((x) << HALF_BITS)
 
#define LONG_BITS   (sizeof(long) * CHAR_BIT)
 
#define NULL   0
 
#define QUAD_BITS   (sizeof(quad_t) * CHAR_BIT)
 
#define ULONG_MAX   __ULONG_MAX
 
#define USHRT_MAX   __USHRT_MAX
 

Typedefs

typedef __blkcnt_t blkcnt_t
 
typedef __blksize_t blksize_t
 
typedef char * caddr_t
 
typedef __int64_t daddr_t
 
typedef unsigned short digit
 
typedef __fflags_t fflags_t
 
typedef __gid_t gid_t
 
typedef __ino_t ino_t
 
typedef short Int16
 
typedef __int16_t int16_t
 
typedef long Int32
 
typedef __int32_t int32_t
 
typedef __int64_t int64_t
 
typedef char Int8
 
typedef __int8_t int8_t
 
typedef int32_t intmax_t
 
typedef __mode_t mode_t
 
typedef __int64_t off_t
 
typedef int pid_t
 
typedef int pidType
 
typedef int32_t ptrdiff_t
 
typedef unsigned int qshift_t
 
typedef __int64_t quad_t
 
typedef int size_t
 
typedef __ssize_t ssize_t
 
typedef __time_t time_t
 
typedef unsigned char u_char
 
typedef __uint32_t u_daddr_t
 
typedef unsigned int u_int
 
typedef __uint16_t u_int16_t
 
typedef __uint32_t u_int32_t
 
typedef __uint64_t u_int64_t
 
typedef __uint8_t u_int8_t
 
typedef unsigned long u_long
 
typedef __uint64_t u_quad_t
 
typedef unsigned short u_short
 
typedef __uid_t uid_t
 
typedef unsigned int uInt
 
typedef unsigned short uInt16
 
typedef __uint16_t uint16_t
 
typedef unsigned int uInt32
 
typedef __uint32_t uint32_t
 
typedef __uint64_t uint64_t
 
typedef unsigned char uInt8
 
typedef __uint8_t uint8_t
 
typedef __uintfptr_t uintfptr_t
 
typedef uint32_t uintmax_t
 
typedef uint32_t uintptr_t
 
typedef __uint64_t uquad_t
 
typedef __uint32_t vm_offset_t
 

Enumerations

enum  bool { FALSE =0, TRUE =1 }
 

Macro Definition Documentation

◆ __CHAR_BIT

#define __CHAR_BIT   8

Definition at line 157 of file types.h.

◆ __ULONG_MAX

#define __ULONG_MAX   0xffffffffUL

Definition at line 138 of file types.h.

◆ __USHRT_MAX

#define __USHRT_MAX   0xffff /* max value for an unsigned short */

Definition at line 139 of file types.h.

◆ _INO_T_DECLARED

#define _INO_T_DECLARED

Definition at line 94 of file types.h.

◆ _INT16_T_DECLARED

#define _INT16_T_DECLARED

Definition at line 104 of file types.h.

◆ _INT32_T_DECLARED

#define _INT32_T_DECLARED

Definition at line 109 of file types.h.

◆ _INT64_T_DECLARED

#define _INT64_T_DECLARED

Definition at line 114 of file types.h.

◆ _INT8_T_DECLARED

#define _INT8_T_DECLARED

Definition at line 99 of file types.h.

◆ _MODE_T_DECLARED

#define _MODE_T_DECLARED

Definition at line 176 of file types.h.

◆ _QUAD_HIGHWORD

#define _QUAD_HIGHWORD   1

Definition at line 151 of file types.h.

◆ _QUAD_LOWWORD

#define _QUAD_LOWWORD   0

Definition at line 152 of file types.h.

◆ _TIME_T_DECLARED

#define _TIME_T_DECLARED

Definition at line 130 of file types.h.

◆ B

#define B   (1 << HALF_BITS) /* digit base */

Definition at line 169 of file types.h.

◆ CHAR_BIT

#define CHAR_BIT   __CHAR_BIT

Definition at line 158 of file types.h.

◆ COMBINE

#define COMBINE (   a,
 
)    (((u_long)(a) << HALF_BITS) | (b))

Definition at line 172 of file types.h.

◆ H

#define H   _QUAD_HIGHWORD

Definition at line 154 of file types.h.

◆ HALF_BITS

#define HALF_BITS   (sizeof(long) * CHAR_BIT / 2)

Definition at line 162 of file types.h.

◆ HHALF

#define HHALF (   x)    ((x) >> HALF_BITS)

Definition at line 163 of file types.h.

◆ L

#define L   _QUAD_LOWWORD

Definition at line 155 of file types.h.

◆ LHALF

#define LHALF (   x)    ((x) & ((1 << HALF_BITS) - 1))

Definition at line 164 of file types.h.

◆ LHUP

#define LHUP (   x)    ((x) << HALF_BITS)

Definition at line 165 of file types.h.

◆ LONG_BITS

#define LONG_BITS   (sizeof(long) * CHAR_BIT)

Definition at line 161 of file types.h.

◆ NULL

#define NULL   0

Definition at line 36 of file types.h.

◆ QUAD_BITS

#define QUAD_BITS   (sizeof(quad_t) * CHAR_BIT)

Definition at line 160 of file types.h.

◆ ULONG_MAX

#define ULONG_MAX   __ULONG_MAX

Definition at line 141 of file types.h.

◆ USHRT_MAX

#define USHRT_MAX   __USHRT_MAX

Definition at line 142 of file types.h.

Typedef Documentation

◆ blkcnt_t

Definition at line 124 of file types.h.

◆ blksize_t

Definition at line 125 of file types.h.

◆ caddr_t

typedef char * caddr_t

Definition at line 41 of file types.h.

◆ daddr_t

typedef __int64_t daddr_t

Definition at line 59 of file types.h.

◆ digit

typedef unsigned short digit

Definition at line 146 of file types.h.

◆ fflags_t

Definition at line 126 of file types.h.

◆ gid_t

typedef __gid_t gid_t

Definition at line 123 of file types.h.

◆ ino_t

typedef __ino_t ino_t

Definition at line 93 of file types.h.

◆ Int16

typedef short Int16

Definition at line 67 of file types.h.

◆ int16_t

typedef __int16_t int16_t

Definition at line 103 of file types.h.

◆ Int32

typedef long Int32

Definition at line 68 of file types.h.

◆ int32_t

typedef __int32_t int32_t

Definition at line 108 of file types.h.

◆ int64_t

typedef __int64_t int64_t

Definition at line 113 of file types.h.

◆ Int8

typedef char Int8

Definition at line 66 of file types.h.

◆ int8_t

typedef __int8_t int8_t

Definition at line 98 of file types.h.

◆ intmax_t

typedef int32_t intmax_t

Definition at line 134 of file types.h.

◆ mode_t

typedef __mode_t mode_t

Definition at line 175 of file types.h.

◆ off_t

typedef __int64_t off_t

Definition at line 119 of file types.h.

◆ pid_t

typedef int pid_t

Definition at line 77 of file types.h.

◆ pidType

typedef int pidType

Definition at line 75 of file types.h.

◆ ptrdiff_t

typedef int32_t ptrdiff_t

Definition at line 135 of file types.h.

◆ qshift_t

typedef unsigned int qshift_t

Definition at line 167 of file types.h.

◆ quad_t

typedef __int64_t quad_t

Definition at line 57 of file types.h.

◆ size_t

typedef int size_t

Definition at line 78 of file types.h.

◆ ssize_t

typedef __ssize_t ssize_t

Definition at line 117 of file types.h.

◆ time_t

typedef __time_t time_t

Definition at line 129 of file types.h.

◆ u_char

typedef unsigned char u_char

Definition at line 70 of file types.h.

◆ u_daddr_t

Definition at line 60 of file types.h.

◆ u_int

typedef unsigned int u_int

Definition at line 72 of file types.h.

◆ u_int16_t

Definition at line 52 of file types.h.

◆ u_int32_t

Definition at line 53 of file types.h.

◆ u_int64_t

Definition at line 54 of file types.h.

◆ u_int8_t

Definition at line 51 of file types.h.

◆ u_long

typedef unsigned long u_long

Definition at line 73 of file types.h.

◆ u_quad_t

Definition at line 55 of file types.h.

◆ u_short

typedef unsigned short u_short

Definition at line 71 of file types.h.

◆ uid_t

typedef __uid_t uid_t

Definition at line 122 of file types.h.

◆ uInt

typedef unsigned int uInt

Definition at line 65 of file types.h.

◆ uInt16

typedef unsigned short uInt16

Definition at line 63 of file types.h.

◆ uint16_t

Definition at line 45 of file types.h.

◆ uInt32

typedef unsigned int uInt32

Definition at line 64 of file types.h.

◆ uint32_t

Definition at line 46 of file types.h.

◆ uint64_t

Definition at line 47 of file types.h.

◆ uInt8

typedef unsigned char uInt8

Definition at line 62 of file types.h.

◆ uint8_t

typedef __uint8_t uint8_t

Definition at line 44 of file types.h.

◆ uintfptr_t

Definition at line 39 of file types.h.

◆ uintmax_t

Definition at line 133 of file types.h.

◆ uintptr_t

Definition at line 136 of file types.h.

◆ uquad_t

Definition at line 48 of file types.h.

◆ vm_offset_t

Definition at line 120 of file types.h.

Enumeration Type Documentation

◆ bool

enum bool
Enumerator
FALSE 
TRUE 

Definition at line 82 of file types.h.