| Skip Navigation Links | |
| Exit Print View | |
|   | Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual Sun QFS and Sun Storage Archive Manager 5.3 Information Library | 
1. User Commands (Man Pages Section 1)
2. Maintenance Commands (Man Pages Section 1M)
3. Library Functions (Man Pages Section 3)
4. Library Functions (Man Pages Section 3X)
5. File Formats (Man Pages Section 4)
NAME
     sam_closerpc - Performs RPC shutdown for Sun QFS and SAM-QFS
     RPC API library
SYNOPSIS
     cc [ flag  ... ] file  ... -L/opt/SUNWsamfs/lib -lsamrpc  -lnsl [ library ... ]
     #include "/opt/SUNWsamfs/include/samrpc.h"
     int sam_closerpc();
DESCRIPTION
     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().
RETURN VALUES
     Upon successful completion a value of 0 is returned.  Other-
     wise, a value of -1 is returned.
SEE ALSO
     sam_initrpc(3X),      sam_archive(3X),      sam_release(3X),
     sam_stage(3X), sam_stat(3X).