unixtype unit
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.
Classes and records
_pthread_fastlock | record | Fast lock (mutex) type (opaque). |
mbstate_t | record | Opaque type for multi-byte character routines. |
mbstate_value_t | record | Opaque type for multi-byte character routines. |
pthread_attr_t | record | Thread attributes record. Opaque. |
pthread_cond_t | record | Thread conditional variable (opaque). |
pthread_condattr_t | record | Conditional variable attributes type (opaque). |
pthread_mutex_t | record | Thread mutex type (opaque). |
pthread_mutexattr_t | record | Mutex attributes type (opaque). |
pthread_rwlock_t | record | Read/Write lock type (opaque). |
pthread_rwlockattr_t | record | R/W lock attributes (opaque). |
sched_param | record | Scheduling parameter description record. |
sem_t | record | Semaphore type. (opaque). |
timespec | record | Record specifying time interval. |
timeval | record | Time specification type. |
TStatfs | record | Record describing a file system in the call. |
Types
cbool | type | Boolean type. |
cchar | type | C type: 8-bit signed integer. |
cdouble | type | Double precision real format. |
cfloat | type | Floating-point real format. |
cint | type | C type: integer (natural size). |
cint16 | type | C type: 16 bits sized, signed integer. |
cint32 | type | C type: 32 bits sized, signed integer. |
cint64 | type | C type: 64 bits sized, signed integer. |
cint8 | type | C type: 8 bits sized, signed integer. |
clock_t | type | Clock ticks type. |
clong | type | C type: long signed integer (double sized, depending on platform 32/64 bit). |
clongdouble | type | Long double. |
clonglong | type | C type: 64-bit (double long) signed integer. |
cschar | type | Signed character type. |
cshort | type | C type: short signed integer (half sized). |
csigned | type | Signed integer. |
csint | type | Signed integer. |
cslong | type | Signed long. |
cslonglong | type | Signed longlong type. |
csshort | type | Short signed integer type. |
cuchar | type | C type: 8-bit unsigned integer. |
cuint | type | C type: unsigned integer (natural size). |
cuint16 | type | C type: 16 bits sized, unsigned integer. |
cuint32 | type | C type: 32 bits sized, unsigned integer. |
cuint64 | type | C type: 64 bits sized, unsigned integer. |
cuint8 | type | C type: 8 bits sized, unsigned integer. |
culong | type | C type: long unsigned integer (double sized,depending on platform 32/64 bit). |
culonglong | type | C type: 64-bit (double long) unsigned integer. |
cunsigned | type | Alias for . |
cushort | type | C type: short unsigned integer (half sized). |
dev_t | type | Device descriptor type. |
gid_t | type | Group ID type. |
ino_t | type | Inode type. |
ino64_t | type | 64-bit inode. |
ipc_pid_t | type | Process ID. |
kDev_t | type | Kernel device type. |
mode_t | type | Inode mode type. |
nlink_t | type | Number of links type. |
off_t | type | Offset type. |
off64_t | type | 64-bit offset type. |
pcbool | type | Pointer to boolean type. |
pcchar | type | Pointer to . |
pcdouble | type | Pointer to cdouble type. |
pcfloat | type | Pointer to cfloat type. |
pcint | type | Pointer to type. |
pcint16 | type | Pointer to 16-bit signed integer type. |
pcint32 | type | Pointer to signed 32-bit integer type. |
pcint64 | type | Pointer to signed 64-bit integer type. |
pcint8 | type | Pointer to 8-bits signed integer type. |
pClock | type | Pointer to type. |
pclong | type | Pointer to type. |
pclongdouble | type | Pointer to long double. |
pclonglong | type | Pointer to longlong type. |
pcschar | type | Pointer to signed character type. |
pcshort | type | Pointer to type. |
pcsigned | type | Pointer to signed integer. |
pcsint | type | Pointer to signed integer. |
pcslong | type | Pointer to signed long. |
pcslonglong | type | Pointer to Signed longlong type. |
pcsshort | type | Pointer to short signed integer type. |
pcuchar | type | Pointer to . |
pcuint | type | Pointer to type. |
pcuint16 | type | Pointer to 16-bit unsigned integer type. |
pcuint32 | type | Pointer to unsigned 32-bit integer type. |
pcuint64 | type | Pointer to unsigned 64-bit integer type. |
pcuint8 | type | Pointer to 8-bits unsigned integer type. |
pculong | type | Pointer to type. |
pculonglong | type | Unsigned longlong type. |
pcunsigned | type | Pointer to . |
pcushort | type | Pointer to type. |
pDev | type | Pointer to type. |
pGid | type | Pointer to type. |
pid_t | type | Process ID type. |
pIno | type | Pointer to type. |
pIno64 | type | Pointer to ino64_t. |
pkDev | type | Pointer to type. |
pmbstate_t | type | Pointer to mbstate_t type. |
pMode | type | Pointer to type. |
pnLink | type | Pointer to type. |
pOff | type | Pointer to type. |
pOff64 | type | Pointer to off64_t type. |
pPid | type | Pointer to type. |
pSize | type | Pointer to type. |
psize_t | type | Pointer to size_t type. |
pSockLen | type | Pointer to type. |
pSSize | type | Pointer to type. |
PStatFS | type | Pointer to type. |
pthread_key_t | type | Thread local storage key (opaque). |
pthread_t | type | Thread description record. |
pTime | type | Pointer to type. |
ptime_t | type | Pointer to type. |
ptimespec | type | Pointer to record. |
ptimeval | type | Pointer to record. |
pUid | type | Pointer to type. |
pwchar_t | type | Pointer to wchar_t type. |
size_t | type | Size specification type. |
socklen_t | type | Socket address length type. |
ssize_t | type | Small size type. |
TClock | type | Alias for type. |
TDev | type | Alias for type. |
TGid | type | Alias for type. |
time_t | type | Time span type. |
TIno | type | Alias for type. |
TIno64 | type | Alias for ino64_t. |
TIOCtlRequest | type | Opaque type used in FpIOCtl. |
TkDev | type | Alias for type. |
TMode | type | Alias for type. |
TnLink | type | Alias for type. |
TOff | type | Alias for type. |
TOff64 | type | Alias for off64_t type. |
TPid | type | Alias for type. |
TSize | type | Alias for type. |
TSockLen | type | Alias for type. |
TSSize | type | Alias for type. |
TTime | type | Alias for type. |
TTimeSpec | type | Alias for type. |
TTimeVal | type | Alias for record. |
TUid | type | Alias for type. |
uid_t | type | User ID type. |
wchar_t | type | Wide character type. |
wint_t | type | Wide character size type. |
Constants
__SIZEOF_PTHREAD_ATTR_T | constant | |
__SIZEOF_PTHREAD_BARRIER_T | constant | |
__SIZEOF_PTHREAD_BARRIERATTR_T | constant | |
__SIZEOF_PTHREAD_COND_T | constant | |
__SIZEOF_PTHREAD_CONDATTR_T | constant | |
__SIZEOF_PTHREAD_MUTEXATTR_T | constant | |
__SIZEOF_PTHREAD_RWLOCK_T | constant | |
__SIZEOF_PTHREAD_RWLOCKATTR_T | constant | |
__SIZEOF_SEM_T | constant | |
_PTHREAD_MUTEX_ADAPTIVE_NP | constant | Mutex options:. |
_PTHREAD_MUTEX_DEFAULT | constant | Mutex options:. |
_PTHREAD_MUTEX_ERRORCHECK | constant | Mutex options:. |
_PTHREAD_MUTEX_ERRORCHECK_NP | constant | Mutex options: double lock returns an error code. |
_PTHREAD_MUTEX_FAST_NP | constant | Mutex options: Fast mutex. |
_PTHREAD_MUTEX_NORMAL | constant | Mutex options:. |
_PTHREAD_MUTEX_RECURSIVE | constant | Mutex options:. |
_PTHREAD_MUTEX_RECURSIVE_NP | constant | Mutex options: recursive mutex. |
_PTHREAD_MUTEX_TIMED_NP | constant | Mutex options: ? |
ARG_MAX | constant | Max number of command-line arguments. |
NAME_MAX | constant | Max length (in bytes) of filename. |
PATH_MAX | constant | Max length (in bytes) of pathname. |
Prio_PGrp | constant | option: Get process group priority. |
Prio_Process | constant | option: Get process priority. |
Prio_User | constant | option: Get user priority. |
SIG_MAXSIG | constant | Maximum signal number. |
SYS_NMLN | constant | Max system namelength. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
