Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ types(5) — NEWS-os 5.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought



types(5)               MISC. FILE FORMATS                types(5)



NAME
     types - primitive system data types

SYNOPSIS
     #include <sys/types.h>

DESCRIPTION
     The data types defined in types.h are used  in  UNIX  System
     code.  Some data of these types are accessible to user code:

          typedef  struct { int r[1]; } *physadr;
          typedef  long            clockt;
          typedef  long            daddrt;
          typedef  char *          caddrt;
          typedef  unsigned char   unchar;
          typedef  unsigned short  ushort;
          typedef  unsigned int    uint;
          typedef  unsigned long   ulong;
          typedef  unsigned long   inot;
          typedef  long            uidt;
          typedef  long            gidt;
          typedef  ulong           nlinkt;
          typedef  ulong           modet;
          typedef  short           cntt;
          typedef  long            timet;
          typedef  int             labelt[10];
          typedef  ulong           devt;
          typedef  long            offt;
          typedef  long            pidt;
          typedef  long            paddrt;
          typedef  int             keyt;
          typedef  unsigned char   uset;
          typedef  short           sysidt;
          typedef  short           indext;
          typedef  short           lockt;
          typedef  unsigned int    sizet;
          typedef  long            clockt;
          typedef  long            pidt;

     The form daddrt is used for disk addresses except in an  i-
     node on disk, see fs(4).  Times are encoded in seconds since
     00:00:00 UTC, 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 labelt variables are
     used to save the processor state while  another  process  is
     running.








                                                                1



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