Basic unix types

The unixtype unit contains the definitions of basic unix types. It was initially implemented by Marco van de Voort.

When porting to a new unix platform, this unit should be adapted to the sizes and conventions of the platform to which the compiler is ported.

C type: 8 bits sized, signed integer. C type: 8 bits sized, unsigned integer. C type: 16 bits sized, unsigned integer. C type: 16 bits sized, signed integer. C type: 32 bits sized, signed integer. C type: 32 bits sized, unsigned integer. C type: 64 bits sized, signed integer. C type: 64 bits sized, unsigned integer. C type: unsigned character C type: integer (natural size) C type: unsigned integer (natural size) C type: long signed integer (double sized) C type: long unsigned integer (double sized) C type: short signed integer (half sized) C type: short unsigned integer (half sized) Pointer to type. Pointer to type. Pointer to type. Pointer to type. Pointer to type. Pointer to type. C type: 8-bit signed integer C type: 8-bit unsigned integer Alias for Pointer to Pointer to Pointer to Pointer to 8-bits signed integer type Pointer to 8-bits unsigned integer type Signed character type Pointer to signed character type Pointer to character type . Pointer to 16-bit signed integer type Pointer to 16-bit unsigned integer type Short signed integer type Pointer to short signed integer type Pointer to short signed integer type Pointer to signed 32-bit integer type Pointer to unsigned 32-bit integer type Signed integer Pointer to signed integer Pointer to signed integer type Signed integer csigned is an alias for . Pointer to signed integer Pointer to signed integer type . Pointer to signed 64-bit integer type Pointer to unsigned 64-bit integer type Pointer to longlong type. Signed longlong type cslonglong is an alias for . Pointer to Signed longlong type Pointer to Signed longlong type Unsigned longlong type Boolean type Pointer to boolean type Pointer to boolean type Signed long The size is CPU dependent. Pointer to signed long Pointer ot the signed long Long double Usually translates to an extended, but is CPU dependent. Pointer to long double Pointer to the long double type Device descriptor type. Alias for type. Pointer to type. Group ID type. Alias for type. Pointer to type. Inode type. Alias for type. Pointer to type. 64-bit inode ino64_t is an inode type capable of containing 64-bit inodes. Alias for ino64_t Pointer to ino64_t Inode mode type. Alias for type. Pointer to type. Number of links type. Alias for type. Pointer to type. Offset type. Alias for type. Pointer to type. Process ID type. Alias for type. Pointer to type. Size specification type. Alias for type Pointer to type. Small size type. Alias for type Pointer to type User ID type Alias for type. Pointer to type. Clock ticks type Alias for type. Pointer to type. Time span type Alias for type. Pointer to type. Pointer to type. Socket address length type. Alias for type. Pointer to type. Time specification type. Pointer to record. Alias for record. Record specifying time interval. Pointer to record. Alias for type. C type: 64-bit (double long) signed integer. C type: 64-bit (double long) unsigned integer. Seconds Microseconds Seconds Nanoseconds Kernel device type Alias for type. Pointer to type. Record describing a file system in the call. File system type Block size Total number of blocks Number of free blocks Number of available blocks Number of files ? ? Max name length for files. Pad bytes. Do not use. Pointer to type. Thread description record Scheduling parameter description record. Priority. Thread attributes record. Opaque. pthread_attr_t describes the thread attributes. It should be considered an opaque record, the names of the fields can change anytime. Use the appropriate functions to set the thread attributes. ? ? ? ? ? ? ? ? ? Fast lock (mutex) type (opaque). _pthread_fastlock describes a thread mutex. It should be considered an opaque record, the names of the fields can change anytime. ? ? Thread mutex type (opaque). _pthread_mutex_t describes a thread mutex. It should be considered an opaque record, the names of the fields can change anytime. ? ? ? ? ? Mutex attributes type (opaque). pthread_mutexattr_t describes the attributes of a thread mutex. It should be considered an opaque record, the names of the fields can change anytime. ? Thread conditional variable (opaque). pthread_cond_t describes a thread conditional variable. It should be considered an opaque record, the names of the fields can change anytime. ? ? ? ? Conditional variable attributes type (opaque). pthread_condattr_t describes the attributes of a thread mutex. It should be considered an opaque record, the names of the fields can change anytime. ? Thread local storage key (opaque) Read/Write lock type (opaque) pthread_rwlock_t describes a lock. It should be considered an opaque record, the names of the fields can change anytime. Size of pthread_rwlock_t _data structure internal structure Internal structure ? ? ? ? ? ? R/W lock attributes (opaque). pthread_rwlockattr_t describes the attributes of a lock. It should be considered an opaque record, the names of the fields can change anytime. ? ? Semaphore type. (opaque) sem_t describes a thread semaphore. It should be considered an opaque record, the names of the fields can change anytime. ? ? ? Mutex options: ? Mutex options: recursive mutex Mutex options: double lock returns an error code. Mutex options: Mutex options: Mutex options: Mutex options: Mutex options: Mutex options: Fast mutex Max number of command-line arguments. Max length (in bytes) of filename Max length (in bytes) of pathname Max system namelength Maximum signal number. option: Get process priority. option: Get process group priority. option: Get user priority. Double precision real format. Floating-point real format Long double precision real format (Extended) Pointer to cdouble type. Pointer to cfloat type. Pointer to cldouble type. Pointer to size_t type. Pointer to wchar_t type. Wide character type. Wide character size type. Process ID Opaque type used in FpIOCtl Opaque type for multi-byte character routines This type should never be used directly. It is part of the type. Do not use Do not use Opaque type for multi-byte character routines This type should never be used directly. Do not use Do not use Pointer to mbstate_t type 64-bit offset type. Alias for off64_t type. Pointer to off64_t type Optimal block transfer size