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


         

Schedule an alarm signal to


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





































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Название (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

<

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





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