01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

TYPES ( S) TYPES ( S)<br />

NAME<br />

types - primitive system data types<br />

SYNOPSIS<br />

#include < sys/ types.h ><br />

DESCRIPTION<br />

The data types defined in the include file are used in UNIX system<br />

code; some data of these types are accessible to user code:<br />

typedef struct { int r[1]; } * physadr;<br />

typedef long daddr_t;<br />

typedef char * caddr_t;<br />

typedef unsigned int uint;<br />

typedef unsigned short ushort;<br />

typedef ushort ino_t;<br />

typedef short cnt_t;<br />

typedef long time_t;<br />

typedef int labei_t[10];<br />

typedef short dev _t;<br />

typedef long off_t;<br />

typedef long paddr_t;<br />

typedef long key _t;<br />

The form daddr_t is used for disk addresses except in an i-node on<br />

disk, see fs (4). Times are encoded in seconds since 00:00:00 GMT,<br />

January 1, 1970. The major and minor parts of a device code<br />

specify kind and unit number of a device and are installationdependent.<br />

Offsets are measured in bytes from the beginning of a<br />

file. The label_t variables are used to save the processor state<br />

while another process is running.<br />

SEE ALSO<br />

fs( 4).<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!