Seeks to the optional file header of a common object file.
Object File Access Routine Library (libld.a)
int ldohseek ( ldPointer)
The ldohseek subroutine seeks to the optional auxiliary header of the common object file currently associated with the ldPointer parameter. The subroutine determines the object mode of the associated file before seeking to the end of its file header.
|ldPointer||Points to the LDFILE structure that was returned as the result of a successful call to ldopen or ldaopen subroutine.|
The ldohseek subroutine returns a SUCCESS or FAILURE value.
The ldohseek subroutine fails if the object file has no optional header, if the file is not a 32-bit or 64-bit object file, or if it cannot seek to the optional header.
This subroutine is part of Base Operating System (BOS) Runtime.
The ldlseek or ldnlseek (ldlseek or ldnlseek Subroutine) subroutine, ldrseek or ldnrseek (ldrseek or ldnrseek Subroutine)subroutine, ldsseek or ldnsseek (ldsseek or ldnsseek Subroutine) subroutine, ldtbseek (ldtbseek Subroutine) subroutine.
Subroutines, Example Programs, and Libraries in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.