Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ types.h(7) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fs

values.h

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 RT PC  system source code.  Some data  of these types
     are accessible to user code:

          typedef struct {int r[1];} * physadr;
          typedef long                 level_t
          typedef long                 daddr_t;
          typedef char *               caddr_t;
          typedef unsigned int         uint;
          typedef unsigned short       ushort;
          typedef unsigned long        ulong;
          typedef ushort               ino_t;
          typedef short                cnt_t;
          typedef long                 time_t;
          typedef int                  label_t[11];
          typedef int                  dev_t;
          typedef long                 off_t;
          typedef long                 paddr_t;
          typedef long                 key_t;

     Notes:

     daddr_t   This  data type  is  used  for disk  addresses,
               except in  i-nodes on  disk.  See the  "fs" for
               the format of disk addresses used in i-nodes.

     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 begin-
               ning of a file.

     label_t   Variables  of this  type are  used to  save the
               processor  state   while  another   process  is
               running.

File

     /usr/include/sys/types.h

Related Information

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

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