HP Fortran Programmer's Guide (March 2010)

Writing HP-UX applications
Chapter 7180
Calling HP-UX system and library routines
Using HP-UX file I/O