Documentation Home
> Fortran Library Reference
Fortran Library Reference
Book Information
Preface
Chapter 1 FORTRAN Library Routines
Data Type Considerations
64-Bit Environments
abort: Terminate and Write Core File
access: Check File Permissions or Existence
alarm: Call Subroutine After a Specified Time
bit: Bit Functions: and, or, ..., bit, setbit, ...
Usage: and, or, xor, not, rshift, lshift
Usage: bic, bis, bit, setbit
chdir: Change Default Directory
chmod: Change the Mode of a File
date: Get Current Date as a Character String
date_and_time: Get Date and Time
dtime, etime: Elapsed Execution Time
dtime: Elapsed Time Since the Last dtime Call
etime: Elapsed Time Since Start of Execution
exit: Terminate a Process and Set the Status
fdate: Return Date and Time in an ASCII String
flush: Flush Output to a Logical Unit
fork: Create a Copy of the Current Process
free: Deallocate Memory Allocated by Malloc
fseek, ftell: Determine Position and Reposition a File
fseek: Reposition a File on a Logical Unit
ftell: Return Current Position of File
fseeko64, ftello64: Determine Position and Reposition a Large File
fseeko64: Reposition a File on a Logical Unit
ftello64: Return Current Position of File
getarg, iargc: Get Command-line Arguments
getarg: Get a Command-Line Argument
iargc: Get the Number of Command-Line Arguments
getc, fgetc: Get Next Character
getc: Get Next Character from stdin
fgetc: Get Next Character from Specified Logical Unit
getcwd: Get Path of Current Working Directory
getenv: Get Value of Environment Variables
getfd: Get File Descriptor for External Unit Number
getfilep: Get File Pointer for External Unit Number
getlog: Get User's Login Name
getpid: Get Process ID
getuid, getgid: Get User or Group ID of Process
getuid: Get User ID of the Process
getgid: Get Group ID of the Process
hostnm: Get Name of Current Host
idate: Return Current Date
ieee_flags,ieee_handler, sigfpe: IEEE Arithmetic
f77_floatingpoint.h: FORTRAN IEEE Definitions
index,rindex,lnblnk: Index or Length of Substring
index: First Occurrence of a Substring in a String
rindex: Last Occurrence of a Substring in a String
lnblnk: Last Nonblank in a String
inmax: Return Maximum Positive Integer
ioinit: Initialize I/O Properties
Persistence of File I/O Properties
Internal Flags
Source Code
Usage: ioinit
Restrictions
Description of Arguments
cctl (Carriage Control)
bzro (Blanks)
apnd (Append)
prefix (Automatic File Connection)
vrbose (IOINIT Activity)
itime: Current Time
kill: Send a Signal to a Process
libm Math Functions
libm Intrinsic Functions
libm_double: Double-Precision Functions
libm_quadruple: Quad-Precision Functions
libm_single: Single-Precision Functions
link, symlnk: Make a Link to an Existing File
link: Create a Link to an Existing File
symlnk: Create a Symbolic Link to an Existing File
loc: Return the Address of an Object
long, short: Integer Object Conversion
long: Convert a Short Integer to a Long Integer
short: Convert a Long Integer to a Short Integer
longjmp, isetjmp: Return to Location Set by isetjmp
isetjmp: Set the Location for longjmp
longjmp: Return to the location set by isetjmp
Description
Restrictions
malloc, malloc64: Allocate Memory and Get Address
mvbits: Move a Bit Field
perror, gerror, ierrno: Get System Error Messages
perror: Print Message to Logical Unit 0, stderr
gerror: Get Message for Last Detected System Error
ierrno: Get Number for Last Detected System Error
putc, fputc: Write a Character to a Logical Unit
putc: Write to Logical Unit 6
fputc: Write to Specified Logical Unit
qsort,qsort64: Sort the Elements of a One-dimensional Array
ran: Generate a Random Number between 0 and 1
rand, drand, irand: Return Random Values
rename: Rename a File
secnds: Get System Time in Seconds, Minus Argument
sh: Fast Execution of an sh Command
signal: Change the Action for a Signal
sleep: Suspend Execution for an Interval
stat, lstat, fstat: Get File Status
stat: Get Status for File, by File Name
fstat: Get Status for File, by Logical Unit
lstat: Get Status for File, by File Name
Detail of Status Array for Files
stat64, lstat64, fstat64: Get File Status
system: Execute a System Command
time, ctime, ltime, gmtime: Get System Time
time: Get System Time
ctime: Convert System Time to Character
ltime: Split System Time to Month, Day,... (Local)
gmtime: Split System Time to Month, Day, ... (GMT)
ctime64, gmtime64, ltime64: System Time Routines for 64-bit Environments
topen, tclose, tread,..., tstate: Tape I/O
topen: Associate a Device with a Tape Logical Unit
tclose: Write EOF, Close Tape Channel, Disconnect tlu
twrite: Write Next Physical Record to Tape
tread: Read Next Physical Record from Tape
trewin: Rewind Tape to Beginning of First Data File
tskipf: Skip Files and Records; Reset EoF Status
tstate: Get Logical State of Tape I/O Channel
ttynam, isatty: Get Name of a Terminal Port
ttynam: Get Name of a Terminal Port
isatty: Is this Unit a Terminal?
unlink: Remove a File
wait: Wait for a Process to Terminate
© 2010, Oracle Corporation and/or its affiliates