Sign in Join
FPDoc Onlineexperiment

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_fastlockrecordFast lock (mutex) type (opaque).
mbstate_trecordOpaque type for multi-byte character routines.
mbstate_value_trecordOpaque type for multi-byte character routines.
pthread_attr_trecordThread attributes record. Opaque.
pthread_cond_trecordThread conditional variable (opaque).
pthread_condattr_trecordConditional variable attributes type (opaque).
pthread_mutex_trecordThread mutex type (opaque).
pthread_mutexattr_trecordMutex attributes type (opaque).
pthread_rwlock_trecordRead/Write lock type (opaque).
pthread_rwlockattr_trecordR/W lock attributes (opaque).
sched_paramrecordScheduling parameter description record.
sem_trecordSemaphore type. (opaque).
timespecrecordRecord specifying time interval.
timevalrecordTime specification type.
TStatfsrecordRecord describing a file system in the call.

Types

cbooltypeBoolean type.
cchartypeC type: 8-bit signed integer.
cdoubletypeDouble precision real format.
cfloattypeFloating-point real format.
cinttypeC type: integer (natural size).
cint16typeC type: 16 bits sized, signed integer.
cint32typeC type: 32 bits sized, signed integer.
cint64typeC type: 64 bits sized, signed integer.
cint8typeC type: 8 bits sized, signed integer.
clock_ttypeClock ticks type.
clongtypeC type: long signed integer (double sized, depending on platform 32/64 bit).
clongdoubletypeLong double.
clonglongtypeC type: 64-bit (double long) signed integer.
cschartypeSigned character type.
cshorttypeC type: short signed integer (half sized).
csignedtypeSigned integer.
csinttypeSigned integer.
cslongtypeSigned long.
cslonglongtypeSigned longlong type.
csshorttypeShort signed integer type.
cuchartypeC type: 8-bit unsigned integer.
cuinttypeC type: unsigned integer (natural size).
cuint16typeC type: 16 bits sized, unsigned integer.
cuint32typeC type: 32 bits sized, unsigned integer.
cuint64typeC type: 64 bits sized, unsigned integer.
cuint8typeC type: 8 bits sized, unsigned integer.
culongtypeC type: long unsigned integer (double sized,depending on platform 32/64 bit).
culonglongtypeC type: 64-bit (double long) unsigned integer.
cunsignedtypeAlias for .
cushorttypeC type: short unsigned integer (half sized).
dev_ttypeDevice descriptor type.
gid_ttypeGroup ID type.
ino_ttypeInode type.
ino64_ttype64-bit inode.
ipc_pid_ttypeProcess ID.
kDev_ttypeKernel device type.
mode_ttypeInode mode type.
nlink_ttypeNumber of links type.
off_ttypeOffset type.
off64_ttype64-bit offset type.
pcbooltypePointer to boolean type.
pcchartypePointer to .
pcdoubletypePointer to cdouble type.
pcfloattypePointer to cfloat type.
pcinttypePointer to type.
pcint16typePointer to 16-bit signed integer type.
pcint32typePointer to signed 32-bit integer type.
pcint64typePointer to signed 64-bit integer type.
pcint8typePointer to 8-bits signed integer type.
pClocktypePointer to type.
pclongtypePointer to type.
pclongdoubletypePointer to long double.
pclonglongtypePointer to longlong type.
pcschartypePointer to signed character type.
pcshorttypePointer to type.
pcsignedtypePointer to signed integer.
pcsinttypePointer to signed integer.
pcslongtypePointer to signed long.
pcslonglongtypePointer to Signed longlong type.
pcsshorttypePointer to short signed integer type.
pcuchartypePointer to .
pcuinttypePointer to type.
pcuint16typePointer to 16-bit unsigned integer type.
pcuint32typePointer to unsigned 32-bit integer type.
pcuint64typePointer to unsigned 64-bit integer type.
pcuint8typePointer to 8-bits unsigned integer type.
pculongtypePointer to type.
pculonglongtypeUnsigned longlong type.
pcunsignedtypePointer to .
pcushorttypePointer to type.
pDevtypePointer to type.
pGidtypePointer to type.
pid_ttypeProcess ID type.
pInotypePointer to type.
pIno64typePointer to ino64_t.
pkDevtypePointer to type.
pmbstate_ttypePointer to mbstate_t type.
pModetypePointer to type.
pnLinktypePointer to type.
pOfftypePointer to type.
pOff64typePointer to off64_t type.
pPidtypePointer to type.
pSizetypePointer to type.
psize_ttypePointer to size_t type.
pSockLentypePointer to type.
pSSizetypePointer to type.
PStatFStypePointer to type.
pthread_key_ttypeThread local storage key (opaque).
pthread_ttypeThread description record.
pTimetypePointer to type.
ptime_ttypePointer to type.
ptimespectypePointer to record.
ptimevaltypePointer to record.
pUidtypePointer to type.
pwchar_ttypePointer to wchar_t type.
size_ttypeSize specification type.
socklen_ttypeSocket address length type.
ssize_ttypeSmall size type.
TClocktypeAlias for type.
TDevtypeAlias for type.
TGidtypeAlias for type.
time_ttypeTime span type.
TInotypeAlias for type.
TIno64typeAlias for ino64_t.
TIOCtlRequesttypeOpaque type used in FpIOCtl.
TkDevtypeAlias for type.
TModetypeAlias for type.
TnLinktypeAlias for type.
TOfftypeAlias for type.
TOff64typeAlias for off64_t type.
TPidtypeAlias for type.
TSizetypeAlias for type.
TSockLentypeAlias for type.
TSSizetypeAlias for type.
TTimetypeAlias for type.
TTimeSpectypeAlias for type.
TTimeValtypeAlias for record.
TUidtypeAlias for type.
uid_ttypeUser ID type.
wchar_ttypeWide character type.
wint_ttypeWide character size type.

Constants

__SIZEOF_PTHREAD_ATTR_Tconstant
__SIZEOF_PTHREAD_BARRIER_Tconstant
__SIZEOF_PTHREAD_BARRIERATTR_Tconstant
__SIZEOF_PTHREAD_COND_Tconstant
__SIZEOF_PTHREAD_CONDATTR_Tconstant
__SIZEOF_PTHREAD_MUTEXATTR_Tconstant
__SIZEOF_PTHREAD_RWLOCK_Tconstant
__SIZEOF_PTHREAD_RWLOCKATTR_Tconstant
__SIZEOF_SEM_Tconstant
_PTHREAD_MUTEX_ADAPTIVE_NPconstantMutex options:.
_PTHREAD_MUTEX_DEFAULTconstantMutex options:.
_PTHREAD_MUTEX_ERRORCHECKconstantMutex options:.
_PTHREAD_MUTEX_ERRORCHECK_NPconstantMutex options: double lock returns an error code.
_PTHREAD_MUTEX_FAST_NPconstantMutex options: Fast mutex.
_PTHREAD_MUTEX_NORMALconstantMutex options:.
_PTHREAD_MUTEX_RECURSIVEconstantMutex options:.
_PTHREAD_MUTEX_RECURSIVE_NPconstantMutex options: recursive mutex.
_PTHREAD_MUTEX_TIMED_NPconstantMutex options: ?
ARG_MAXconstantMax number of command-line arguments.
NAME_MAXconstantMax length (in bytes) of filename.
PATH_MAXconstantMax length (in bytes) of pathname.
Prio_PGrpconstantoption: Get process group priority.
Prio_Processconstantoption: Get process priority.
Prio_Userconstantoption: Get user priority.
SIG_MAXSIGconstantMaximum signal number.
SYS_NMLNconstantMax system namelength.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.