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

FCLOSE(3S)

��������
fclose, fflush - ������� ����� ��� ���������� ������

���������

	#include <stdio.h>
	
	int fclose (stream)
	FILE *stream;
	
	int fflush (stream)
	FILE *stream;

��������
������� fclose ���������� � ���� ��� ����������, �������������� � ������ stream (����������� ������), � ��������� ���� �����.

������� fclose ���������� ������������� ��� ���� �������� ������ ��� ���������� ���������� ������ exit(2).

������� fflush ����������� ������ ������ stream � ����. ����� �������� ��������.

��. �����
close(2), exit(2), fopen(3S), setbuf(3S), stdio(3S).

�����������
��� �������� ���������� ��������� ����� 0; � ������ �����-���� ������ (��������, ��� ������� �������� � ����, �� �������� �� ������) ������������ EOF.
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT