aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_wipe.3
blob: 48f582994b3719c61bf6ee92cb712dbd872b8dd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.TH LIBRECRYPT_WIPE 3 LIBRECRYPT
.SH NAME
librecrypt_wipe - Securely erase a memory buffer

.SH SYNOPSIS
.nf
#include <librecrypt.h>

void \fBlibrecrypt_wipe\fP(void *\fIbuffer\fP, size_t \fIsize\fP);
.fi
.PP
Link with
.IR -lrecrypt .

.SH DESCRIPTION
The
.BR librecrypt_wipe ()
function securely erases
.I size
bytes from
.IR buffer .

.SH RETURN VALUES
None.

.SH ERRORS
The
.BR librecrypt_wipe ()
function cannot fail.

.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
.PP
.TS
allbox;
lb lb lb
l l l.
Interface	Attribute	Value
T{
.BR librecrypt_wipe ()
T}	Thread safety	MT-Safe
T{
.BR librecrypt_wipe ()
T}	Async-signal safety	AS-Safe
.TE
.sp

.SH HISTORY
The
.BR librecrypt_wipe ()
function was introduced in version 1.0 of
.BR librecrypt .

.SH SEE ALSO
.BR librecrypt (7),
.BR librecrypt_wipe_str (3)