Системное программирование в 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





<

Содержание  Назад  Вперед





Forekc.ru
Рефераты, дипломы, курсовые, выпускные и квалификационные работы, диссертации, учебники, учебные пособия, лекции, методические пособия и рекомендации, программы и курсы обучения, публикации из профильных изданий