The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
types.h File Reference

basic system types. More...

Go to the source code of this file.

Typedefs

typedef __SIZE_TYPE__ size_t
typedef __PTRDIFF_TYPE__ ssize_t
typedef int pid_t
typedef unsigned int uid_t
typedef unsigned int gid_t
typedef unsigned int mode_t
typedef __INT64_TYPE__ off_t
typedef unsigned int ino_t
typedef unsigned int dev_t
typedef unsigned int nlink_t
typedef unsigned int blksize_t
typedef unsigned int blkcnt_t
typedef long time_t
typedef long suseconds_t
typedef unsigned int id_t
typedef long clock_t

Detailed Description

basic system types.

the other headers take their types from here, so each type has one definition.

the sizes that the kernel ABI fixes (struct stat, struct timespec) are the same on i686 and x86_64: the ids and modes are 32 bits, file offsets (off_t) 64 bits; time_t and clock_t are long (the width of the kernel's long).

Typedef Documentation

◆ size_t

typedef __SIZE_TYPE__ size_t

◆ ssize_t

typedef __PTRDIFF_TYPE__ ssize_t

◆ pid_t

typedef int pid_t

◆ uid_t

typedef unsigned int uid_t

◆ gid_t

typedef unsigned int gid_t

◆ mode_t

typedef unsigned int mode_t

◆ off_t

typedef __INT64_TYPE__ off_t

◆ ino_t

typedef unsigned int ino_t

◆ dev_t

typedef unsigned int dev_t

◆ nlink_t

typedef unsigned int nlink_t

◆ blksize_t

typedef unsigned int blksize_t

◆ blkcnt_t

typedef unsigned int blkcnt_t

◆ time_t

typedef long time_t

◆ suseconds_t

typedef long suseconds_t

◆ id_t

typedef unsigned int id_t

◆ clock_t

typedef long clock_t