SASL_ERASEBUFFER(3SASL)SASL_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 │
├────────────────────┼─────────────────┤
│Interface Stability │ Evolving │
├────────────────────┼─────────────────┤
│MT-Level │ MT-Safe │
└────────────────────┴─────────────────┘
SEE ALSOattributes(5)
Sep 16, 2003 SASL_ERASEBUFFER(3SASL)