Системное программирование в UNIX средствами Free Pascal

       

Когда работа над книгой подходила


Когда работа над книгой подходила к концу, была выпущена новая версия компилятора Free Pascal, в котором де-юре зафиксирована возможность использования интерфейса системных вызовов не только в ОС семейства Linux/BSD, но и других клонов UNIX. Для того, чтобы скомпилировать компилятором версии 2.0 программы, представленные в книге, следует заменить в них подключаемый модуль linux на oldlinux. Платформенно-независимая функциональность модуля linux разделена между unix, unixtype, baseunix и unixutil. В модуль X86 вынесены части, специфичные для X86-архитектуры.

Для удобства перехода на новую версию компилятора приводим таблицу соответствия модулей в разных версиях компилятора.

а) константы:




Название (1.x)


Описание


Название (2.x)


Модуль



Maximum number of arguments to a program.


ARG_MAX


unix, baseunix, unixtype



Number of bits in a word.


BITSINWORD


baseunix


CLONE_FILES


Clone option: open files shared between processes


CLONE_FILES


linux


CLONE_FS


Clone option: fs info shared between processes


CLONE_FS


linux


CLONE_PID


Clone option: PID shared between processes


CLONE_PID


linux


CLONE_SIGHAND


Clone option: signal handlers shared between processes


CLONE_SIGHAND


linux


CLONE_VM


Clone option: VM shared between processes


CLONE_VM


linux


CSIGNAL


Clone option: Signal mask to be sent at exit


CSIGNAL


linux



System error: Argument list too long


ESysE2BIG


baseunix



System error: Permission denied


ESysEACCES


baseunix



System error: Address already in use


ESysEADDRINUSE


baseunix



System error: Cannot assign requested address


ESysEADDRNOTAVAIL


baseunix



System error: Advertise error


ESysEADV


baseunix



System error: Address family not supported by protocol


ESysEAFNOSUPPORT


baseunix



System error: Try again


ESysEAGAIN


baseunix



System error: Operation already in progress


ESysEALREADY


baseunix



System error: Invalid exchange


ESysEBADE


baseunix



System error: Bad file number


ESysEBADF


baseunix



System error: File descriptor in bad state


ESysEBADFD


baseunix



System error: Not a data message


ESysEBADMSG


baseunix



System error: Invalid request descriptor


ESysEBADR


baseunix



System error: Invalid request code


ESysEBADRQC


baseunix



System error: Invalid slot


ESysEBADSLT


baseunix



System error: Bad font file format


ESysEBFONT


baseunix



System error: Device or resource busy


ESysEBUSY


baseunix



System error: No child processes


ESysECHILD


baseunix



System error: Channel number out of range


ESysECHRNG


baseunix



System error: Communication error on send


ESysECOMM


baseunix



System error: Software caused connection abort


ESysECONNABORTED


baseunix



System error: Connection refused


ESysECONNREFUSED


baseunix



System error: Connection reset by peer


ESysECONNRESET


baseunix



System error: Resource deadlock would occur


ESysEDEADLK


baseunix



System error: File locking deadlock error


ESysEDEADLOCK


baseunix



System error: Destination address required


ESysEDESTADDRREQ


baseunix



System error: Math argument out of domain of func


ESysEDOM


baseunix



System error: RFS specific error


ESysEDOTDOT


baseunix



System error: Quota exceeded


ESysEDQUOT


baseunix



System error: File exists


ESysEEXIST


baseunix



System error: Bad address


ESysEFAULT


baseunix



System error: File too large


ESysEFBIG


baseunix



System error: Host is down


ESysEHOSTDOWN


baseunix



System error: No route to host


ESysEHOSTUNREACH


baseunix



System error: Identifier removed


ESysEIDRM


baseunix



System error: Illegal byte sequence


ESysEILSEQ


baseunix



System error: Operation now in progress


ESysEINPROGRESS


baseunix



System error: Interrupted system call


ESysEINTR


baseunix



System error: Invalid argument


ESysEINVAL


baseunix



System error: I/O error


ESysEIO


baseunix



System error: Transport endpoint is already connected


ESysEISCONN


baseunix



System error: Is a directory


ESysEISDIR


baseunix



System error: Is a named type file


ESysEISNAM


baseunix



System error: Level 2 halted


ESysEL2HLT


baseunix



System error: Level 2 not synchronized


ESysEL2NSYNC


baseunix



System error: Level 3 halted


ESysEL3HLT


baseunix



System error: Level 3 reset


ESysEL3RST


baseunix



System error: Can not access a needed shared library


ESysELIBACC


baseunix



System error: Accessing a corrupted shared library


ESysELIBBAD


baseunix



System error: Cannot exec a shared library directly


ESysELIBEXEC


baseunix



System error: Attempting to link in too many shared libraries


ESysELIBMAX


baseunix



System error: .lib section in a.out corrupted


ESysELIBSCN


baseunix



System error: Link number out of range


ESysELNRNG


baseunix



System error: Too many symbolic links encountered


ESysELOOP


baseunix



System error: Too many open files


ESysEMFILE


baseunix



System error: Too many links


ESysEMLINK


baseunix



System error: Message too long


ESysEMSGSIZE


baseunix



System error: Multihop attempted


ESysEMULTIHOP


baseunix



System error: File name too long


ESysENAMETOOLONG


baseunix



System error: No XENIX semaphores available


ESysENAVAIL


baseunix



System error: Network is down


ESysENETDOWN


baseunix



System error: Network dropped connection because of reset


ESysENETRESET


baseunix



System error: Network is unreachable


ESysENETUNREACH


baseunix



System error: File table overflow


ESysENFILE


baseunix



System error: No anode


ESysENOANO


baseunix



System error: No buffer space available


ESysENOBUFS


baseunix



System error: No CSI structure available


ESysENOCSI


baseunix



System error: No data available


ESysENODATA


baseunix



System error: No such device


ESysENODEV


baseunix



System error: No such file or directory


ESysENOENT


baseunix



System error: Exec format error


ESysENOEXEC


baseunix



System error: No record locks available


ESysENOLCK


baseunix



System error: Link has been severed


ESysENOLINK


baseunix



System error: Out of memory


ESysENOMEM


baseunix



System error: No message of desired type


ESysENOMSG


baseunix



System error: Machine is not on the network


ESysENONET


baseunix



System error: Package not installed


ESysENOPKG


baseunix



System error: Protocol not available


ESysENOPROTOOPT


baseunix



System error: No space left on device


ESysENOSPC


baseunix



System error: Out of streams resources


ESysENOSR


baseunix



System error: Device not a stream


ESysENOSTR


baseunix



System error: Function not implemented


ESysENOSYS


baseunix



System error: Block device required


ESysENOTBLK


baseunix



System error: Transport endpoint is not connected


ESysENOTCONN


baseunix



System error: Not a directory


ESysENOTDIR


baseunix



System error: Directory not empty


ESysENOTEMPTY


baseunix



System error: Not a XENIX named type file


ESysENOTNAM




System error: Socket operation on non-socket


ESysENOTSOCK


baseunix



System error: Not a typewriter


ESysENOTTY


baseunix



System error: Name not unique on network


ESysENOTUNIQ


baseunix



System error: No such device or address


ESysENXIO


baseunix



System error: Operation not supported on transport endpoint



ESysEOPNOTSUPP



System error: Value too large for defined data type


ESysEOVERFLOW


baseunix



System error: Operation not permitted.


ESysEPERM


baseunix



System error: Protocol family not supported


ESysEPFNOSUPPORT


baseunix



System error: Broken pipe


ESysEPIPE


baseunix



System error: Protocol error


ESysEPROTO


baseunix



System error: Protocol not supported


ESysEPROTONOSUPPORT


baseunix



System error: Protocol wrong type for socket


ESysEPROTOTYPE


baseunix



System error: Math result not representable


ESysERANGE


baseunix



System error: Remote address changed


ESysEREMCHG


baseunix



System error: Object is remote


ESysEREMOTE


baseunix



System error: Remote I/O error


ESysEREMOTEIO


baseunix



System error: Interrupted system call should be restarted


ESysERESTART


baseunix



System error: Read-only file system


ESysEROFS


baseunix



System error: Cannot send after transport endpoint shutdown


ESysESHUTDOWN


baseunix



System error: Socket type not supported


ESysESOCKTNOSUPPORT


baseunix



System error: Illegal seek


ESysESPIPE


baseunix



System error: No such process


ESysESRCH


baseunix



System error: Srmount error


ESysESRMNT


baseunix



System error: Stale NFS file handle


ESysESTALE


baseunix



System error: Streams pipe error


ESysESTRPIPE


baseunix



System error: Timer expired


ESysETIME


baseunix



System error: Connection timed out


ESysETIMEDOUT


baseunix



System error: Too many references: cannot splice


ESysETOOMANYREFS


baseunix



System error: Text (code segment) file busy


ESysETXTBSY


baseunix



System error: Structure needs cleaning


ESysEUCLEAN


baseunix



System error: Protocol driver not attached


ESysEUNATCH


baseunix



System error: Too many users


ESysEUSERS


baseunix



System error: Operation would block


ESysEWOULDBLOCK


baseunix



System error: Cross-device link


ESysEXDEV


baseunix



System error: Exchange full


ESysEXFULL


baseunix



Maximum elements in a TFDSet array.


FD_MAXFDSET


baseunix


fs_ext


File system type (FSStat): (ext) Extended


fs_ext


unix


fs_ext2


File system type (FSStat): (ext2) Second extended


fs_ext2


unix


fs_iso


File system type (FSStat): ISO 9660


fs_iso


unix


fs_minix


File system type (FSStat): Minix


fs_minix


unix


fs_minix_30


File system type (FSStat): Minix 3.0


fs_minix_30


unix


fs_minux_V2


File system type (FSStat): Minix V2


fs_minux_V2


unix


fs_msdos


File system type (FSStat): MSDOS (FAT)


fs_msdos


unix


fs_nfs


File system type (FSStat): NFS


fs_nfs


unix


fs_old_ext2


File system type (FSStat): (ext2) Old second extended


fs_old_ext2


unix


fs_proc


File system type (FSStat): PROC fs


fs_proc


unix


fs_xia


File system type (FSStat): XIA


fs_xia


unix


F_GetFd


fpFCntl command: Get close-on-exec flag


F_GetFd


baseunix


F_GetFl


fpFCntl command: Get filedescriptor flags


F_GetFl


baseunix


F_GetLk


fpFCntl command: Get lock


F_GetLk


baseunix


F_GetOwn


fpFCntl command: get owner of filedescriptor events


F_GetOwn


baseunix


F_OK


fpAccess call test: file exists.


F_OK


baseunix


F_SetFd


fpFCntl command: Set close-on-exec flag


F_SetFd


baseunix


F_SetFl


fpFCntl command: Set filedescriptor flags


F_SetFl


baseunix


F_SetLk


fpFCntl command: Set lock


F_SetLk


baseunix


F_SetLkW


fpFCntl command: Test lock


F_SetLkW


baseunix


F_SetOwn


FCntl command: Set owner of filedescriptor events F_SetOwn


baseunix



IOCtl_TCGETS


IOCTL call number: get Terminal Control settings


IOCtl_TCGETS


unix



Last bit in word.


ln2bitmask


baseunix



Power of 2 number of bits in word.


ln2bitsinword


baseunix


LOCK_EX


FLock Exclusive lock


LOCK_EX


unix


LOCK_NB


FLock Non-blocking operation


LOCK_NB


unix


LOCK_SH


FLock Shared lock


LOCK_SH


unix


LOCK_UN


FLock unlock


LOCK_UN


unix


MAP_ANONYMOUS


fpMMap map type: Don't use a file


MAP_ANONYMOUS


baseunix


MAP_DENYWRITE


MMap option: Ignored.


MAP_DENYWRITE


unix


MAP_EXECUTABLE


MMap option: Ignored.


MAP_EXECUTABLE


unix


MAP_FIXED


MMap map type: Interpret addr exactly


MAP_FIXED


unix


MAP_GROWSDOWN


MMap option: Memory grows downward (like a stack)


MAP_GROWSDOWN


unix


MAP_LOCKED


MMap option: lock the pages in memory.


MAP_LOCKED


unix


MAP_NORESERVE


MMap option: Do not reserve swap pages for this memory.


MAP_NORESERVE


unix


MAP_PRIVATE


MMap map type: Changes are private


MAP_PRIVATE


unix, baseunix


MAP_SHARED


MMap map type: Share changes


MAP_SHARED


unix


MAP_TYPE


MMap map type: Bitmask for type of mapping


MAP_TYPE


unix


MINSIGSTKSZ


NCC: Number of control characters in termio record.





Maximum filename length.


NAME_MAX


unix, unixtype, baseunix


NCCS


Number of control characters in termios record.





fpOpen file open mode: Append to file


O_APPEND


baseunix



fpOpen file open mode: Create if file does not yet exist.


O_CREAT


baseunix



fpOpen file open mode: Minimize caching effects


O_DIRECT


baseunix



fpOpen file open mode: File must be directory.


O_DIRECTORY


baseunix



fpOpen file open mode: Open exclusively


O_EXCL


baseunix



fpOpen file open mode: Open for 64-bit I/O


O_LARGEFILE


baseunix



fpOpen file open mode: Alias for O_NonBlock


O_NDELAY


baseunix



fpOpen file open mode: No TTY control.


O_NOCTTY


baseunix



fpOpen file open mode: Fail if file is symbolic link.


O_NOFOLLOW


baseunix



fpOpen file open mode: Open in non-blocking mode


O_NONBLOCK


baseunix



fpOpen file open mode: Read only


O_RDONLY


baseunix



fpOpen file open mode: Read/Write


O_RDWR


baseunix



fpOpen file open mode: Write to disc at once


O_SYNC


baseunix



fpOpen file open mode: Truncate file to length 0


O_TRUNC


baseunix



fpOpen file open mode: Write only


O_WRONLY


baseunix


Open_Accmode


Bitmask to determine access mode in open flags.


Open_Accmode


unix


Open_Append


File open mode: Append to file


Open_Append


unix


Open_Creat


File open mode: Create if file does not yet exist.


Open_Creat


unix


Open_Direct


File open mode: Minimize caching effects


Open_Direct


unix


Open_Directory


File open mode: File must be directory.


Open_Directory


unix


Open_Excl


File open mode: Open exclusively


Open_Excl


unix


Open_LargeFile


File open mode: Open for 64-bit I/O


Open_LargeFile


unix


Open_NDelay


File open mode: Alias for Open_NonBlock


Open_NDelay


unix


Open_NoCtty


File open mode: No TTY control.


Open_NoCtty


unix


Open_NoFollow


File open mode: Fail if file is symbolic link.


Open_NoFollow


unix


Open_NonBlock


File open mode: Open in non-blocking mode


Open_NonBlock


unix


Open_RdOnly


File open mode: Read only


Open_RdOnly


unix


Open_RdWr


File open mode: Read/Write


Open_RdWr


unix


Open_Sync


File open mode: Write to disc at once


Open_Sync


unix


Open_Trunc


File open mode: Truncate file to length 0


Open_Trunc


unix


Open_WrOnly


File open mode: Write only


Open_WrOnly


unix



Maximum pathname length.


PATH_MAX


unix, unixtype, baseunix


Prio_PGrp


Get/set process group priority


Prio_PGrp


unixtype


Prio_Process


Get/Set process priority


Prio_Process


unixtype


Prio_User


Get/set user priority


Prio_User


unixtype


PROT_EXEC


FpMMap memory access: page can be executed


PROT_EXEC


unix


PROT_NONE


FpMMap memory access: page can not be accessed


PROT_NONE


unix


PROT_READ


FpMMap memory access: page can be read


PROT_READ


unix


PROT_WRITE


FpMMap memory access: page can be written


PROT_WRITE


unix


P_IN


Input file descriptor of pipe pair.


P_IN


unix


P_OUT


Output file descriptor of pipe pair.


P_OUT


unix


R_OK


fpAccess call test: read allowed


R_OK


baseunix


SA_INTERRUPT


Sigaction options: ?


SA_INTERRUPT


baseunix


SA_NOCLDSTOP


Sigaction options: Do not receive notification when child processes stop


SA_NOCLDSTOP


baseunix



Sigaction options: ?


SA_NOCLDWAIT


baseunix


SA_NOMASK


Sigaction options: Do not prevent the signal from being received when it is handled.


SA_NOMASK


baseunix


SA_ONESHOT


Sigaction options: Restore the signal action to the default state.


SA_ONESHOT


baseunix


SA_ONSTACK


Socket option




SA_RESTART


Sigaction options: Provide behaviour compatible with BSD signal semantics


SA_RESTART


baseunix


SA_SHIRQ


Sigaction options: ?


SA_SHIRQ


baseunix



Sigaction options: The signal handler takes 3 arguments, not one.


SA_SIGINFO


baseunix


SA_STACK


Sigaction options: Call the signal handler on an alternate signal stack.


SA_STACK


baseunix


Seek_Cur


fpLSeek option: Set position relative to current position.


Seek_Cur


baseunix


Seek_End


fpLSeek option: Set position relative to end of file.


Seek_End


baseunix


Seek_Set


fpLSeek option: Set absolute position.


Seek_Set


baseunix


SIGABRT


Signal: ABRT (Abort)


SIGABRT


baseunix


SIGALRM


Signal: ALRM (Alarm clock)


SIGALRM


baseunix


SIGBUS


Signal: BUS (bus error)


SIGBUS


baseunix


SIGCHLD


Signal: CHLD (child status changed)


SIGCHLD


baseunix


SIGCONT


Signal: CONT (Continue)


SIGCONT


baseunix


SIGFPE


Signal: FPE (Floating point error)


SIGFPE


baseunix


SIGHUP


Signal: HUP (Hangup)


SIGHUP


baseunix


SIGILL


Signal: ILL (Illegal instruction)


SIGILL


baseunix


SIGINT


Signal: INT (Interrupt)


SIGINT


baseunix


SIGIO


Signal: IO (I/O operation possible)


SIGIO


baseunix


SIGIOT


Signal: IOT (IOT trap)


SIGIOT


baseunix


SIGKILL


Signal: KILL (unblockable)


SIGKILL


baseunix


SIGPIPE


Signal: PIPE (Broken pipe


SIGPIPE


baseunix


SIGPOLL


Signal: POLL (Pollable event)


SIGPOLL


baseunix


SIGPROF


Signal: PROF (Profiling alarm)


SIGPROF


baseunix


SIGPWR


Signal: PWR (power failure restart)


SIGPWR


baseunix


SIGQUIT


Signal: QUIT


SIGQUIT


baseunix


SIGSEGV


Signal: SEGV (Segmentation violation)


SIGSEGV


baseunix


SIGSTKFLT


Signal: STKFLT (Stack Fault)


SIGSTKFLT


baseunix


SIGSTKSZ


Signal Stack size error


SIGSTKSZ


baseunix


SIGSTOP


Signal: STOP (Stop, unblockable)


SIGSTOP


baseunix


SIGTerm


Signal: TERM (Terminate)


SIGTerm


baseunix


SIGTRAP


Signal: TRAP (Trace trap)


SIGTRAP


baseunix


SIGTSTP


Signal: TSTP (keyboard stop)


SIGTSTP


baseunix


SIGTTIN


Signal: TTIN (Terminal input, background)


SIGTTIN


baseunix


SIGTTOU


Signal: TTOU (Terminal output, background)


SIGTTOU


baseunix


SIGUNUSED


Signal: Unused


SIGUNUSED


baseunix


SIGURG


Signal: URG (Socket urgent condition)


SIGURG


baseunix


SIGUSR1


Signal: USR1 (User-defined signal 1)


SIGUSR1


baseunix


SIGUSR2


Signal: USR2 (User-defined signal 2)


SIGUSR2


baseunix


SIGVTALRM


Signal: VTALRM (Virtual alarm clock)


SIGVTALRM


baseunix


SIGWINCH


Signal: WINCH (Window/Terminal size change)


SIGWINCH


baseunix


SIGXCPU


Signal: XCPU (CPU limit exceeded)


SIGXCPU


baseunix


SIGXFSZ


Signal: XFSZ (File size limit exceeded)


SIGXFSZ


baseunix


SIG_BLOCK


Sigprocmask flags: Add signals to the set of blocked signals.


SIG_BLOCK


baseunix


SIG_DFL


Signal handler: Default signal handler


SIG_DFL


baseunix


SIG_ERR


Signal handler: error


SIG_ERR


baseunix


SIG_IGN


Signal handler: Ignore signal


SIG_IGN


baseunix



Maximum system signal number.


SIG_MAXSIG


unix, unixtype, baseunix


SIG_SETMASK


Sigprocmask flags: Set of blocked signals is given.


SIG_SETMASK


baseunix


SIG_UNBLOCK


Sigprocmask flags: Remove signals from the set set of blocked signals.


SIG_UNBLOCK


baseunix


SI_PAD_SIZE


Signal information record pad bytes size. Do not use.


SI_PAD_SIZE


baseunix


SS_DISABLE


Socket options




SS_ONSTACK


Socket options




STAT_IFBLK


File (stat record) mode: Block device


STAT_IFBLK


unix


STAT_IFCHR


File (stat record) mode: Character device


STAT_IFCHR


unix


STAT_IFDIR


File (stat record) mode: Directory


STAT_IFDIR


unix


STAT_IFIFO


File (stat record) mode: FIFO


STAT_IFIFO


unix


STAT_IFLNK


File (stat record) mode: Link


STAT_IFLNK


unix


STAT_IFMT


File (stat record) mode: File type bit mask


STAT_IFMT


unix


STAT_IFREG


File (stat record) mode: Regular file


STAT_IFREG


unix


STAT_IFSOCK


File (stat record) mode: Socket


STAT_IFSOCK


unix


STAT_IRGRP


File (stat record) mode: Group read permission


STAT_IRGRP


unix


STAT_IROTH


File (stat record) mode: Other read permission


STAT_IROTH


unix


STAT_IRUSR


File (stat record) mode: Owner read permission


STAT_IRUSR


unix


STAT_IRWXG


File (stat record) mode: Group permission bits mask


STAT_IRWXG


unix


STAT_IRWXO


File (stat record) mode: Other permission bits mask


STAT_IRWXO


unix


STAT_IRWXU


File (stat record) mode: Owner permission bits mask


STAT_IRWXU


unix


STAT_ISGID


File (stat record) mode: GID bit set


STAT_ISGID


unix


STAT_ISUID


File (stat record) mode: UID bit set


STAT_ISUID


unix


STAT_ISVTX


File (stat record) mode: Sticky bit set


STAT_ISVTX


unix


STAT_IWGRP


File (stat record) mode: Group write permission


STAT_IWGRP


unix


STAT_IWOTH


File (stat record) mode: Other write permission


STAT_IWOTH


unix


STAT_IWUSR


File (stat record) mode: Owner write permission


STAT_IWUSR


unix


STAT_IXGRP


File (stat record) mode: Others execute permission


STAT_IXGRP


unix


STAT_IXOTH


File (stat record) mode: Others execute permission


STAT_IXOTH


unix


STAT_IXUSR


File (stat record) mode: Others execute permission


STAT_IXUSR


unix



Max system name length.


SYS_NMLN


unix, unixtype, baseunix



File mode: Block device


S_IFBLK


baseunix



File mode: Character device


S_IFCHR


baseunix



File mode: Directory


S_IFDIR


baseunix



File mode: FIFO


S_IFIFO


baseunix



File mode: Link


S_IFLNK


baseunix



File mode: File type bit mask


S_IFMT


baseunix



File mode: Regular file


S_IFREG


baseunix



File mode: Socket


S_IFSOCK


baseunix



Mode flag: Read by group.


S_IRGRP


baseunix



Mode flag: Read by others.


S_IROTH


baseunix



Mode flag: Read by owner.


S_IRUSR


baseunix



Mode flag: Write by group.


S_IWGRP


baseunix



Mode flag: Write by others.


S_IWOTH


baseunix



Mode flag: Write by owner.


S_IWUSR


baseunix



Mode flag: Execute by group.


S_IXGRP


baseunix



Mode flag: Execute by others.


S_IXOTH


baseunix



Mode flag: Execute by owner.


S_IXUSR


baseunix



Max length of utsname domain name.


UTSNAME_DOMAIN_LENGTH


baseunix



Max length of utsname system name, release, version, machine.


UTSNAME_LENGTH


baseunix



Max length of utsname node name.


UTSNAME_NODENAME_LENGTH


baseunix


Wait_Any


WaitPID: Wait on any process


Wait_Any


unix


Wait_Clone


WaitPID: Wait on clone processes only.


Wait_MyPGRP


unix


Wait_MyPGRP


WaitPID: Wait processes from current process group


Wait_MyPGRP


unix


Wait_NoHang


WaitPID: Do not wait


Wait_NoHang


unix


Wait_UnTraced


WaitPID: Also report stopped but untraced processes


Wait_UnTraced


unix


WNOHANG


Waitpid option: Do not wait for processes to terminate.


WNOHANG


baseunix



Number of words in a TFDSet array


wordsinfdset


baseunix



Number of words in a signal set.


wordsinsigset


baseunix


WUNTRACED


Waitpid option: Also report children wich were stopped but not yet reported


WUNTRACED


baseunix


W_OK


fpAccess call test: write allowed


W_OK


baseunix


X_OK


fpAccess call test: execute allowed


X_OK


baseunix



Mutex options:


_PTHREAD_MUTEX_ADAPTIVE_NP


unixtype



Mutex options:


_PTHREAD_MUTEX_DEFAULT


unixtype



Mutex options:


_PTHREAD_MUTEX_ERRORCHECK


unixtype



Mutex options: double lock returns an error code.


_PTHREAD_MUTEX_ERRORCHECK_NP


unixtype



Mutex options: Fast mutex


_PTHREAD_MUTEX_FAST_NP


unixtype



Mutex options:


_PTHREAD_MUTEX_NORMAL


unixtype



Mutex options:


_PTHREAD_MUTEX_RECURSIVE


unixtype



Mutex options: recursive mutex


_PTHREAD_MUTEX_RECURSIVE_NP


unixtype



Mutex options: ?


_PTHREAD_MUTEX_TIMED_NP


unixtype


__WCLONE


Waitpid option: Wait for clone children only



<


б) типы данных:


Название (1.x)


Описание


Название (2.x)


Модуль



Block count type.


Blkcnt_t


baseunix



Block size type.


Blksize_t


baseunix



C type: 8-bit signed integer


cchar


unix, baseunix, unixtype



Double precision real format.


cDouble


unix, baseunix, unixtype



Floating-point real format


cFloat


unix, baseunix, unixtype



C type: integer (natural size)


cInt


unix, baseunix, unixtype



C type: 16 bits sized, signed integer.


cInt16


unix, baseunix, unixtype



C type: 32 bits sized, signed integer.


cInt32


unix, baseunix, unixtype



C type: 64 bits sized, signed integer.


cInt64


unix, baseunix, unixtype



C type: 8 bits sized, signed integer.


cInt8


unix, baseunix, unixtype



Long double precision real format (Extended)


clDouble


unix, baseunix, unixtype



Clock ticks type


clock_t


unix, baseunix, unixtype



C type: long signed integer (double sized)


cLong


unix, baseunix, unixtype



C type: 64-bit (double long) signed integer.


clonglong


unix, baseunix, unixtype



C type: short signed integer (half sized)


cshort


unix, baseunix, unixtype



C type: 8-bit unsigned integer


cuchar


unix, baseunix, unixtype



C type: unsigned integer (natural size)


cUInt


unix, baseunix, unixtype



C type: 16 bits sized, unsigned integer.


cUInt16


unix, baseunix, unixtype



C type: 32 bits sized, unsigned integer.


cUInt32


unix, baseunix, unixtype



C type: 64 bits sized, unsigned integer.


cUInt64


unix, baseunix, unixtype



C type: 8 bits sized, unsigned integer.


cUInt8


unix, baseunix, unixtype



C type: long unsigned integer (double sized)


cuLong


unix, baseunix, unixtype



C type: 64-bit (double long) unsigned integer.


culonglong


unix, baseunix, unixtype



Alias for cuint


cunsigned


unix, baseunix, unixtype



C type: short unsigned integer (half sized)


cushort


unix, baseunix, unixtype


ComStr


Command-line string type.


ComStr


unixutil


dev_t


Device descriptor type


dev_t


unix, baseunix, unixtype



Record used in fpOpenDir and fpReadDir calls


Dir


baseunix


dirent


Record used in the fpReadDir function to return files in a directory.


dirent


baseunix


DirStr


Filename directory part string type.


DirStr


unixutil


ExtStr


Filename extension part string type.


ExtStr


unixutil


fdSet


Array containing file descriptor bitmask for the Select call.





Lock description type for fpFCntl lock call.


FLock


baseunix



Group ID type.


gid_t


unix, baseunix, unixtype



64-bit inode type.


ino64_t


baseunix



Inode type.


ino_t


unix, baseunix, unixtype



Kernel device type


kDev_t


unixtype



Inode mode type.


mode_t


unix, baseunix, unixtype


NameStr


Filename name part string type.


NameStr


unixutil



Number of links type.


nlink_t


unix, baseunix, unixtype



64-bit offset type.


off64_t


baseunix



Offset type.


off_t


unix, baseunix


PathStr


Filename path part string type.


PathStr


unixutil



pointer to TBlkCnt type.


PBlkCnt


baseunix



Pointer to TBlkSize type.


PBlkSize


baseunix



Alias for cchar


pcchar


unix, baseunix, unixtype



Pointer to cdouble type.


pcDouble


unix, baseunix, unixtype



Pointer to cfloat type.


pcFloat


unix, baseunix, unixtype



Pointer to cInt type.


pcInt


unix, baseunix, unixtype



Pointer to cldouble type.


pclDouble


unix, baseunix, unixtype



Pointer to TClock type.


pClock


unix, baseunix, unixtype, unixtype



Pointer to cLong type.


pcLong


unix, baseunix, unixtype



Pointer to cShort type.


pcshort


unix, baseunix, unixtype



Alias for cuchar


pcuchar


unix, baseunix, unixtype



Pointer to cUInt type.


pcUInt


unix, baseunix, unixtype



Pointer to cuLong type.


pculong


unix, baseunix, unixtype



Alias for cunsigned


pcunsigned


unix, baseunix, unixtype



Pointer to cuShort type.


pcushort


unix, baseunix, unixtype



Pointer to TDev type.


pDev


unix, baseunix, unixtype


PDir


Pointer to TDir record


PDir


baseunix


pdirent


Pointer to Dirent record.


pdirent


baseunix


pfdset


Pointer to FDSet array.


pfdset


baseunix



Pointer to TFilDes type.


pFilDes


baseunix


pfpstate


Pointer to tfpstate record.


pfpstate


baseunix



Pointer to TGid type.


pGid


unix, baseunix, unixtype


pglob


Pointer to TGlob record.





Pointer to TGrpArr array.


pGrpArr


baseunix



Process ID type.


pid_t


unix, baseunix, unixtype



Pointer to TIno type.


pIno


unix, baseunix, unixtype



Pointer to TIno64 type.


pIno64


baseunix



Pointer to TkDev type.


pkDev


unixtype



Pointer to TMode type.


pMode


unix, baseunix, unixtype



Pointer to TnLink type.


pnLink


unix, baseunix, unixtype



Pointer to TOff type.


pOff


unix, baseunix, unixtype



Pointer to TOff64 type.


pOff64


baseunix



Pointer to TPid type.


pPid


unix, baseunix, unixtype


PSigActionRec


Pointer to SigActionRec record.


PSigActionRec


baseunix


PSigAltStack


Pointer to SigAltStack record





Pointer to TSigContext record


PSigContext


baseunix


PSigContextRec


Pointer to SigContextRec record





Pointer to TSigInfo record type.


psiginfo


baseunix


PSignalHandler


Pointer to SignalHandler type.


PSignalHandler


baseunix


PSignalRestorer


Pointer to SignalRestorer type


PSignalRestorer


baseunix


PSigSet


Pointer to signal set.


PSigSet


baseunix



Pointer to sigset_t type.


psigset_t


baseunix



Pointer to TSize type.


pSize


unix, baseunix, unixtype



Pointer to size_t type.


psize_t


unixtype



Pointer to TSockLen type.


pSocklen


unix, baseunix, unixtype



Pointer to TsSize type


psSize


unix, baseunix, unixtype


pstack_t


Pointer to stack_t record




PStat


Pointer to Stat record.


PStat


baseunix


PStatFS


Pointer to StatFS record.


PStatFS


unixtype


PSysCallRegs


Pointer to SysCallRegs record.




PSysInfo


Pointer to TSysInfo record.


PSysInfo


linux



Thread attributes record. Opaque.


pthread_attr_t


unixtype



Conditional variable attributes type (opaque).


pthread_condattr_t


unixtype



Thread conditional variable type.


pthread_cond_t


unix, baseunix, unixtype



Thread local storage key (opaque)


pthread_key_t


unixtype



Mutex attributes type (opaque).


pthread_mutexattr_t


unixtype



Thread mutex type.


pthread_mutex_t


unix, baseunix, unixtype



Thread mutex type (opaque).


pthread_mutex_t


unixtype



R/W lock attributes (opaque).


pthread_rwlockattr_t


unixtype



Read/Write lock type (opaque)


pthread_rwlock_t


unixtype



Posix thread type.


pthread_t


unix, baseunix, unixtype



Pointer to TTime type.


pTime


unix, baseunix, unixtype



Pointer to timespec type.


ptimespec


unix, baseunix, unixtype


ptimeval


Pointer to TTimeVal record


ptimeval


unix, baseunix, unixtype


ptimezone


Pointer to TimeZone record.


ptimezone


baseunix



Pointer to time_t type.


ptime_t


unix, baseunix, unixtype



Pointer to TTms type.


PTms


baseunix



Pointer to TUid type.


pUid


unix, baseunix, unixtype


PUTimeBuf


Pointer to TUTimeBuf record


PUTimeBuf


baseunix


PUTSName


Pointer to TUTSName record.


PUTSName


baseunix



Pointer to wchar_t type.


pwchar_t


unixtype



Scheduling parameter description record.


sched_param


unixtype



Semaphore type. (opaque)


sem_t


unixtype



Callback prototype for a SigActionRec record.


SigActionHandler


baseunix


SigActionRec


Record used in fpSigAction call.


SigActionRec


baseunix


SigAltStack


Alternate stack registers record




SigContextRec


Record describing the context of the program when it receives a signal




SignalHandler


Function prototype for the Signal call.


SignalHandler


baseunix


SignalRestorer


Signal restorer function prototype


SignalRestorer


baseunix


SigSet


Signal set type


SigSet


baseunix



Signal set type


sigset_t


baseunix


Size_T


Size type


Size_T


unix, baseunix, unixtype



Socket address length type.


socklen_t


unix, baseunix, unixtype



Small size type.


ssize_t


unix, baseunix, unixtype


stack_t


Alias for SigAltStack type




Stat


Record describing an inode (file) in the pffstat call.


Stat


baseunix


Statfs


Record describing a file system in the fsstat call.




SysCallRegs


Register describing system calls.





Alias for Blkcnt_t type.


TBlkCnt


baseunix



Alias for blksize_t type.


TBlkSize


baseunix



Alias for clock_t type.


TClock


unix, baseunix, unixtype


TCloneFunc


Clone function prototype.


TCloneFunc


linux



Alias for dev_t type.


TDev


unix, baseunix, unixtype


TDir


Record used in OpenDir and ReadDir calls


TDir


baseunix


TDirEnt


Alias for DirEnt record


TDirEnt


baseunix


Termio


Terminal I/O description record (small)




Termios


Terminal I/O description record




TFDSet


Alias for FDSet type.


TFDSet


baseunix



Array of file descriptors as used in fpPipe call.


TFilDes


baseunix


tfpreg


Record describing floating point register in signal handler.


tfpreg


baseunix


tfpstate


Record describing floating point unit in signal handler.


tfpstate


baseunix



Describes the search strategy used by FSearch


TFSearchOption


unix



Alias for gid_t type.


TGid


unix, baseunix, unixtype



Array of gid_t IDs


TGrpArr


baseunix


tglob


Record containing one entry in the result of Glob




timespec


Time interval for the NanoSleep function.


timespec


unix, baseunix, unixtype


timeval


Record specifying a time inteval.


timeval


unix, baseunix, unixtype


timezone


Record describing a timezone


timezone


baseunix



Time span type


time_t


unix, baseunix, unixtype


tmmapargs


Record containing mmap args.





Alias for ino_t type.


TIno


unix, baseunix, unixtype



Alias for ino64_t type.


TIno64


baseunix



Alias for kDev_t type.


TkDev


unixtype



Alias for mode_t type.


TMode


unix, baseunix, unixtype



Record containing timings for fpTimes call.


tms


baseunix



Alias for nlink_t type.


TnLink


unix, baseunix, unixtype



Alias for off_t type.


TOff


unix, baseunix, unixtype



Alias for off64_t type.


TOff64


baseunix



Alias for pid_t type.


TPid


unix, baseunix, unixtype


Tpipe


Array describing a pipe pair of filedescriptors.


Tpipe


unix


TSigAction


Function prototype for SigAction call.





Alias for SigActionRec record type.


TSigActionRec


baseunix



Record describing the CPU context when a signal occurs.


TSigContext


baseunix



Record describing the signal when a signal occurs.


tsiginfo


baseunix



Alias for SigSet type.


TSigSet


baseunix



Alias for size_t type


TSize


unix, baseunix, unixtype



Alias for socklen_t type.


TSocklen


unix, baseunix, unixtype



Alias for ssize_t type


TsSize


unix, baseunix, unixtype


TStat


Alias for Stat record.


TStat


baseunix


TStatFS


Alias for StatFS type.


TStatFS


unix, baseunix, unixtype


TSysCallRegs


Alias for SysCallRegs record




TSysinfo


Record with system information, used by the SysInfo call.


TSysinfo


linux


TTermio


Alias for TermIO record




TTermios


Alias for Termios record.





Alias for TTime type.


TTime


unix, baseunix, unixtype



Alias for TimeSpec type.


Ttimespec


unix, baseunix, unixtype


TTimeVal


Alias for TimeVal record.


TTimeVal


unix, baseunix, unixtype


TTimeZone


Alias for TimeZone record.


TTimeZone


baseunix



Alias for Tms record type.


TTms


baseunix



Alias for uid_t type.


TUid


unix, baseunix, unixtype


TUTimeBuf


Alias for UTimBuf record.


TUTimeBuf


baseunix


TUTSName


Alias for UTSName record.


TUTSName


baseunix


TWinSize


Alias for WinSize record.





User ID type


uid_t


unix, baseunix, unixtype


UTimBuf


Record used in Utime to set file access and modificaton times.


UTimBuf


baseunix


UTimeBuf


Alias for UTimBuf record.




utsname


Record used to return kernel information in UName function.


utsname


baseunix



Wide character type.


wchar_t


unixtype



Wide character size type.


wint_t


unixtype


winsize


Record describing terminal window size.





Fast lock (mutex) type (opaque).


_pthread_fastlock


unixtype

<


в) процедуры и функции:


Название (1.x)


Описание


Название (2.x)


Модуль


Access


Check file access


fpAccess


baseunix


Alarm


Schedule an alarm signal to be delivered


fpAlarm


baseunix



Concert an array of string to an array of null-terminated strings


ArrayStringToPPchar


unixutil


AssignPipe


Create a set of pipe file handlers


AssignPipe


unix


AssignStream


Assign stream for in and output to a program


AssignStream


unix


Basename


Return basename of a file


Basename


unixutil


CFMakeRaw


Sets flags in Termios record.




CFSetISpeed


Set input baud rate in Termios record




CFSetOSpeed


Set output baud rate in Termios record




Chmod


Change file permission bits


fpChmod


baseunix


Chown


Change owner of file


fpChown


baseunix


Clone


Clone current process (create new thread)


Clone


linux


CloseDir


Close directory file descriptor


fpCloseDir


baseunix


CreateShellArgV


Create an array of null-terminated strings




Dirname


Extract directory part from filename


Dirname


unixutil


Dup


Duplicate a file handle


fpDup


baseunix


Dup2


Duplicate one filehandle to another


fpDup2


baseunix


EpochToLocal


Convert epoch time to local time


EpochToLocal


unixutil


Execl


Execute process (using argument list)


FpExecL


unix


Execle


Execute process (using argument list, environment)


FpExecLE


unix


Execlp


Execute process (using argument list, environment; search path)


FpExecLP


unix


Execv


Execute process


FpExecV


unix, baseunix


Execve


Execute process using environment


fpExecve


baseunix


Execvp


Execute process, search path


FpExecVP


unix



Execute process, search path using environment


FpExecVPE


unix


ExitProcess


Exit the current process


fpExit


baseunix


Fcntl


File control operations.


fpFcntl


baseunix


fdClose


Close file descriptor


fpClose


baseunix


fdFlush


Flush kernel file buffer




fdOpen


Open file and return file descriptor


fpOpen


baseunix


fdRead


Read data from file descriptor


fpRead


baseunix


fdSeek


Set file pointer position.


FpLseek


baseunix


fdTruncate


Truncate file on certain size.


FpFtruncate


baseunix


fdWrite


Write data to file descriptor


fpWrite


baseunix


FD_Clr


Clears a filedescriptor in a set


fpFD_Clr


baseunix


FD_IsSet


Check whether a filedescriptor is set


fpFD_IsSet


baseunix


FD_Set


Set a filedescriptor in a set


fpFD_Set


baseunix


FD_Zero


Clear all file descriptors in set


fpFD_Zero


baseunix


FExpand


Expand filename to fully qualified path




Flock


Lock a file (advisory lock)


fpFlock


unix


FNMatch


Check whether filename matches wildcard specification


FNMatch


unixutil


Fork


Create child process


fpFork


baseunix



Change current working directory.


FpChdir


baseunix



Set all filedescriptors in the set.


fpfdfillset


baseunix



Retrieve the current working directory.


FpGetcwd


baseunix



Retrieve extended error information.


fpgeterrno


baseunix



Get the list of supplementary groups.


FpGetgroups


baseunix



Get process group ID


FpGetpgrp


baseunix



Create a new directory


FpMkdir


baseunix



Create a set of pipe file handlers


FpPipe


baseunix



Rename file


FpRename


baseunix



Remove a directory.


FpRmdir


baseunix



Set extended error information.


fpseterrno


baseunix



Set the current group ID


FpSetgid


baseunix



Create a new session


FpSetsid


baseunix



Set kernel time


fpsettimeofday


baseunix



Set the current user ID


FpSetuid


baseunix



Set a signal in a signal set.


FpSigAddSet


baseunix



Remove a signal from a signal set.


FpSigDelSet


baseunix



Clear all signals from signal set.


FpsigEmptySet


baseunix



Set all signals in signal set.


FpSigFillSet


baseunix



Check whether a signal appears in a signal set.


FpSigIsMember


baseunix



Suspend process for several seconds


FpSleep


baseunix



Retrieve file information about a file descriptor.


FpStat


baseunix



Return execution times for the current process


FpTimes


baseunix



Wait for a child to exit.


FpWait


baseunix


FReName


Rename file




FSearch


Search for file in search path.


FSearch


unix


FSplit


Split filename into path, name and extension


FSplit


unixutil


FSStat


Retrieve filesystem information.




FStat


Retrieve information about a file


fpFStat


baseunix



Retrieve filesystem information from a file descriptor.


fStatFS


unix



Synchronize file's kernel data with disk.


fsync


unix


GetDate


Return the system date




GetDateTime


Return system date and time




GetDomainName


Return current domain name


GetDomainName


unix


GetEGid


Return effective group ID


fpGetEGid


baseunix


GetEnv


Return value of environment variable.


fpGetEnv


baseunix


GetEpochTime


Return the current unix time


fptime


baseunix


GetEUid


Return effective user ID


fpGetEUid


baseunix


GetFS


Return file selector


GetFS


unixutil


GetGid


Return real group ID


fpGetGid


baseunix


GetHostName


Return host name


GetHostName


unix


GetLocalTimezone


Return local timzeone information


GetLocalTimezone


unix


GetPid


Return current process ID


fpGetPid


baseunix


GetPPid


Return parent process ID


fpGetPPid


baseunix


GetPriority


Return process priority


fpGetPriority


baseunix


GetTime


Return current system time




GetTimeOfDay


Return kernel time of day in GMT


fpGetTimeOfDay


unix


GetTimezoneFile


Return name of timezone information file


GetTimezoneFile


unix


GetUid


Return current user ID


fpGetUid


baseunix


Glob


Find filenames matching a wildcard pattern




Globfree


Free result of Glob call





Converts a gregorian date to a julian date


GregorianToJulian


unixutil



Converts a julian date to a gregorian date


JulianToGregorian


unixutil


IOCtl


General kernel IOCTL call.


fpIOCtl


baseunix


IOperm


Set permission on IO ports


fpIOperm


x86


IoPL


Set I/O privilege level


fpIoPL


x86


IsATTY


Check if filehandle is a TTY (terminal)




Kill


Send a signal to a process


fpKill


baseunix


Link


Create a hard link to a file


fpLink


baseunix


LocalToEpoch


Convert local time to epoch (unix) time


LocalToEpoch


unixutil


Lstat


Return information about symbolic link. Do not follow the link


fpLstat


baseunix


mkFifo


Create FIFO (named pipe) in file system


fpmkFifo


baseunix


MMap


Create memory map of a file


fpMMap


baseunix


MUnMap


Unmap previously mapped memory block


fpMUnMap


baseunix


NanoSleep


Suspend process for a short time


fpNanoSleep


baseunix


Nice


Set process priority


fpNice


baseunix


Octal


Convert octal to decimal value




OpenDir


Open directory for reading


fpOpenDir


baseunix


Pause


Wait for a signal


fpPause


baseunix


PClose


Close file opened with POpen


PClose


unix


POpen


Pipe file to standard input/output of program


POpen


unix


ReadDir


Read entry from directory


fpReadDir


baseunix


ReadLink


Read destination of symbolic link


ReadLink


baseunix



Read data from a PC port


ReadPort


x86



Read bytes from a PC port


ReadPortB


x86



Read longints from a PC port


ReadPortL


x86



Read Words from a PC port


ReadPortW


x86


ReadTimezoneFile


Read the timezone file and initialize time routines


ReadTimezoneFile


unix


SeekDir


Seek to position in directory


SeekDir


unix


Select


Wait for events on file descriptors


fpSelect


baseunix


SelectText


Wait for event on typed ontyped file.


SelectText


unix


SetDate


Set the current system date.




SetDateTime


Set the current system date and time




SetPriority


Set process priority


fpSetPriority


baseunix


SetTime


Set the current system time.




Shell


Execute and feed command to system shell


Shell


unix


SigAction


Install signal handler


fpSigAction


baseunix


Signal


Install signal handler (deprecated)


fpSignal


baseunix


SigPending


Return set of currently pending signals


fpSigPending


baseunix


SigProcMask


Set list of blocked signals


fpSigProcMask


baseunix


SigRaise


Raise a signal (send to current process)


SigRaise


unix


SigSuspend


Set signal mask and suspend process till signal is received


fpSigSuspend


baseunix



Retrieve filesystem information from a path.


StatFS


unix


StringToPPChar


Split string in list of null-terminated strings


StringToPPChar


unixutil


SymLink


Create a symbolic link


fpSymLink


baseunix


SysCall


Execute system call.




Sysinfo


Return kernel system information


Sysinfo


linux



Execute and feed command to system shell


fpSystem


unix


S_ISBLK


Is file a block device


fpS_ISBLK


baseunix


S_ISCHR


Is file a character device


fpS_ISCHR


baseunix


S_ISDIR


Is file a directory


fpS_ISDIR


baseunix


S_ISFIFO


Is file a FIFO


fpS_ISFIFO


baseunix


S_ISLNK


Is file a symbolic link


fpS_ISLNK


baseunix


S_ISREG


Is file a regular file


fpS_ISREG


baseunix


S_ISSOCK


Is file a unix socket


fpS_ISSOCK


baseunix


TCDrain


Terminal control: Wait till all data was transmitted




TCFlow


Terminal control: Suspend transmission of data




TCFlush


Terminal control: Discard data buffer




TCGetAttr


Terminal Control: Get terminal attributes




TCGetPGrp


Terminal control: Get process group




TCSendBreak


Terminal control: Send break




TCSetAttr


Terminal control: Set attributes




TCSetPGrp


Terminal control: Set process group




TellDir


Return current location in a directory


TellDir


unix


TTYname


Terminal control: Get terminal name




Umask


Set file creation mask.


fpUmask


baseunix


Uname


Return system name.


fpUname


baseunix


UnLink


Unlink (i.e. remove) a file.


fpUnLink


baseunix


Utime


Set access and modification times of a file (touch).


Utime


baseunix


WaitPid


Wait for a process to terminate


fpWaitPid


baseunix


WaitProcess


Wait for process to terminate.


WaitProcess


unix


WEXITSTATUS


Extract the exit status from the WaitPID result.


WEXITSTATUS


baseunix


WIFEXITED


Check whether the process exited normally


WIFEXITED


baseunix


WIFSIGNALED


Check whether the process was exited by a signal.


WIFSIGNALED


baseunix


WIFSTOPPED


Check whether the process is currently stopped.


WIFSTOPPED


unix



Write data to PC port


WritePort


x86



Write byte to PC port


WritePortB


x86



Write longint to PC port.


WritePortl


x86



Write Word to PC port


WritePortW


x86


WSTOPSIG


Return the exit code from the process.


WSTOPSIG


baseunix


WTERMSIG


Return the signal that caused a process to exit.


WTERMSIG


baseunix


W_EXITCODE


Construct an exit status based on an return code and signal.


W_EXITCODE


unix


W_STOPCODE


Construct an exit status based on a signal.


W_STOPCODE


unix

<


г) переменные:


Название (1.x)


Описание


Название (2.x)


Модуль


ErrNo


Error number of last operation.




LinuxError


Last operating system error




tzdaylight


Indicates whether daylight savings time is active.


tzdaylight


unix


tzname


Timezone name.


tzname


unix


tzseconds


Seconds west of GMT


tzseconds


unixutil, unix


Содержание раздела