A macro that frees the memory associated with the authentication handle created by the authnone_create and authunix_create routines. Format #include <rpc/rpc.h> void auth_destroy(AUTH *auth_handle)
1 – Arguments
auth_handle An RPC authentication handle created by the authnone_create, authunix_create, or authunix_create_default routine.
2 – Description
Frees the memory associated with the AUTH data structure created by the authnone_create, authunix_create, or authunix_create_ default routine. Be careful not to reference the data structure after calling this routine.
3 – Return Values
None