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

SCNHDR(4)

��������
scnhdr - ��������� ������ �� ������� ����� �������� �������

���������

#include <scnhdr.h>

��������
����� �� ������ ���� �������� ������� �������� ������� ���������� ������, ������� ���������� ������������ ������ � �����. ������ ������ � �� ������ ����� ����� ���� ���������. ���� ��������� C-��������� ���������:

struct scnhdr {
  char           s_name[8]; /* ��� ������ */
  long           s_paddr;   /* ���������� ����� */
  long           s_vaddr;   /* ����������� ����� */
  long           s_size;    /* ������ ������ */
  long           s_scnptr;  /* ���������  ��  ��������                               ������ ������ � ����� */
  long           s_relptr;  /* ���������   �  �����  ��
                               ���. � �����. ������ */
  long           s_lnnoptr; /* ���������   �  �����  ��
                               ���. � ������� ����� */
  unsigned short s_nreloc;  /* �����  ������, ���������
                               ��������� */
  unsigned short s_nlnno;   /* ����� ��������� � �������
                               ������� ����� */
  long           s_flags;   /* ����� */
};

��������� � ����� ������������ ����� �������� � ������ ������������ ������ �����; ��� ����� ���� ������������ ��� �������� ��� ������������� ������� FSEEK [��. ldfcn(4)]. ���� ������ ����������������, �� ���� �������� �������� ������. �������������������� ������ ��������� ����������. ��� ����� ������, �����, ������������ � ���, � ����������� �� ���. �� ��� �� �������� ���������� � ��������� ������, ������� ����� � ������. �������������, � �������������������� ������ ��� �������������� ������ � �� ������ �����, � �������� ����� s_scnptr, s_relptr, s_lnnoptr, s_nreloc, � s_nlnno ����� ����.

��. �����
fseek(3S), a.out(4).
ld(1) � ����������� ������������.
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT