コード例 #1
0
ファイル: common.c プロジェクト: AMSMM/NJEMU
int file_getc(void)
{
	if (rom_fd != -1)
		return zgetc(rom_fd);
	return -1;
}
コード例 #2
0
ファイル: lundump.c プロジェクト: gitrider/wxsj2
static int ezgetc (LoadState* S)
{
 int c=zgetc(S->Z);
 if (c==EOZ) unexpectedEOZ(S);
 return c;
}
コード例 #3
0
ファイル: lundump.c プロジェクト: rparet/darkpawns
static int ezgetc (lua_State* L, ZIO* Z)
{
 int c=zgetc(Z);
 if (c==EOZ) unexpectedEOZ(L,Z);
 return c;
}