sasl_erasebuffer(3SASL) Simple Authentication Security Layer Library Functions sasl_erasebuffer(3SASL)
NAME
sasl_erasebuffer - erase buffer
SYNOPSIS
cc [ flag ... ] file ... -lsasl [ library ... ]
#include <sasl/saslutil.h>
void sasl_erasebuffer(char *pass, unsigned len);
DESCRIPTION
Use the sasl_erasebuffer() interface to erase a security sensitive buffer or password. The implementation may use recovery-resistant erase
logic.
PARAMETERS
pass A password
len The length of the password
RETURN VALUES
The sasl_erasebuffer() interface returns no return values.
ERRORS
None.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWlibsasl |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
SunOS 5.11 16 Sep 2003 sasl_erasebuffer(3SASL)