HP Fortran Programmer's Guide (September 2007)
Writing HP-UX applications
Calling HP-UX system and library routines
Chapter 7 169
Calling HP-UX system and library routines
System calls provide low-level access to kernel-level resources, such as the write system
routine. or example, see “File handling” on page 193 for an example of a program that calls
the write routine. For information about system calls, refer to the HP-UX Reference.
HP-UX library routines provide many capabilities, such as getting system information and
file stream processing. Library routines are also discussed in the HP-UX Reference.
You can access many HP-UX system calls and library routines from HP Fortran programs
using the BSD 3F library, libU77.a. Another library provided with HP Fortran is the Basic
Linear Algebra Subroutine (BLAS) library, libblas.a. These subroutines perform low-level
vector and matrix operations, tuned for maximum performance. See “Additional HP Fortran
libraries” on page 80 for information about linking to these libraries. For detailed information
about the both libraries, see the HP Fortran Programmer's Reference.