Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-172D0D94-D49C-4D68-9F9C-531E15BE1360
Visible to Intel only — GUID: GUID-172D0D94-D49C-4D68-9F9C-531E15BE1360
POSIX* Library Routines
This section contains descriptions of the POSIX* library routines. They are listed in alphabetical order.
To access the POSIX library, you must specify a USE IFPOSIX statement in your program.
Certain POSIX* routines are restricted to Linux* systems. If a routine is restricted, it will say that in the description.
- IPXFARGC
POSIX Function: Returns the index of the last command-line argument. - IPXFCONST
POSIX Function: Returns the value associated with a constant defined in the C POSIX standard. - IPXFLENTRIM
POSIX Function: Returns the index of the last non-blank character in an input string. - IPXFWEXITSTATUS
POSIX Function: Returns the exit code of a child process. This routine is only available for Linux. - IPXFWSTOPSIG
POSIX Function: Returns the number of the signal that caused a child process to stop. This routine is only available for Linux. - IPXFWTERMSIG
POSIX Function: Returns the number of the signal that caused a child process to terminate. This routine is only available for Linux. - PXFGET
POSIX Subroutine: Gets the value stored in a component (or field) of a structure. - PXFSET
POSIX Subroutine: Sets the value of a component (or field) of a structure. - PXFAGET
POSIX Subroutine: Gets the array values stored in a component (or field) of a structure. - PXFASET
POSIX Subroutine: Sets the value of an array component (or field) of a structure. - PXFACCESS
POSIX Subroutine: Determines the accessibility of a file. - PXFALARM
POSIX Subroutine: Schedules an alarm. - PXFCALLSUBHANDLE
POSIX Subroutine: Calls the associated subroutine. - PXFCFGETISPEED
POSIX Subroutine: Returns the input baud rate from a termios structure. This routine is only available for Linux. - PXFCFGETOSPEED
POSIX Subroutine: Returns the output baud rate from a termios structure. This routine is only available for Linux. - PXFCFSETISPEED
POSIX Subroutine: Sets the input baud rate in a termios structure. This routine is only available for Linux. - PXFCFSETOSPEED
POSIX Subroutine: Sets the output baud rate in a termios structure. This routine is only available for Linux. - PXFCHDIR
POSIX Subroutine: Changes the current working directory. - PXFCHMOD
POSIX Subroutine: Changes the ownership mode of the file. - PXFCHOWN
POSIX Subroutine: Changes the owner and group of a file. This routine is only available for Linux. - PXFCLEARENV
POSIX Subroutine: Clears the process environment. - PXFCLOSE
POSIX Subroutine: Closes the file associated with the descriptor. - PXFCLOSEDIR
POSIX Subroutine: Closes the directory stream. - PXFCONST
POSIX Subroutine: Returns the value associated with a constant. - PXFCREAT
POSIX Subroutine: Creates a new file or rewrites an existing file. - PXFCTERMID
POSIX Subroutine: Generates a terminal pathname. This routine is only available for Linux. - PXFDUP, PXFDUP2
POSIX Subroutine: Duplicates an existing file descriptor. - PXFEGET
POSIX Subroutine: Gets the value stored in an array element component (or field) of a structure. - PXFESET
POSIX Subroutine: Sets the value of an array element component (or field) of a structure. - PXFEXECV
POSIX Subroutine: Executes a new process by passing command-line arguments. - PXFEXECVE
POSIX Subroutine: Executes a new process by passing command-line arguments. - PXFEXECVP
POSIX Subroutine: Executes a new process by passing command-line arguments. - PXFEXIT, PXFFASTEXIT
POSIX Subroutine: Exits from a process. - PXFFCNTL
POSIX Subroutine: Manipulates an open file descriptor. This routine is only available for Linux. - PXFFDOPEN
POSIX Subroutine: Opens an external unit. - PXFFFLUSH
POSIX Subroutine: Flushes a file directly to disk. - PXFFGETC
POSIX Subroutine: Reads a character from a file. - PXFFILENO
POSIX Subroutine: Returns the file descriptor associated with a specified unit. - PXFFORK
POSIX Subroutine: Creates a child process that differs from the parent process only in its PID. This routine is only available for Linux. - PXFFPATHCONF
POSIX Subroutine: Gets the value for a configuration option of an opened file. - PXFFPUTC
POSIX Subroutine: Writes a character to a file. - PXFFSEEK
POSIX Subroutine: Modifies a file position. - PXFFSTAT
POSIX Subroutine: Gets a file's status information. - PXFFTELL
POSIX Subroutine: Returns the relative position in bytes from the beginning of the file. - PXFGETARG
POSIX Subroutine: Gets the specified command-line argument. - PXFGETC
POSIX Subroutine: Reads a character from standard input unit 5. - PXFGETCWD
POSIX Subroutine: Returns the path of the current working directory. - PXFGETEGID
POSIX Subroutine: Gets the effective group ID of the current process. This routine is only available for Linux. - PXFGETENV
POSIX Subroutine: Gets the setting of an environment variable. - PXFGETEUID
POSIX Subroutine: Gets the effective user ID of the current process. This routine is only available for Linux. - PXFGETGID
POSIX Subroutine: Gets the real group ID of the current process. This routine is only available for Linux. - PXFGETGRGID
POSIX Subroutine: Gets group information for the specified GID. This routine is only available for Linux. - PXFGETGRNAM
POSIX Subroutine: Gets group information for the named group. This routine is only available for Linux. - PXFGETGROUPS
POSIX Subroutine: Gets supplementary group IDs. This routine is only available for Linux. - PXFGETLOGIN
POSIX Subroutine: Gets the name of the user. - PXFGETPGRP
POSIX Subroutine: Gets the process group ID of the calling process. This routine is only available for Linux. - PXFGETPID
POSIX Subroutine: Gets the process ID of the calling process. - PXFGETPPID
POSIX Subroutine: Gets the process ID of the parent of the calling process. - PXFGETPWNAM
POSIX Subroutine: Gets password information for a specified name. This routine is only available for Linux. - PXFGETPWUID
POSIX Subroutine: Gets password information for a specified UID. This routine is only available for Linux. - PXFGETSUBHANDLE
POSIX Subroutine: Returns a handle for a subroutine. - PXFGETUID
POSIX Subroutine: Gets the real user ID of the current process. This routine is only available for Linux. - PXFISATTY
POSIX Subroutine: Tests whether a file descriptor is connected to a terminal. This routine is only available for Linux. - PXFISBLK
POSIX Function: Tests for a block special file. - PXFISCHR
POSIX Function: Tests for a character file. - PXFISCONST
POSIX Function: Tests whether a string is a valid constant name. - PXFISDIR
POSIX Function: Tests whether a file is a directory. - PXFISFIFO
POSIX Function: Tests whether a file is a special FIFO file. - PXFISREG
POSIX Function: Tests whether a file is a regular file. - PXFKILL
POSIX Subroutine: Sends a signal to a specified process. - PXFLINK
POSIX Subroutine: Creates a link to a file or a directory. This routine is only available for Linux. - PXFLOCALTIME
POSIX Subroutine: Converts a given elapsed time in seconds to local time. - PXFLSEEK
POSIX Subroutine: Positions a file a specified distance in bytes. - PXFMKDIR
POSIX Subroutine: Creates a new directory. - PXFMKFIFO
POSIX Subroutine: Creates a new FIFO. This routine is only available for Linux. - PXFOPEN
POSIX Subroutine: Opens or creates a file. - PXFOPENDIR
POSIX Subroutine: Opens a directory and associates a stream with it. - PXFPATHCONF
POSIX Subroutine: Gets the value for a configuration option of an opened file. - PXFPAUSE
POSIX Subroutine: Suspends process execution. - PXFPIPE
POSIX Subroutine: Creates a communications pipe between two processes. This routine is only available for Linux. - PXFPOSIXIO
POSIX Subroutine: Sets the current value of the POSIX I/O flag. - PXFPUTC
POSIX Subroutine: Outputs a character to logical unit 6 (stdout). - PXFREAD
POSIX Subroutine: Reads from a file. - PXFREADDIR
POSIX Subroutine: Reads the current directory entry. - PXFRENAME
POSIX Subroutine: Changes the name of a file. - PXFREWINDDIR
POSIX Subroutine: Resets the position of the stream to the beginning of the directory. - PXFRMDIR
POSIX Subroutine: Removes a directory. - PXFSETENV
POSIX Subroutine: Adds a new environment variable or sets the value of an environment variable. - PXFSETGID
POSIX Subroutine: Sets the effective group ID of the current process. This routine is only available for Linux. - PXFSETPGID
POSIX Subroutine: Sets the process group ID. This routine is only available for Linux. - PXFSETSID
POSIX Subroutine: Creates a session and sets the process group ID. This routine is only available for Linux. - PXFSETUID
POSIX Subroutine: Sets the effective user ID of the current process. This routine is only available for Linux. - PXFSIGACTION
POSIX Subroutine: Changes the action associated with a specific signal. It can also be used to examine the action of a signal. This routine is only available for Linux. - PXFSIGADDSET
POSIX Subroutine: Adds a signal to the signal set. This routine is only available for Linux. - PXFSIGDELSET
POSIX Subroutine: Deletes a signal from the signal set. This routine is only available for Linux. - PXFSIGEMPTYSET
POSIX Subroutine: Empties a signal set. This routine is only available for Linux. - PXFSIGFILLSET
POSIX Subroutine: Fills a signal set. This routine is only available for Linux. - PXFSIGISMEMBER
POSIX Subroutine: Tests whether a signal is a member of a signal set. This routine is only available for Linux. - PXFSIGPENDING
POSIX Subroutine: Examines pending signals. This routine is only available for Linux. - PXFSIGPROCMASK
POSIX Subroutine: Changes the list of currently blocked signals. This routine is only available for Linux. - PXFSIGSUSPEND
POSIX Subroutine: Suspends the process until a signal is received. This routine is only available for Linux. - PXFSLEEP
POSIX Subroutine: Forces the process to sleep. - PXFSTAT
POSIX Subroutine: Gets a file's status information. - PXFSTRUCTCOPY
POSIX Subroutine: Copies the contents of one structure to another. - PXFSTRUCTCREATE
POSIX Subroutine: Creates an instance of the specified structure. - PXFSTRUCTFREE
POSIX Subroutine: Deletes the instance of a structure. - PXFSYSCONF
POSIX Subroutine: Gets values for system limits or options. - PXFTCDRAIN
POSIX Subroutine: Waits until all output written has been transmitted. This routine is only available for Linux. - PXFTCFLOW
POSIX Subroutine: Suspends the transmission or reception of data. This routine is only available for Linux. - PXFTCFLUSH
POSIX Subroutine: Discards terminal input data, output data, or both. This routine is only available for Linux. - PXFTCGETATTR
POSIX Subroutine: Reads current terminal settings. This routine is only available for Linux. - PXFTCGETPGRP
POSIX Subroutine: Gets the foreground process group ID associated with the terminal. This routine is only available for Linux. - PXFTCSENDBREAK
POSIX Subroutine: Sends a break to the terminal. This routine is only available for Linux. - PXFTCSETATTR
POSIX Subroutine: Writes new terminal settings. This routine is only available for Linux. - PXFTCSETPGRP
POSIX Subroutine: Sets the foreground process group ID associated with the terminal. This routine is only available for Linux. - PXFTIME
POSIX Subroutine: Returns the current system time. - PXFTIMES
POSIX Subroutine: Returns process times. - PXFTTYNAME
POSIX Subroutine: Gets the terminal pathname. This routine is only available for Linux. - PXFUCOMPARE
POSIX Subroutine: Compares two unsigned integers. - PXFUMASK
POSIX Subroutine: Sets a new file creation mask and gets the previous one. - PXFUNAME
POSIX Subroutine: Gets the operation system name. - PXFUNLINK
POSIX Subroutine: Removes a directory entry. - PXFUTIME
POSIX Subroutine: Sets file access and modification times. - PXFWAIT
POSIX Subroutine: Waits for a child process. This routine is only available for Linux. - PXFWAITPID
POSIX Subroutine: Waits for a specific PID. This routine is only available for Linux. - PXFWIFEXITED
POSIX Function: Determines if a child process has exited. This routine is only available for Linux. - PXFWIFSIGNALED
POSIX Function: Determines if a child process has exited because of a signal. This routine is only available for Linux. - PXFWIFSTOPPED
POSIX Function: Determines if a child process has stopped. This routine is only available for Linux. - PXFWRITE
POSIX Subroutine: Writes to a file.