Skip Headers
Oracle Hierarchical Storage Manager and QFS Software Command Reference
Section 3x: Introduction to Library Functions
Release 6.1.1
E70305-03

NAME

sam_closerpc - Performs RPC shutdown for StorageTek QFS and Oracle HSM RPC API library

SYNOPSIS

cc [ flag … ] file … -L∕opt∕SUNWsamfs∕lib -lsamrpc -l nsl [ 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. Otherwise, a value of -1 is returned.

SEE ALSO

sam_initrpc (3x), sam_archive (3x), sam_release (3x), sam_stage (3x), sam_stat (3x).