ldfhread man page on DigitalUNIX

Printed from http://www.polarhome.com/service/man/?qf=ldfhread&af=0&tf=2&of=DigitalUNIX

ldfhread(3)							   ldfhread(3)

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

SYNOPSIS
       #include <stdio.h>

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

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

DESCRIPTION
       The  ldfhread() routine 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  ldfhread() routine returns SUCCESS or FAILURE.  If ldfhread() can‐
       not read the file header, it fails.

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

       The  program must be loaded with the object file access routine library
       libmld.a.

SEE ALSO
       ldclose(3), ldopen(3), ldfcn(4)

								   ldfhread(3)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net