[Overview][Constants][Types][Procedures and functions][Variables][Index] | Reference for unit 'oldlinux' (#rtl)

# Reference for unit 'oldlinux': Procedures and functions

`Access` |  | Check file access
`Alarm` |  | Schedule an alarm signal to be delivered
`AssignPipe` |  | Create a set of pipe file handlers
`AssignStream` |  | Assign stream for in and output to a program
`Basename` |  | Return basename of a file
`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
`Chown` |  | Change owner of file
`Clone` |  | Clone current process (create new thread)
`CloseDir` |  | Close directory file descriptor
`CreateShellArgV` |  | Create an array of null-terminated strings
`Dirname` |  | Extract directory part from filename
`Dup` |  | Duplicate a file handle
`Dup2` |  | Duplicate one filehandle to another
`EpochToLocal` |  | Convert epoch time to local time
`Execl` |  | Execute process (using argument list)
`Execle` |  | Execute process (using argument list, environment)
`Execlp` |  | Execute process (using argument list, environment; search path)
`Execv` |  | Execute process
`Execve` |  | Execute process using environment
`Execvp` |  | Execute process, search path
`ExitProcess` |  | Exit the current process
`Fcntl` |  | File control operations.
`fdClose` |  | Close file descriptor
`fdFlush` |  | Flush kernel file buffer
`fdOpen` |  | Open file and return file descriptor
`fdRead` |  | Read data from file descriptor
`fdSeek` |  | Set file pointer position.
`fdTruncate` |  | Truncate file on certain size.
`fdWrite` |  | Write data to file descriptor
`FD_Clr` |  | Clears a filedescriptor in a set
`FD_IsSet` |  | Check whether a filedescriptor is set
`FD_Set` |  | Set a filedescriptor in a set
`FD_Zero` |  | Clear all file descriptors in set
`FExpand` |  | Expand filename to fully qualified path
`Flock` |  | Lock a file (advisory lock)
`FNMatch` |  | Check whether filename matches wildcard specification
`Fork` |  | Create child process
`FReName` |  | Rename file
`FSearch` |  | Search for file in search path.
`FSplit` |  | Split filename into path, name and extension
`FSStat` |  | Retrieve filesystem information.
`FStat` |  | Retrieve information about a file
`GetDate` |  | Return the system date
`GetDateTime` |  | Return system date and time
`GetDomainName` |  | Return current domain name
`GetEGid` |  | Return effective group ID
`GetEnv` |  | Return value of environment variable.
`GetEpochTime` |  | Return the current unix time
`GetEUid` |  | Return effective user ID
`GetFS` |  | Return file selector
`GetGid` |  | Return real group ID
`GetHostName` |  | Return host name
`GetLocalTimezone` |  | Return local timzeone information
`GetPid` |  | Return current process ID
`GetPPid` |  | Return parent process ID
`GetPriority` |  | Return process priority
`GetTime` |  | Return current system time
`GetTimeOfDay` |  | Return kernel time of day in GMT
`GetTimezoneFile` |  | Return name of timezone information file
`GetUid` |  | Return current user ID
`Glob` |  | Find filenames matching a wildcard pattern
`Globfree` |  | Free result of Glob call
`IOCtl` |  | General kernel IOCTL call.
`IOperm` |  | Set permission on IO ports
`IoPL` |  | Set I/O privilege level
`IsATTY` |  | Check if filehandle is a TTY (terminal)
`Kill` |  | Send a signal to a process
`Link` |  | Create a hard link to a file
`LocalToEpoch` |  | Convert local time to epoch (unix) time
`Lstat` |  | Return information about symbolic link. Do not follow the link
`mkFifo` |  | Create FIFO (named pipe) in file system
`MMap` |  | Create memory map of a file
`MUnMap` |  | Unmap previously mapped memory block
`NanoSleep` |  | Suspend process for a short time
`Nice` |  | Set process priority
`Octal` |  | Convert octal to decimal value
`OpenDir` |  | Open directory for reading
`Pause` |  | Wait for a signal
`PClose` |  | Close file opened with POpen
`POpen` |  | Pipe file to standard input/output of program
`ReadDir` |  | Read entry from directory
`ReadLink` |  | Read destination of symbolic link
`ReadTimezoneFile` |  | Read the timezone file and initialize time routines
`SeekDir` |  | Seek to position in directory
`Select` |  | Wait for events on file descriptors
`SelectText` |  | Wait for event on typed ontyped file.
`SetDate` |  | Set the current system date.
`SetDateTime` |  | Set the current system date and time
`SetPriority` |  | Set process priority
`SetTime` |  | Set the current system time.
`Shell` |  | Execute and feed command to system shell
`SigAction` |  | Install signal handler
`Signal` |  | Install signal handler (deprecated)
`SigPending` |  | Return set of currently pending signals
`SigProcMask` |  | Set list of blocked signals
`SigRaise` |  | Raise a signal (send to current process)
`SigSuspend` |  | Set signal mask and suspend process till signal is received
`StringToPPChar` |  | Split string in list of null-terminated strings
`SymLink` |  | Create a symbolic link
`SysCall` |  | Execute system call.
`Sysinfo` |  | Return kernel system information
`S_ISBLK` |  | Is file a block device
`S_ISCHR` |  | Is file a character device
`S_ISDIR` |  | Is file a directory
`S_ISFIFO` |  | Is file a FIFO
`S_ISLNK` |  | Is file a symbolic link
`S_ISREG` |  | Is file a regular file
`S_ISSOCK` |  | Is file a unix socket
`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
`TTYname` |  | Terminal control: Get terminal name
`Umask` |  | Set file creation mask.
`Uname` |  | Return system name.
`UnLink` |  | Unlink (i.e. remove) a file.
`Utime` |  | Set access and modification times of a file (touch).
`WaitPid` |  | Wait for a process to terminate
`WaitProcess` |  | Wait for process to terminate.
`WEXITSTATUS` |  | Extract the exit status from the WaitPID result.
`WIFEXITED` |  | Check whether the process exited normally
`WIFSIGNALED` |  | Check whether the process was exited by a signal.
`WIFSTOPPED` |  | Check whether the process is currently stopped.
`WSTOPSIG` |  | Return the exit code from the process.
`WTERMSIG` |  | Return the signal that caused a process to exit.
`W_EXITCODE` |  | Construct an exit status based on an return code and signal.
`W_STOPCODE` |  | Construct an exit status based on a signal.

Documentation generated on: Feb 26 2014