ldsyshread(3x) DG/UX 4.30 ldsyshread(3x)
NAME
ldsyshread - read the system header of an executable file in
DG/UX
SYNOPSIS
#include <stdio.h>
#include <sys/types.h>
#include <filehdr.h>
#include <ldfcn.h>
int ldsyshread (ldptr, syshead)
LDFILE *ldptr;
SYSHDR *syshead;
DESCRIPTION
Ldsyshread reads the system header of the executable file
currently associated with ldptr into the area of memory
beginning at syshead.
Ldsyshread returns SUCCESS or FAILURE. Ldsyshread will fail
if it cannot read the system header.
The program must be loaded with the executable file access
routine library libld.a.
SEE ALSO
ldclose(3X), ldopen(3X), ldfcn(4).
CAVEATS
The executable file format is used only for executable files
(load modules), not for object files.
Licensed material--property of copyright holder(s) Page 1