NWClearFileLockSet(3nw)


NWClearFileLockSet -- unlocks files in File Log Table

Synopsis

   #include <nwfile.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWClearFileLockSet (void);

Return Values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

Remarks

To avoid deadlock, a workstation must request those resources it needs to lock by making an entry in the File Log Table at the NetWare server. Once the log table is complete, the application attempts to lock those records. Locking works only if all records in the table are available. If some of the logged resources cannot be locked, the lock fails and none of the resources are locked.

All open files in the task's log table are closed. The file handles on the workstation itself are not cleared---this should be done by the application and any error codes should be ignored. NWClearFileLockSet is ignored if the associated task on the workstation does not have logged files.

Services

Synchronization

NCP Calls

0x2222 23 17
Get File Server Information

0x2222 23 22
Get Station's Logged Info (old)

0x2222 23 28
Get Station's Logged Info

0x2222 104 1
Ping for NDS NCP

References

NWClearFileLock2(3nw), NWLogFileLock2(3nw), NWReleaseFileLock2(3nw), NWReleaseFileLockSet(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.