|
��������
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.
|