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

EXIT(2)

��������
exit, _exit - ����������� ���������� ��������

���������

        void exit (status)
        int status;
        
        void _exit (status)
        int status;

��������
��������� ����� exit ����������� ������������ � ���� �������, ��� ���� ��������������� ����������� ��������� ��������:

� ���� ������������ �������� ����������������� ���������, � ����� � �����-��������� ������������� ������������� �������� ��������������� ������ 1. ����� �������, ��� ��� �������� ����������� ����������������� ��������� [��. intro(2)].

��� �������������� ����������� �������� ������ ������������� � � ��������� � ���� ���������� ������ �������� ����� shm_nattach ����������� �� 1.

� ������ ��������, ��� �������� � �������� ������� �������� semadj, ��� �������� ������������ � ���� semval.

���� ������� ��������� � ������ ������� ������, ������ ��� ����� ���� �������, �� ��������� ���������� [��. plock(2)].

���� ������� ����� ����� �������������� ����������, �� � ���� ����� ���������� ���������� ������ � ����������� � �������� [��. acct(2)].

���� ������������� ��������, ������������� ������ ��������� � ������������� ������ ��������� � ��������, ���������� exit, ���������, �� ���� ��������� � ��� �� ��������������� ������ ��������� ���������� ������ SIGHUP.

������������� �������� ���������� ������ SIGCLD (���������� ������������ ��������).

C-������� exit ����� ������������ �������� ����� ��������� ��������� ������������� ��������, ��������, ���������� ��������������. ������� _exit ���������� ���������� ��������� �������.

��. �����
acct(2), intro(2), plock(2), semop(2), signal(2), sigset(2), wait(2).

���������������
��. ��������������� � signal(2).

�����������
����������� �����������, ��� ��� �� ���������� ������ exit ���������� ������� �� ������������.
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT