Previous section.

Protocols for Interworking: XNFS, Version 3W
Copyright © 1998 The Open Group


NLM_UNSHARE - Unshare a File

Call Arguments

struct nlm_shareargs { netobj cookie; nlm_share share; /* actual share data */ bool reclaim; /* used for recovering shares */ };

Return Arguments

struct nlm_shareres { netobj cookie; nlm_stats stat; int sequence; };

RPC Procedure Description

nlm_shareres NLM_UNSHARE(nlm_shareargs) = 21;


This procedure informs the NLM that the client has closed the file "share.fh". The server will release the corresponding share reservation. The "reclaim" field is unused in this procedure and is ignored. It is included for symmetry with the NLM_SHARE procedure.

Return Codes

When the procedure returns, "stat" will be set to one of the following values:

Indicates that the procedure completed successfully.


Indicates that the procedure failed because the server host has recently been rebooted and the server NLM is re-establishing existing locks, and is not yet ready to accept normal service requests.

Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.

Contents Next section Index