示例#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
int istream::ugetch(int ch)
{
	int ret = acl_vstream_ungetc(stream_, ch);
	if (ret == ACL_VSTREAM_EOF)
		CHECK_ERROR(errno);
	return ret;
}