ultrix man page for ldfhread

Query: ldfhread

OS: ultrix

Section: 3x

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ldfhread(3x)															      ldfhread(3x)

Name
       ldfhread - read the file header of a common object file

Syntax
       #include <stdio.h>
       #include <filehdr.h>
       #include <syms.h>
       #include <ldfcn.h>

       int ldfhread (ldptr, filehead)
       LDFILE *ldptr;
       FILHDR *filehead;

Description
       The  function  reads the file header of the common object file currently associated with ldptr .  It reads the file header into the area of
       memory beginning at filehead.

       The function returns success or failure.  If ldfhread cannot read the file header, it fails.

       Usually, can be avoided by using the macro HEADER(ldptr) defined in <ldfcn.h> see Note that the information in HEADER is swapped, if neces-
       sary.  The information in any field, fieldname, of the file header can be accessed using HEADER(ldptr).fieldname.

See Also
       intro(3x), ldclose(3x), ldopen(3x), ldfcn(5).

								       RISC							      ldfhread(3x)
Related Man Pages
ldaopen(3x) - ultrix
ldfcn(5) - ultrix
ldaclose(3) - osf1
ldopen(3) - osf1
ldtbread(3) - osf1
Similar Topics in the Unix Linux Community
Lost root password / Can't login as root
How do you detect keystrokes in canonical mode?
Can I change my hostname without messing things up?
PHP Write Man Pages to MySQL DB