Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fs(4)




types(5) types(5)
NAME types - primitive system data types SYNOPSIS #include <sys/types.h> DESCRIPTION The data types defined in the include file are used in A/UX(Reg.) system code; some data of these types are acces- sible to user code: #ifndef __sys_types_h #define __sys_types_h /* * System-dependent parameters and types */ typedef char *caddr_t; typedef long clock_t; typedef short cnt_t; typedef long daddr_t; typedef unsigned short dev_t; typedef short gid_t; typedef unsigned short ino_t; typedef long key_t; typedef int label_t[13]; typedef unsigned short mode_t; typedef short nlink_t; typedef long off_t; typedef long paddr_t; typedef int pid_t; typedef int ptrdiff_t; typedef int size_t; typedef long time_t; typedef long ubadr_t; typedef unsigned char uchar_t; typedef unsigned short ushort_t; typedef short uid_t; typedef unsigned int uint_t; typedef unsigned long ulong_t; typedef unsigned int wchar_t; #ifndef NULL #define NULL 0 #endif /* NULL */ /* *To be excluded from visibility control, types must end in _t. */ #ifdef _SYSV_SOURCE typdef unsigned int uint; typdef unsigned long ulong; April, 1990 1



types(5) types(5)
typdef unsigned char unchar; typdef unsigned short ushort; #endif /* _SYSV_SOURCE */ #ifdef _BSD_SOURCE typedef struct fd_set { long fds_bits[1]; } fd_set; typedef struct{int r[1];} *physadr; typedef struct _quad{ long val[2]; } quad; typedef unsigned char u_char; typedef unsigned short u_short; typedef unsigned int u_int; typedef unsigned long u_long; #endif /* _BSD_SOURCE */ #ifdef _AUX_SOURCE typedef unisigned long ino_tl; #endif /* _AUX_SOURCE */ #endif /* !__sys_types_h */ The form daddr_t is used for disk addresses except in an inode on disk (see fs(4)). 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 vari- ables are used to save the processor state while another process is running. SEE ALSO fs(4). 2 April, 1990

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