sam_closerpc - Performs RPC shutdown for StorageTek QFS and Oracle HSM RPC API library
cc [
flag
… ]
file
… -L∕opt∕SUNWsamfs∕lib -lsamrpc -l nsl [
library … ]
#include "∕opt∕SUNWsamfs∕include∕samrpc.h"
int sam_closerpc()
;
sam_closerpc()
is the shutdown routine for the libsamrpc
library. It destroys
the RPC client handle and deallocates private data structures
that were allocated with sam_initrpc()
.
Upon successful completion a value of 0 is returned. Otherwise, a value of -1 is returned.