KCAPI_MEMSET_SECURE(3)
π KCAPI_MEMSET_SECURE π
okay so bestie, welcome to kcapi_memset_secure β part of the libkcapi programming interface (that's the manual we're living in today, mwah) π
β¨ NAME β¨
kcapi_memset_secure β a memset implementation that will not get optimized away by the compiler π«Ά
like. it sets memory. but it stays set. the compiler cannot gaslight you about it. iconic behaviour only.
πΈ SYNOPSIS πΈ
void kcapi_memset_secure(void * s, int c, size_t n);
π ARGUMENTS π
ngl bestie, all three of these are just the memset(3) ones. no new lore. go read that page if you need the tea. π
π DESCRIPTION π
The parameters, the logic, and the return code are identical to memset(3).
that's it. that's the whole vibe. it's memset but the compiler can't delete it behind your back and pretend nothing happened π
π AUTHOR π
Stephan Mueller <smueller@chronox.de>
- Author. π«‘
π COPYRIGHT π
this is where the legal girlies live β the page belongs to the libkcapi Manual, version 1.5.0, dated July 2025, and the manual page name is KCAPI_MEMSET_SECURE(3).
and that's the whole page bestie, no cap π libkcapi Manual 1.5.0, July 2025, KCAPI_MEMSET_SECURE(3) β slay, go forth and securely zero your buffers, periodt β¨ππ¦
π¦ where this page comes from
- fedora 43: libkcapi-devel 1.5.0-6.fc43 Β· BSD-3-Clause OR GPL-2.0-only
- fedora 43: libkcapi-devel 1.5.0-6.fc43 Β· BSD-3-Clause OR GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms