IEEE HomeSearch IEEE ShopWeb Account Contact IEEE IEEE
MembershipPublicationsServicesStandardsConferencesCareers/Jobs
IEEE-SA IEEE-SA Member Area Search our standards database for Abstract, Sponsor, Status, Contact,Ordering and Historical information. IEEE-SA Standards Association
Products & ServicesIEEE-SA MembershipStandards DevelopmentNews & InformationnavFillerHOMEHOME Icon

IEEE Std 1003.9-1992 IEEE Standard for Information Technology—POSIX FORTRAN 77 Language Interfaces—Part 1: Binding for System Application Program Interface API -Description

Abstract: This standard provides a standardized interface for accessing the system services of ISO/IEC 9945-1: 1990 (IEEE Std 1003.1-1990, also known as POSIX.1), and support routines to access constructs not directly accessible with FORTRAN 77. This standard supports application portability at the source level through the binding between ANSI X3.9-1978 and POSIX.1, and a standardized definition of language-specific services. The goal is to provide standardized interfaces to the POSIX.1 system services via a FORTRAN 77 language interface. Terminology and general requirements, process primitives, the process environment, files and directories, input and output primitives, device- and class-specific functions, the FORTRAN 77 language library, and system databases are covered.

Keywords: application portability, FORTRAN 77, interfaces, interoperability, POSIX, system interfaces

Content +

  • 1. General
    • 1.1 Scope
    • 1.2 Normative References
    • 1.3 Conformance
      • 1.3.1 Implementation Conformance
      • 1.3.2 Application Conformance
      • 1.3.3 Language-Dependent Services for the FORTRAN 77 Programming Language
      • 1.3.4 Other Language Related Specifications
  • 2. Terminology and General Requirements
    • 2.1 Conventions
      • 2.1.1 Typographical Conventions
      • 2.1.2 Namespace Conventions
    • 2.2 Definitions
      • 2.2.1 Terminology
      • 2.2.2 General Terms
      • 2.2.3 Abbreviations
    • 2.3 FORTRAN 77 Language Bindings Concepts
      • 2.3.1 System Headers
      • 2.3.2 Data Types
    • 2.4 Error Numbers
    • 2.5 Primitive System Data Types
    • 2.6 Environment Description
    • 2.7 FORTRAN 77 Language Definitions
    • 2.8 Numerical Limits
      • 2.8.1 FORTRAN 77 Language Limits
      • 2.8.2 Minimum Values
      • 2.8.3 Run-Time Increasable Values
      • 2.8.4 Run-Time Invariant Values (Possible Indeterminate)
      • 2.8.5 Pathname Variable Values
      • 2.8.6 Invariant Values
    • 2.9 Symbolic Constants
      • 2.9.1 Constants for FORTRAN 77 I/O to STDIO Translation
  • 3. Process Primitives
    • 3.1 Process Creation and Execution
      • 3.1.1 Process Creation
      • 3.1.2 Execute a File
    • 3.2 Process Termination
      • 3.2.1 Wait for Process Termination
      • 3.2.2 Terminate a Process
    • 3.3 Signals
      • 3.3.1 Signal Concepts
      • 3.3.2 Send a Signal to a Process
      • 3.3.3 Manipulate Signal Sets
      • 3.3.4 Examine and Change Signal Action
      • 3.3.5 Examine and Change Blocked Signals
      • 3.3.6 Examine Pending Signals
      • 3.3.7 Wait for a Signal
    • 3.4 Timer Operations
      • 3.4.1 Schedule Alarm
      • 3.4.2 Suspend Process Execution
      • 3.4.3 Delay Process Execution
  • 4. Process Environment
    • 4.1 Process Identification
      • 4.1.1 Get Process and Parent Process IDs
    • 4.2 User Identification
      • 4.2.1 Get Real User, Effective User, Real Group, and Effective Group IDs
      • 4.2.2 Set User and Group IDs
      • 4.2.3 Get Supplementary Group IDs
      • 4.2.4 Get User Name
    • 4.3 Process Groups
      • 4.3.1 Get Process Group ID
      • 4.3.2 Create Session and Set Process Group ID
      • 4.3.3 Set Process Group ID for Job Control
    • 4.4 System Identification
      • 4.4.1 Get System Name
    • 4.5 Time
      • 4.5.1 Get System Time
      • 4.5.2 Get Process Times
    • 4.6 Environment Variables
      • 4.6.1 Environment Access
    • 4.7 Terminal Identification
      • 4.7.1 Generate Terminal Pathname
      • 4.7.2 Determine Terminal Device Name
    • 4.8 Configurable System Variables
      • 4.8.1 Get Configurable System Variables
  • 5. Files and Directories
    • 5.1 Directories
      • 5.1.1 Format of Directory Entries
      • 5.1.2 Directory Operations
    • 5.2 Get Working Directory
      • 5.2.1 Change Current Working Directory
      • 5.2.2 Get Working Directory Pathname
    • 5.3 General File Creation
      • 5.3.1 Open a File
      • 5.3.2 Create a New File or Rewrite an Existing One
      • 5.3.3 Set File Creation Mask
      • 5.3.4 Link to a File
    • 5.4 Special File Creation
      • 5.4.1 Make a Directory
      • 5.4.2 Make a FIFO Special File
    • 5.5 File Removal
      • 5.5.1 Remove Directory Entries
      • 5.5.2 Remove a Directory
      • 5.5.3 Rename a File
    • 5.6 File Characteristics
      • 5.6.1 File Characteristics: Header and Data Structure
      • 5.6.2 Get File Status
      • 5.6.3 Check File Accessibility
      • 5.6.4 Change File Modes
      • 5.6.5 Change Owner and Group of a File
      • 5.6.6 Set File Access and Modification Times
    • 5.7 Configurable Pathname Variables
      • 5.7.1 Get Configurable Pathname Variables
  • 6. Input and Output Primitives
    • 6.1 Pipes
      • 6.1.1 Create an Inter-Process Channel
    • 6.2 File Descriptor Manipulation
      • 6.2.1 Duplicate an Open File Descriptor
    • 6.3 File Descriptor Deassignment
      • 6.3.1 Close a File
    • 6.4 Input and Output
      • 6.4.1 Read From a File
      • 6.4.2 Write to a File
    • 6.5 Control Operations on Files
      • 6.5.1 Data Definitions for File Control Operations
      • 6.5.2 File Control
      • 6.5.3 Reposition Read/Write File Offset
  • 7. Device- and Class-Specific Procedures
    • 7.1 General Terminal Interface
      • 7.1.1 Interface Characteristics
      • 7.1.2 Parameters That Can Be Set
      • 7.1.3 Baud Rate Subroutines
    • 7.2 General Terminal Interface Control Subroutines
      • 7.2.1 Get and Set State
      • 7.2.2 Line Control Subroutines
      • 7.2.3 Get Foreground Process Group ID
      • 7.2.4 Set Foreground Process Group ID
  • 8. FORTRAN 77 Language Library
    • 8.1 FORTRAN 77 Intrinsics
    • 8.2 System Symbolic Constant Access
      • 8.2.1 Access and Verify Symbolic Constants
    • 8.3 Structure Creation and Manipulation
      • 8.3.1 Structure Creation
      • 8.3.2 Structure-Component Manipulation
      • 8.3.3 Structure Deletion
      • 8.3.4 Structure Copy
    • 8.4 Subroutine-Handle Manipulation
      • 8.4.1 Save and Reference Subroutine Handle
    • 8.5 External Unit and File Description Interaction
      • 8.5.1 POSIX-Based FORTRAN I/O
      • 8.5.2 Map a Unit to a File Descriptor
      • 8.5.3 Open a Unit
      • 8.5.4 Flush Output
      • 8.5.5 FORTRAN Language I/O Statements
    • 8.6 Stream I/O
      • 8.6.1 Modify a File Position
      • 8.6.2 Read a File Position
      • 8.6.3 Get a Character
      • 8.6.4 Write a Character
    • 8.7 Bit Field Manipulation
      • 8.7.1 Inclusive OR
      • 8.7.2 Logical AND
      • 8.7.3 Bitwise NOT
    • 8.8 System Date and Time
      • 8.8.1 Local Time
    • 8.9 Command-Line Arguments
      • 8.9.1 Get Command-Line Argument
      • 8.9.2 Index of Last Command-Line Argument
    • 8.10 Character String Procedures
      • 8.10.1 Length of a String Trimmed of Trailing Blanks
    • 8.11 Extended Range Integer Manipulation
      • 8.11.1 Unsigned Comparison
    • 8.12 Process Termination
      • 8.12.1 Interactions of the FORTRAN 77 STOP Statement
      • 8.12.2 Interactions of the FORTRAN 77 END Statement
      • 8.12.3 POSIX-Based Fortran Process Termination
  • 9. System Databases
    • 9.1 System Databases
    • 9.2 Database Access
      • 9.2.1 Group Database Access
      • 9.2.2 User Database Access
  • 10. Data Interchange Format
    • 10.1 Archive/interchange File Format
  • Annex A Rationale and Notes
    • A.1 General
      • A.1.1 Scope
      • A.1.2 Normative References
      • A.1.3 Conformance
    • A.2 Terminology and General Requirements
      • A.2.1 Conventions
      • A.2.2 Definitions
      • A.2.3 FORTRAN 77 Language Bindings Concepts
      • A.2.4 Error Numbers
      • A.2.5 Primitive System Data Types
      • A.2.6 Environment Description
      • A.2.7 FORTRAN 77 Language Definitions
      • A.2.8 Numerical Limits
      • A.2.9 Symbolic Constants
    • A.3 Process Primitives
      • A.3.1 Process Creation and Execution
      • A.3.2 Process Termination
      • A.3.3 Signals
      • A.3.4 Timer Operations
    • A.4 Process Environment
      • A.4.1 Process Identification
      • A.4.2 User Identification
      • A.4.3 Process Groups
      • A.4.4 System Identification
      • A.4.5 Time
      • A.4.6 Environment Variables
      • A.4.7 Terminal Identification
      • A.4.8 Configurable System Variables
    • A.5 Files and Directories
      • A.5.1 Directories
      • A.5.2 Working Directory
      • A.5.3 General File Creation
      • A.5.4 Special File Creation
      • A.5.5 File Removal
      • A.5.6 File Characteristics
      • A.5.7 Configurable Pathname Variables
    • A.6 Input and Output Primitives
      • A.6.1 Pipes
      • A.6.2 File Descriptor Manipulation
      • A.6.3 File Descriptor Deassignment
      • A.6.4 Input and Output
      • A.6.5 Control Operations on Files
    • A.7 Device- and Class-Specific Functions
      • A.7.1 General Terminal Interface
      • A.7.2 General Terminal Interface Control Subroutines
    • A.8 FORTRAN 77 Language Library
      • A.8.1 FORTRAN 77 Intrinsics
      • A.8.2 System Symbolic Constant Access
      • A.8.3 Structure Creation and Manipulation
      • A.8.4 Subroutine-Handle Manipulation
      • A.8.5 External Unit and File Descriptor Interaction
      • A.8.6 Stream I/O
      • A.8.7 Bit Field Manipulation
      • A.8.8 System Date and Time
      • A.8.9 Command-Line Arguments
      • A.8.10 Character String Procedure
      • A.8.11 Extended Range Integer Manipulation
      • A.8.12 Process Termination
    • A.9 System Databases
      • A.9.1 System Databases
      • A.9.2 Database Access
    • A.10 Data Interchange Format
      • A.10.1 Archive/interchange File Format
  • Acknowledgments

links: [Standard Status] - [Purchase] - [PDF*] - [Portable Applications (POSIX) Collection - Description]

available for Standards Online Portable Applications (POSIX) Collection subscribers only

spacer

Copyright ©2004 IEEE-SA
Contact IEEE-SA
(m.v.rodriguez@ieee.org)
URL: http://standards.ieee.org/reading/ieee/std_public/description/posix/1003.9-1992_desc.html

spacer