get_rpc_createerr(3N) get_rpc_createerr(3N)
NAME
get_rpc_createerr, set_rpc_createerr - get/set rpc_createerr
value
SYNOPSIS
cc [options] file -lnsl
#include <rpc/rpc.h>
rpc_createerr_t get_rpc_createerr(void);
int set_rpc_createerr(rpc_createerr_t);
DESCRIPTION
The get_rpc_createerr and set_rpc_createerr functions are used
in rpc applications to set and return the value in
rpc_createerr. rpc_createerr is defined as a structure that
contains the following members:
enum clnt_stat cf_stat;
struct rpc_err cf_error;
These functions are required by applications compiled with the
_REENTRANT flag if the user needs to set the thread-specific
version of rpc_createerr.
Files
/usr/lib/libnsl.so
Network Services Library (shared object)
USAGE
While get_rpc_createerr and set_rpc_createerr are designed for
use in multi-threaded applications, they are available for use
in non-reentrant code and may be incorporated if a need is
anticipated to convert to reentrant code later on.
REFERENCES
intro(2), rpc(3N)
Copyright 1994 Novell, Inc. Page 1