[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Base Operating System and Extensions Technical Reference, Volume 1

ldohseek Subroutine

Purpose

Seeks to the optional file header of a common object file.

Library

Object File Access Routine Library (libld.a)

Syntax

#include <stdio.h>
#include <filehdr.h>
#include <ldfcn.h>
int ldohseek (ldPointer)
LDFILE *ldPointer;

Description

The ldohseek subroutine seeks to the optional auxiliary header of the common object file currently associated with the ldPointer parameter.

Parameters

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 or if it cannot seek to the optional header.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

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.


[ Previous | Next | Contents | Glossary | Home | Search ]