Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fs(5)

TYPES(7)

NAME

types − primitive system data types

SYNOPSIS

#include <sys/types.h>

HP-UX COMPATIBILITY

Level: HP-UX/RUN ONLY

Origin: System III

Remarks: The example given on this page is a typical version; the type names are in general expected to be present, although exceptions can be described in HARDWARE DEPENDENCIES.  The fundamental type which implements each typedef is implemetation dependent, as long as source code which uses those typedefs need not be changed. 

DESCRIPTION

The data types defined in the include file are used in HP-UX system code; some data of these types are accessible to user code:

#defineNREGS_S13/* no. of regs saved */

typedefstruct { int r[1]; } ∗physadr;
typedeflongdaddr_t;
typedefchar ∗caddr_t;
typedefunsigned intuint;
typedefunsigned shortushort;
typedefushortino_t;
typedefshortcnt_t;
typedeflongtime_t;
typedefintlabel_t[NREGS_S];
typedeflongdev_t;
typedeflongoff_t;
typedeflongpaddr_t;
typedeflongkey_t;

Note that the defined names above are standardized, but the actual type to which they are defined may vary between HP-UX implementations. 

The form daddr_t is used for disc addresses except in an i-node on disc, 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. 

HARDWARE DEPENDENCIES

Series 500:
The types NREGS_S and label_t are not implemented. 

SEE ALSO

fs(5). 

Hewlett-Packard  —  last mod. May 11, 2021

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