sasl_erasebuSimpleSAuthentication Security Layer Librarsasl_erasebuffer(3SASL)NAMEsasl_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 buf‐
fer 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 ALSOattributes(5)SunOS 5.10 16 Sep 2003 sasl_erasebuffer(3SASL)