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

PUTENV(3C)

��������
putenv - ��������� ��� ���������� ���������

���������

	int putenv (string)
	char *string;

��������
�������� string ��������� �� ������� �������� ���� ���=��������. ������� putenv ������������ ��� ���������� ���������� ��������� ��� ��������� ��������, ��� ���� ���������� ������������ ���������� ��� ��������� �����. � ����� ������ �������, ��������� ���������� string, ���������� ������ ���������; ����� �������, ��������� ���� ������� �������� � ��������� ���������.

������� ������, �� ������� ��������� string, ���������� �������� ����� ������ ��������� � putenv � ��� �� ������.

��. �����
exec(2), getenv(3C), malloc(3C), environ(5).

�����������
������� putenv ���������� ��������� ��������, ���� ������� �������� �������������� ������������ ������ [����������� malloc(3C)] ��� ������������ ��������� ���������� ��������. ����� ������������ ����.

���������������
������� putenv �������� � ����������, ��������� � ������� environ, � ����� ���� ������������ ������ � �������� getenv. ������ envp (������ �������� main) �� ����������.

��� ���������� ��������� ������������ ������� malloc(3C).

����� ������ ������� putenv ���������� ��������������� ���������� ��������� ������ ������, ����������.

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