|
��������
ungetc - ������� ������� � ����� �����
���������
#include <stdio.h> int ungetc (c, stream) char c; FILE *stream;
��������
������� ungetc ��������� ������ c � �����, ��������������� � ������� ����� stream. ������ ������ ����� �������� �� ����� ������ ��� ��������� ������ getc(3S).
����������� ������� ungetc �������� ������ c. Ungets
�������� �����, �� �� ��� ���� stream.
������������� ����������� ������� ���� ������ � ����� �����, ���� �� ���� ��� ���� ��������� �����-���� ������� � ����� ������������� �����������.
���� c ����� EOF, ������� ungetc �� �������� ����� � ���������� EOF.
������� fseek(3S) ���������� ��� ������������ � ����� �������.
��. �����
fseek(3S), getc(3S), setbuf(3S), stdio(3S).
�����������
������� ungetc ���������� EOF, ���� ������ ������ �������� � ����� �����.
��������
���� ������� ����� �������� stdin, ���� ������ �����
�������� � �����, ���� ���� ����� ���� �� ���� ��������
������.
|