Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ types.h(7) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fs

values.h



TYPES.H(7,F)                AIX Technical Reference                TYPES.H(7,F)



-------------------------------------------------------------------------------
types.h



PURPOSE

Defines data types for the system.

SYNOPSIS

#include <sys/types.h>

DESCRIPTION

The data types defined in this include file are used in the AIX system source
code.  Some data of these types are accessible to user code:

     typedef struct {int r[1];} * physadr;
     typedef long                 daddr_t;
     typedef char *               caddr_t;
     typedef unsigned int         uint;
     typedef unsigned short       ushort;
     typedef unsigned long        ulong;
     typedef ulong                ino_t;
     typedef long                 time_t;
     typedef ulong                dev_t;
     typedef long                 off_t;
     typedef long                 paddr_t;
     typedef long                 key_t;
     typedef long                 pid_t;
     typedef ulong                uid_t;
     typedef ulong                gid_t;
     typedef ulong                mode_t;

Notes:

daddr_t  This data type is used for disk addresses.

time_t   Times are encoded in seconds since 00:00:00 GMT, January 1, 1970.

dev_t    The major and minor parts of a device code specify kind of device and
         unit number of the device, and they depend on the system
         customization.

off_t    Offsets are measured in bytes from the beginning of a file.

pid_t    Process ID type.

uid_t    User ID type.





Processed November 7, 1990       TYPES.H(7,F)                                 1





TYPES.H(7,F)                AIX Technical Reference                TYPES.H(7,F)



gid_t    Group ID type.

mode_t   File mode and permission bits.

FILE

/usr/include/sys/types.h

RELATED INFORMATION

In this book:  "fs" and "values.h."












































Processed November 7, 1990       TYPES.H(7,F)                                 2



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