home *** CD-ROM | disk | FTP | other *** search
- INTRO_PXF(3F) Last changed: 2-26-98
-
-
- NNAAMMEE
- IINNTTRROO__PPXXFF - Introduction to PXF POSIX library
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- See individual man pages for implementation details
-
- DDEESSCCRRIIPPTTIIOONN
- The POSIX FORTRAN 77 Language Interfaces Standard IEEE Std 1003.9-
- 1992 (POSIX.a) defines a standardized interface for accessing the
- system services of IEEE Std 1003.1-1990 (POSIX.1), and supports
- routines to access constructs not directly accessible with FORTRAN 77.
-
- Only a subset of the routines described in this standard are currently
- available on Cray Research systems. For some routines, only a portion
- of the functionality described by the standard is currently
- implemented.
-
- Many of the service interfaces defined in POSIX.1 require the use of
- aggregate data types (for example, structures) that do not map to
- FORTRAN 77 entities. POSIX.9 solves this problem by the use of data
- abstraction; by using additional subroutines to access and manipulate
- the aggregate data, the underlying data structures are hidden from the
- user. It is the responsibility of the Fortran programmer to maintain
- variables corresponding to the individual components of the actual
- implementation of the aggregate data, but the programmer does not need
- to know the details of the actual implementation of the aggregate.
- The basic model of this data abstraction is as follows:
-
- * The programmer calls the PPXXFFSSTTRRUUCCTTCCRREEAATTEE subroutine to "create" an
- instance of the desired aggregate data type; this subroutine returns
- a handle that the programmer subsequently uses in order to reference
- and/or manipulate the data.
-
- * The programmer uses additional subroutines to load values into, or
- extract values out of, the aggregate data. These subroutines are
- passed the handle of the desired aggregate and the name of the
- specific component that is to be accessed. The programmer has
- direct control over only one component at a time.
-
- * If an application passes information to the system, the PPXXFF_t_y_p_eSSEETT
- subroutine is called once for each member before calling the system
- procedure. Currently, only PPXXFFIINNTTSSEETT and PPXXFFSSTTRRSSEETT are implemented.
-
- * If an application needs to get information from the system, the
- PPXXFF_t_y_p_eGGEETT subroutine is called once for each member after calling
- the system procedure. Currently, only PPXXFFIINNTTGGEETT and PPXXFFIINNTTSSEETT are
- implemented.
-
- * When an instance of an aggregate is no longer required, a subroutine
- (PPXXFFSSTTRRUUCCTTFFRREEEE) can be called to release it.
-
- * When calling the actual system procedure, the calling sequence is
- equivalent to the C binding as shown in POSIX.1, except that a
- handle is used in place of the POSIX.1 structure (pointer) argument.
-
- CCllaassssiiffiiccaattiioonn ooff rroouuttiinneess
- The POSIX routines can be divided into several general groups:
-
- * Process primitives
-
- - Routines that create, execute, or terminate a process (such as
- PPXXFFFFOORRKK(3F))
-
- - Signal routines (not available at this time)
-
- * Process environment routines
-
- - Process identification routines (such as PPXXFFGGEETTPPIIDD)
-
- - User identification routines (such as PPXXFFSSEETTUUIIDD)
-
- - Process groups routines (such as PPXXFFGGEETTGGRRPP)
-
- - System identification routines (PPXXFFUUNNAAMMEE)
-
- - Time routines (PPXXFFTTIIMMEE and PPXXFFTTIIMMEESS))
-
- -- Environment variable processing routines (such as PPXXFFGGEETTEENNVV)
-
- - Terminal identification routines (such as PPXXFFCCTTEERRMMIIDD)
-
- - Configurable system values (such as PPXXFFSSYYSSCCOONNFF)
-
- * File and directory routines (such as PPXXFFCCRREEAATT and PPXXFFIISSCCHHRR)
-
- * Input and output primitives (not available at this time)
-
- * Device and class-specific procedures (not available at this time)
-
- * Fortran intrinsics (not available at this time)
-
- See the individual man pages for complete details.
-
- SSEEEE AALLSSOO
- _A_p_p_l_i_c_a_t_i_o_n _P_r_o_g_r_a_m_m_e_r'_s _L_i_b_r_a_r_y _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication
- SR-2165, for the printed version of this man page.
-