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

LDSHREAD(3X)

��������
ldshread, ldnshread - ������ ��������� ������ ���������� ����� �������� �������

���������

	#include <stdio.h>
	#include <filehdr.h>
	#include <scnhdr.h>
	#include <ldfcn.h>
	
	int ldshread (ldptr, sectindx, secthead)
	LDFILE *ldptr;
	unsigned short sectindx;
	SCNHDR *secthead;
	
	int ldnshread (ldptr, sectname, secthead)
	LDFILE *ldptr;
	char *sectname;
	SCNHDR *secthead;

��������
������� ldshread ������ �� ���������� �����, ���������������� � ���������� ldptr, ��������� ������ � ������� sectindx (������ ���������� � �������). ��������� �������� � ������� ������ � ������� secthead.

������� ldnshread ���������� ������ ���, ��� ������ �������� ������ *sectname.

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

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

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

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