The system_fclose function closes a specified file descriptor. The system_fclose function must be called for every file descriptor opened by any of the system_fopen functions.
int system_fclose(SYS_FILE fd);
0 if the close succeeds, or the constant IO_ERROR if the close fails.
SYS_FILE fd is the platform-independent file descriptor.
SYS_FILE logfd; system_fclose(logfd);
system_errmsg() Function, system_fopenRO() Function, system_fopenRW() Function, system_fopenWA() Function, system_lseek() Function, system_fread() Function, system_fwrite() Function, system_fwrite_atomic() Function, system_flock() Function, system_ulock() Function