TYPES(7) — UNIX 3.0
NAME
types − primitive system data types
SYNOPSIS
#include <sys/types.h>
DESCRIPTION
The data types defined in the include file are used in UNIX system code; some data of these types are accessible to user code:
typedefstruct { int r[1]; } *physadr;
typedeflongdaddr_t;
typedefchar *caddr_t;
typedefunsigned shortushort;
typedefushortino_t;
#ifdef vax
typedef shortcnt_t;
#else
typedef charcnt_t;
#endif
typedeflongtime_t;
#ifdef vax
typedefintlabel_t[10];
#else
typedefintlabel_t[6];
#endif
typedefshortdev_t;
typedeflongoff_t;
typedeflongpaddr_t;
The form daddr_t is used for disk addresses except in an i-node on disk, see fs(5). Times are encoded in seconds since 00:00:00 GMT, January 1, 1970. The major and minor parts of a device code specify kind and unit number of a device and are installation-dependent. Offsets are measured in bytes from the beginning of a file. The label_t variables are used to save the processor state while another process is running.
SEE ALSO
May 16, 1980