---
name: "rpc_gss_get_error"
section: "3"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/rpc_gss_get_error"
---

# rpc\_gss\_get\_error(3)

Get error details

## NAME

**rpc\_gss\_get\_error** – Get error details

## LIBRARY

library “librpcsec\_gss”

## SYNOPSIS

**#include \<rpc/rpcsec\_gss.h\>**

*void*\

**rpc\_gss\_get\_error**(*rpc\_gss\_error\_t \*error*);

## DESCRIPTION

Get details of the last RPCSEC\_GSS error.

## PARAMETERS

- error

  A pointer to a structure where the error details will be returned

## SEE ALSO

[gssapi(3)](/gssapi/3.md), [rpc(3)](/rpc/3.md), [rpcsec\_gss(3)](/rpcsec_gss/3.md)

## HISTORY

The **rpc\_gss\_get\_error** function first appeared in FreeBSD 8.0.

## AUTHORS

This manual page was written by Doug Rabson ⟨*dfr@FreeBSD.org*⟩.
