Sun Java System Web Server 7.0 Update 4 NSAPI Developer's Guide

system_fclose() Function

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);

Return Values

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; 

See Also

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