diff options
| author | Mattias Andrée <m@maandree.se> | 2026-04-26 22:36:47 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-04-26 22:36:47 +0200 |
| commit | d77ab463184d113ca6119403887c9f4ed0dfdf0b (patch) | |
| tree | ca8a1de443f90a4b7def56ea5b61c96aaa949f45 /librecrypt_wipe.3 | |
| download | librecrypt-d77ab463184d113ca6119403887c9f4ed0dfdf0b.tar.gz librecrypt-d77ab463184d113ca6119403887c9f4ed0dfdf0b.tar.bz2 librecrypt-d77ab463184d113ca6119403887c9f4ed0dfdf0b.tar.xz | |
First commit
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'librecrypt_wipe.3')
| -rw-r--r-- | librecrypt_wipe.3 | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/librecrypt_wipe.3 b/librecrypt_wipe.3 new file mode 100644 index 0000000..48f5829 --- /dev/null +++ b/librecrypt_wipe.3 @@ -0,0 +1,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) |
