예제 #1
0
파일: istream.cpp 프로젝트: FlowSea/acl
int istream::ugetch(int ch)
{
	int   ret = acl_vstream_ungetc(stream_, ch);
	if (ret == ACL_VSTREAM_EOF)
		eof_ = true;
	return ret;
}
예제 #2
0
파일: istream.cpp 프로젝트: LazyPlanet/acl
int istream::ugetch(int ch)
{
	int ret = acl_vstream_ungetc(stream_, ch);
	if (ret == ACL_VSTREAM_EOF)
		CHECK_ERROR(errno);
	return ret;
}