Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fs(4)

TYPES(5)  —  Silicon Graphics

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 intuint;
typedefunsigned shortushort;
typedefushortino_t;
typedefshortcnt_t;
typedeflongtime_t;
typedefintlabel_t[13];
typedefshortdev_t;
typedeflongoff_t;
typedeflongpaddr_t;
typedeflongkey_t;
typedef unsigned charu_char;
typedef unsigned shortu_short;
typedef unsigned intu_int;
typedef unsigned longu_long;

The form daddr_t is used for disk addresses except in an i-node on disk, see fs(4). 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

fs(4). 

Version 2.1  —  January 02, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026