KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros | Typedefs
types.h File Reference

Common integer types. More...

#include <sys/cdefs.h>
#include <stddef.h>
#include <sys/_types.h>

Go to the source code of this file.

Macros

#define BYTE_ORDER   LITTLE_ENDIAN
 Endianness definition – Little Endian. More...
 

Typedefs

typedef unsigned long long uint64
 64-bit unsigned integer More...
 
typedef unsigned long uint32
 32-bit unsigned integer More...
 
typedef unsigned short uint16
 16-bit unsigned integer More...
 
typedef unsigned char uint8
 8-bit unsigned integer More...
 
typedef long long int64
 64-bit signed integer More...
 
typedef long int32
 32-bit signed integer More...
 
typedef short int16
 16-bit signed integer More...
 
typedef char int8
 8-bit signed integer More...
 
typedef volatile uint64 vuint64
 64-bit volatile unsigned type More...
 
typedef volatile uint32 vuint32
 32-bit volatile unsigned type More...
 
typedef volatile uint16 vuint16
 16-bit volatile unsigned type More...
 
typedef volatile uint8 vuint8
 8-bit volatile unsigned type More...
 
typedef volatile int64 vint64
 64-bit volatile signed type More...
 
typedef volatile int32 vint32
 32-bit volatile signed type More...
 
typedef volatile int16 vint16
 16-bit volatile signed type More...
 
typedef volatile int8 vint8
 8-bit volatile signed type More...
 
typedef uint32 ptr_t
 Pointer arithmetic type. More...
 
typedef unsigned char u_char
 BSD-style unsigned char. More...
 
typedef unsigned short u_short
 BSD-style unsigned short. More...
 
typedef unsigned int u_int
 BSD-style unsigned integer. More...
 
typedef unsigned long u_long
 BSD-style unsigned long. More...
 
typedef unsigned short ushort
 BSD-style unsigned short. More...
 
typedef unsigned int uint
 BSD-style unsigned integer. More...
 
typedef int handle_t
 Generic "handle" type. More...
 
typedef handle_t tid_t
 Thread ID type. More...
 
typedef handle_t prio_t
 Priority value type. More...
 

Detailed Description

Common integer types.

This file contains typedefs for some common/useful integer types. These types include ones that tell you exactly how long they are, as well as some BSD-isms.

Author
Dan Potter

Macro Definition Documentation

#define BYTE_ORDER   LITTLE_ENDIAN

Endianness definition – Little Endian.

Typedef Documentation

typedef int handle_t

Generic "handle" type.

typedef short int16

16-bit signed integer

typedef long int32

32-bit signed integer

typedef long long int64

64-bit signed integer

typedef char int8

8-bit signed integer

typedef handle_t prio_t

Priority value type.

typedef uint32 ptr_t

Pointer arithmetic type.

typedef handle_t tid_t

Thread ID type.

typedef unsigned char u_char

BSD-style unsigned char.

typedef unsigned int u_int

BSD-style unsigned integer.

typedef unsigned long u_long

BSD-style unsigned long.

typedef unsigned short u_short

BSD-style unsigned short.

typedef unsigned int uint

BSD-style unsigned integer.

typedef unsigned short uint16

16-bit unsigned integer

typedef unsigned long uint32

32-bit unsigned integer

typedef unsigned long long uint64

64-bit unsigned integer

typedef unsigned char uint8

8-bit unsigned integer

typedef unsigned short ushort

BSD-style unsigned short.

typedef volatile int16 vint16

16-bit volatile signed type

typedef volatile int32 vint32

32-bit volatile signed type

typedef volatile int64 vint64

64-bit volatile signed type

typedef volatile int8 vint8

8-bit volatile signed type

typedef volatile uint16 vuint16

16-bit volatile unsigned type

typedef volatile uint32 vuint32

32-bit volatile unsigned type

typedef volatile uint64 vuint64

64-bit volatile unsigned type

typedef volatile uint8 vuint8

8-bit volatile unsigned type