Server for Information Technologies ������ ��������������
������� �������������� ����������
(095) 932-9212, 932-9213, 939-0783
E-mail: [email protected]
������ �������� ����(!) ������������� ���������� CIT Forum CD-ROM

LDRSEEK(3X)

��������
ldrseek, ldnrseek - ����� ���������� � ��������� ������, ����������� � ������ ���������� ����� �������� �������

���������

	#include <stdio.h>
	#include <filehdr.h>
	#include <ldfcn.h>
	
	int ldrseek (ldptr, sectindx)
	LDFILE *ldptr;
	unsigned short sectindx;
	
	int ldnrseek (ldptr, sectname)
	LDFILE *ldptr;
	char *sectname;

��������
������� ldrseek ����������� � ��������� �����, ��������������� � ���������� ldptr, ���������� � ��������� ������, ����������� � ������ � ������� sectindx (������ ���������� � �������).

������� ldnrseek ���������� ������ ���, ��� ������ �������� ������ *sectname.

��� ������� ���������� �������� FAILURE, ����:

  1. � �������� ����� ��� ��������� ������.
  2. �� ������� ����� ���������� � ��������� ������, ����������� � ��������� ������.
� ��������� ������� ��� ������� ���������� SUCCESS.

��� �������������� ������ ���������� ��������� ������� ���������� ���������� �������� ������� � ��������� ������ libld.a.

��. �����
ldclose(3X), ldopen(3X), ldshread(3X), ldfcn(4).
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT