Пример #1
0
/****************************************************************************
REMARKS:
VxD implementation of the ANSI C fclose function.
****************************************************************************/
int fclose(
    FILE *f)
{
    WORD error;

    if (initComplete)
	R0_CloseFile((HANDLE)f->handle,&error);
    else
	i_close(f->handle);
    PM_free(f);
    return 0;
}
Пример #2
0
void ICVM_close(void){
	R_R0=i_close(
		rSTKs32(0)
	);
	icvm_returnerr();
}