01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LDFHREAD ( 3X ) LDFHREAD ( 3X )<br />

NAME ldfhread - read the file header of a common object file<br />

SYNOPSIS<br />

#include <br />

#include <br />

#include <br />

int ldfhread (Idptr, filehead)<br />

LDFILE •ldptr;<br />

FILHDR •filehead;<br />

DESCRIPTION<br />

Ldfhread reads the file header of the common object file currently<br />

associated with ldptr into the area of memory beginning at<br />

filehead.<br />

Ldfhread returns SUCCESS or F AlLURE. Ldfhread will fail if it<br />

cannot read the file header.<br />

In most cases the use of ldfhread can be avoided by using the<br />

macro HEADER(ldptr) defined in ldfcn.h (see ldfcn(4)). The<br />

information in any field, fieldname, of the file header may be<br />

accessed using HEADER(ldptr ).fieldname.<br />

The program must be loaded with the object file access routine<br />

library libld.a.<br />

SEE ALSO<br />

ldclose(3X), ldopen(3X), ldfcn( 4).<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!