Go to main content

man pages section 3: Networking Library Functions

Exit Print View

Updated: July 2017
 
 

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
system/library/security/libsasl
Interface Stability
Committed
MT-Level
MT–Safe

See Also

attributes(5)