Visible to Intel only — GUID: GUID-BAE77D4E-7874-4F10-9DD5-3FDC7C741993
Visible to Intel only — GUID: GUID-BAE77D4E-7874-4F10-9DD5-3FDC7C741993
POSIX* Library Procedures Summary
The following table lists library procedures for POSIX*.
Programs that use POSIX procedures must access the appropriate libraries with USE IFPOSIX. The IPX nnnn routines are functions; the PXF nnnn routines are subroutines, except for the routines named PXFIS nnnn and PXFWIF nnnn.
Name |
Description |
---|---|
Returns the index of the last command-line argument. |
|
Returns the value associated with a constant defined in the C POSIX standard. |
|
Returns the index of the last non-blank character in an input string. |
|
Returns the exit code of a child process. |
|
Returns the number of the signal that caused a child process to stop. |
|
Returns the number of the signal that caused a child process to terminate. |
|
Gets the value stored in a component (or field) of a structure. |
|
Sets the value of a component (or field) of a structure. |
|
Gets the array values stored in a component (or field) of a structure. |
|
Sets the value of an array component (or field) of a structure. |
|
Determines the accessibility of a file. |
|
Schedules an alarm. |
|
Calls the associated subroutine. |
|
Returns the input baud rate from a termios structure. |
|
Returns the output baud rate from a termios structure. |
|
Sets the input baud rate in a termios structure. |
|
Sets the output baud rate in a termios structure. |
|
Changes the current working directory. |
|
Changes the ownership mode of the file. |
|
Changes the owner and group of a file. |
|
Clears the process environment. |
|
Closes the file associated with the descriptor. |
|
Closes the directory stream. |
|
Manipulates an open file descriptor. |
|
Returns the value associated with a constant. |
|
Creates a new file or rewrites an existing file. |
|
Generates a terminal pathname. |
|
Duplicates an existing file descriptor. |
|
Gets the value stored in an array element component (or field) of a structure. |
|
Sets the value of an array element component (or field) of a structure. |
|
Executes a new process by passing command-line arguments. |
|
Exits from a process. |
|
Opens an external unit. |
|
Flushes a file directly to disk. |
|
Reads a character from a file. |
|
Returns the file descriptor associated with a specified unit. |
|
Creates a child process that differs from the parent process only in its PID. |
|
Gets the value for a configuration option of an opened file. |
|
Writes a character to a file. |
|
Modifies a file position. |
|
Gets a file's status information. |
|
Returns the relative position in bytes from the beginning of the file. |
|
Gets the specified command-line argument. |
|
Reads a character from standard input unit 5. |
|
Returns the path of the current working directory. |
|
Gets the effective group ID of the current process. |
|
Gets the setting of an environment variable. |
|
Gets the effective user ID of the current process. |
|
Gets the real group ID of the current process. |
|
Gets group information for the specified GID. |
|
Gets group information for the named group. |
|
Gets supplementary group IDs. |
|
Gets the name of the user. |
|
Gets the process group ID of the calling process. |
|
Gets the process ID of the calling process. |
|
Gets the process ID of the parent of the calling process. |
|
Gets password information for a specified name. |
|
Gets password information for a specified UID. |
|
Returns a subroutine handle for a subroutine. |
|
Gets the real user ID of the current process. |
|
Tests whether a file descriptor is connected to a terminal. |
|
Tests for a block special file. |
|
Tests for a character file. |
|
Tests whether a string is a valid constant name. |
|
Tests whether a file is a directory. |
|
Tests whether a file is a special FIFO file. |
|
Tests whether a file is a regular file. |
|
Sends a signal to a specified process. |
|
Creates a link to a file or directory. |
|
Converts a given elapsed time in seconds to local time. |
|
Positions a file a specified distance in bytes. |
|
Creates a new directory. |
|
Creates a new FIFO. |
|
Opens or creates a file. |
|
Opens a directory and associates a stream with it. |
|
Gets the value for a configuration option of an opened file. |
|
Suspends process execution. |
|
Creates a communications pipe between two processes. |
|
Sets the current value of the POSIX I/O flag. |
|
Outputs a character to logical unit 6 (stdout). |
|
Reads from a file. |
|
Reads the current directory entry. |
|
Changes the name of a file. |
|
Resets the position of the stream to the beginning of the directory. |
|
Removes a directory. |
|
Adds a new environment variable or sets the value of an environment variable. |
|
Sets the effective group ID of the current process. |
|
Sets the process group ID. |
|
Creates a session and sets the process group ID. |
|
Sets the effective user ID of the current process. |
|
Changes the action associated with a specific signal. |
|
Adds a signal to a signal set. |
|
Deletes a signal from a signal set. |
|
Empties a signal set. |
|
Fills a signal set. |
|
Tests whether a signal is a member of a signal set. |
|
Examines pending signals. |
|
Changes the list of currently blocked signals. |
|
Suspends the process until a signal is received. |
|
Forces the process to sleep. |
|
Gets a file's status information. |
|
Copies the contents of one structure to another. |
|
Creates an instance of the specified structure. |
|
Deletes the instance of a structure. |
|
Gets values for system limits or options. |
|
Waits until all output written has been transmitted. |
|
Suspends the transmission or reception of data. |
|
Discards terminal input data, output data, or both. |
|
Reads current terminal settings. |
|
Gets the foreground process group ID associated with the terminal. |
|
Sends a break to the terminal. |
|
Writes new terminal settings. |
|
Sets the foreground process group associated with the terminal. |
|
Gets the system time. |
|
Gets process times. |
|
Gets the terminal pathname. |
|
Compares two unsigned integers. |
|
Sets a new file creation mask and gets the previous one. |
|
Gets the operation system name. |
|
Removes a directory entry. |
|
Sets file access and modification times. |
|
Waits for a child process. |
|
Waits for a specific PID. |
|
Determines if a child process has exited. |
|
Determines if a child process has exited because of a signal. |
|
Determines if a child process has stopped. |
|
Writes to a file. |
|
1 This routine is only available for Linux. |