コード例 #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;
}