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

UNGETC(3S)

��������
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, ���� ������ ����� �������� � �����, ���� ���� ����� ���� �� ���� �������� ������.
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT