Seeks to the optional file header of a common object file.
Object File Access Routine Library (libld.a)
#include <stdio.h> #include <ldfcn.h> int ldohseek (ldPointer) LDFILE *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 subroutine, ldrseek or ldnrseek subroutine, ldsseek or ldnsseek subroutine, ldtbseek subroutine.
Subroutines Overview in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.