rpc_gss_get_error(3N)rpc_gss_get_error(3N)NAMErpc_gss_get_error() - get error codes on failure
SYNOPSISDESCRIPTION
fetches an error code when an routine fails.
uses a structure of the following form:
typedef struct {
int rpc_gss_error; /* RPCSEC_GSS error */
int system_error; /* system error */
} rpc_gss_error_t;
Currently the only error codes defined for this function are:
#define RPC_GSS_ER_SUCCESS 0 /* no error */
#define RPC_GSS_ER_SYSTEMERROR 1 /* system error */
PARAMETERS
For additional information on data types for parameters, see the rpc‐
sec_gss(3N) manpage.
error A structure. If the field is equal to the field will be set
to the value of
MULTITHREAD USAGE
Thread Safe: Yes
Cancel Safe: Yes
Fork Safe: No
Async-cancel Safe: No
Async-signal Safe: No
These functions can be called safely in a multithreaded environment.
They may be cancellation points in that they call functions that are
cancel points.
In a multithreaded environment, these functions are not safe to be
called by a child process after and before These functions should not
be called by a multithreaded application that supports asynchronous
cancellation or asynchronous signals.
RETURN VALUE
Unless there is a failure indication from an invoked function, does not
set to a meaningful value.
Notes
Only system errors are currently returned.
SEE ALSOperror(3C), rpc(3N).
rpc_gss_get_error(3N)