ldohseek Subroutine
Purpose
Seeks to the optional file header of a common object file.
Library
Object File Access Routine Library (libld.a)
Syntax
Description
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.
Parameters
Item | Description |
---|---|
ldPointer | Points to the LDFILE structure that was returned as the result of a successful call to ldopen or ldaopen subroutine. |
Return Values
The ldohseek subroutine returns a SUCCESS or FAILURE value.
Error Codes
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.