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
LDOPEN(3X) LDOPEN(3X) example, one pointer may be used to step sequentially through the relocation information, while the other is used to read indexed symbol table entries. Both ldopen and ldaopen open filename for reading. Both functions return NULL if filename cannot be opened, or if memory for the LDFILE structure cannot be allocated. A successful open does not insure that the given file is a common object file or an archived object file. The program must be loaded with the object file access routine library libld.a. SEE ALSO fopen(3S), ldclose(3X), ldfcn( 4). - 2-
LDRSEEK ( 3X ) LDRSEEK ( 3X ) NAME ldrseek, ldnrseek - seek to relocation entries of a section of a common object file SYNOPSIS #include #include #include int ldrseek {ldptr, sectindx) LDFILE •ldptr; unsigned short sectindx; int ldnrseek (ldptr, sectna.me) LDFILE •ldptr; cha.r •sectna.me; DESCRIPTION Ldrseek seeks to the relocation entries of the section specified by sectindx of the common object file currently associated with ldptr . Ldnrseek seeks to the relocation entries of the section specified by sectname . Ldrseek and ldnrseek return SUCCESS or F AlLURE. Ldrseek will fail if sectindx is greater than the number of sections in the object file; ldnrseek will fail if there is no section name corresponding with sectname. Either function will fail if the specified section has no relocation entries or if it cannot seek to the specified relocation entries. Note that the first section has an index of one . The program must be loaded with the object file access routine library libld.a.. SEE ALSO ldclose(3X), ldopen(3X), ldshread(3X), ldfcn( 4). - 1 -
- Page 853: FSEEK ( 3S ) FSEEK ( 3S ) NAME fsee
- Page 857 and 858: GAMMA ( 3M ) GAMMA ( 3M ) NAME gamm
- Page 859 and 860: GETC ( 3S ) GETC ( 3S ) NAME getc,
- Page 861: GETCWD ( 3C } GETCWD ( 3C ) NAME ge
- Page 865 and 866: GETGRENT ( 3C ) GETGRENT ( 3C ) NAM
- Page 867: GETLOGIN ( 3C ) GETLOGIN ( 3C ) NAM
- Page 870 and 871: GETOPT (3C) } SEE ALSO getopt(l). e
- Page 873 and 874: GETPENT (3) (AT&T UNIX PC only ) GE
- Page 875: GETPW ( 3C ) GETPW ( 3C ) NAME getp
- Page 878 and 879: GETPWENT ( 3C ) GETPWENT ( 3C ) par
- Page 881 and 882: GETUT ( 3C ) GETUT ( 3C ) NAME getu
- Page 883 and 884: HSEARCH ( 3C ) HSEARCH ( 3C ) NAME
- Page 885 and 886: HYPOT ( 3M ) HYPOT (3M) NAME hypot
- Page 887: L3TOL (3C) L3TOL (3C) NAME 13tol, l
- Page 890 and 891: (�
- Page 893: LDFHREAD ( 3X ) LDFHREAD ( 3X ) NAM
- Page 897 and 898: LDLSEEK ( 3X ) LDLSEEK ( 3X ) NAME
- Page 899 and 900: LDOHSEEK ( 3X ) (not on PDP-11) LDO
- Page 901: LDOPEN{3X) LDOPEN { 3X) NAME ldopen
- Page 905: LDSHREAD ( 3X ) LDSHREAD ( 3X ) NAM
- Page 908 and 909: ,ry
- Page 910 and 911: � '"'"--
- Page 912 and 913: I!) r) ·--... .._ _ .. .
- Page 914 and 915: y I
- Page 916 and 917: LOCKF (3C) LOCKF (3C) F _LOCK and F
- Page 918 and 919: I� ' .... ._ .·
- Page 920 and 921: LSEARCH ( 3C ) LSEARCH ( 3C ) unsig
- Page 922 and 923: MALLOC (3C) MALLOC (3C) M_NLBLKS Se
- Page 924 and 925: MA THERR (3M) MATHERR (3M) } BESSEL
- Page 926 and 927: () . -�
- Page 928 and 929: MEMORY (3C} MEMORY (3C) Character m
- Page 930 and 931: MENU (3T) (AT&T UNIX PC only ) MENU
- Page 932 and 933: MENU (3T) (AT&T UNIX PC only ) mite
- Page 934 and 935: MENU (3T) (AT&T UNIX PC only ) FILE
- Page 936 and 937: MESSAGE ( 3T ) ( AT&T UNIX PC only
- Page 939: MONITOR ( 3C ) MONITOR ( 3C ) NAME
- Page 943 and 944: PASTE (3T) (AT&T UNIX PC only ) PAS
- Page 945 and 946: PASTE ( 3T ) ( AT&T UNIX PC only )
- Page 947: PERROR (3C) PERROR (3C) NAME perror
- Page 950 and 951: (� / I I I I I I I I I I I I I I
LDRSEEK ( 3X ) LDRSEEK ( 3X )<br />
NAME<br />
ldrseek, ldnrseek - seek to relocation entries of a section of a common<br />
object file<br />
SYNOPSIS<br />
#include <br />
#include <br />
#include <br />
int ldrseek {ldptr, sectindx)<br />
LDFILE •ldptr;<br />
unsigned short sectindx;<br />
int ldnrseek (ldptr, sectna.me)<br />
LDFILE •ldptr;<br />
cha.r •sectna.me;<br />
DESCRIPTION<br />
Ldrseek seeks to the relocation entries of the section specified by<br />
sectindx of the common object file currently associated with ldptr .<br />
Ldnrseek seeks to the relocation entries of the section specified by<br />
sectname .<br />
Ldrseek and ldnrseek return SUCCESS or F AlLURE. Ldrseek<br />
will fail if sectindx is greater than the number of sections in the<br />
object file; ldnrseek will fail if there is no section name corresponding<br />
with sectname. Either function will fail if the specified section<br />
has no relocation entries or if it cannot seek to the specified relocation<br />
entries.<br />
Note that the first section has an index of one .<br />
The program must be loaded with the object file access routine<br />
library libld.a..<br />
SEE ALSO<br />
ldclose(3X), ldopen(3X), ldshread(3X), ldfcn( 4).<br />
- 1 -