Sun Java System Web Server 6.1 SP11 NSAPI Programmer's Guide

system_ulock

The system_ulock function unlocks the specified file that has been locked by the function system_lock. For more information about locking, see system_flock.

Syntax

int system_ulock(SYS_FILE fd);

Returns

The constant IO_OKAY if the operation succeeded, or the constant IO_ERROR if the operation failed.

Parameters

SYS_FILE fd is the platform-independent file descriptor.

See Also

system_errmsg, system_fopenRO, system_fopenRW, system_fopenWA, system_fread, system_fwrite, system_fwrite_atomic, system_flock, system_fclose