HP Fortran Programmer's Guide (B3908-90031; September 2011)

Writing HP-UX applications
Using HP-UX file I/O
Chapter 7180