ecryptfs_enc...for_filename(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

ecryptfs_encode_for_filename β€” okay so the description slot in the original is literally empty?? like the dash is just sitting there with nothing after it, mystery main character energy, no cap 🫢 that's the whole vibe of this one bestie

This one lives in the Kernel API Manual, so bestie you already know we're in the kernel-adjacent corner of the group chat 🌸


✨ SYNOPSIS ✨

void ecryptfs_encode_for_filename (unsigned char *dst , size_t *dst_size
, unsigned char *src , size_t src_size );

Notice the void bestie β€” this one doesn't hand you back a return value, it just does the thing and dips πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • dst β€” the destination location for the encoded filename. it's giving "the output goes here" energy ✨
  • dst_size β€” the size of the encoded filename, measured in bytes. a pointer, so it's size_t *, not just a plain old size_t, iykyk πŸ¦‹
  • src β€” source location for the filename you wanna encode, iconic πŸ‘‘
  • src_size β€” the size of the source, in bytes. yes, source, not the encoded one β€” don't mix them up bestie 😭
no notes on return value because there isn't one β€” void said "not my problem" πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./fs/ecryptfs/crypto.c β€” that's where this whole friend group hangs out 🧚

like look at that list, it's a whole friend group of ecryptfs functions and they all ate πŸ”₯


that's the whole page bestie, short and mysterious πŸŽ€ source/version is ./fs/ecryptfs and the date on it is October 2026 β€” mwah, love that for us πŸ’–βœ¨

πŸ“¦ where this page comes from