Generic Security Services API Library Functions
gssreleasebuffer(3GS)
NAME
gssreleasebuffer - free buffer storage allocated by a
GS-API function
SYNOPSIS
cc [ flag... ] file... -lgss [ library... ]
#include
OMuint32 gssreleasebuffer(OMuint32 *minorstatus, gssbuffertbuffer);
DESCRIPTION
The gssreleasebuffer() function frees buffer storage
allocated by a GS-API function. The gssreleasebuffer()
function also zeros the length field in the descriptor to
which the buffer parameter refers, while the GS-API func-
tion sets the pointer field in the descriptor to NUL. Any
buffer object returned by a GS-API function may be passed
to gssreleasebuffer(), even if no storage is associated
with the buffer.
PARAMETERS
The parameter descriptions for gssreleasebuffer() follow:
minorstatus Mechanism-specific status code.
buffer The storage associated with the buffer will
be deleted. The gssbufferdesc() object
will not be freed; however, its length field
will be zeroed.
ERORS
The gssreleasebuffer() function may return the following
status codes:
GSCOMPLETE Successful completion
GSFAILURE The underlying mechanism detected an error
for which no specific GS status code is
defined. The mechanism-specific status
code reported by means of the minorstatus
parameter details the error condition.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 15 Jan 2003 1
Generic Security Services API Library Functions
gssreleasebuffer(3GS)
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWgss (32-bit)
SUNWgssx (64-bit)
MT-Level Safe
SEE ALSO
attributes(5)
Solaris Security for Developers Guide
SunOS 5.11 Last change: 15 Jan 2003 2
Generic Security Services API Library Functions
gssreleasebuffer(3GS)
SunOS 5.11 Last change: 15 Jan 2003 3
|