SYSDECODE(3)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

πŸ’– SYSDECODE(3) β€” Library Functions Manual πŸ’–

okay so bestie, this is the Library Functions Manual page for SYSDECODE(3) β€” yes, the manual name is literally Library Functions Manual, and we're folding it in right here at the top like the main character it is. πŸ’…

✨ NAME ✨

sysdecode β€” system argument decoding library. that's the whole name, and honestly? it's giving "I give you descriptive names for values around system calls so you don't have to." 🫢

πŸŽ€ LIBRARY πŸŽ€

the library is libsysdecode. yes, the LIBRARY section is literally library β€œlibsysdecode” and nothing else. short and iconic. ✨

🌸 SYNOPSIS 🌸

#include <sysdecode.h>

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the sysdecode library includes several functions that provide descriptive names of values associated with system calls. that's the whole vibe: system-call-adjacent values get descriptive names, and this library is the one handing them to you. no cap, it's useful. πŸ’–

🌈 Supported ABIs 🌈

some functions in this library provide ABI-specific descriptions. the supported ABIs are named by the enum sysdecode_abi enumeration, and here's the whole cast, bestie:

  • SYSDECODE_ABI_FREEBSD β€” Native FreeBSD binaries. Supported on all platforms.
  • SYSDECODE_ABI_FREEBSD32 β€” 32-bit FreeBSD binaries. Supported on aarch64, amd64 and powerpc64.
  • SYSDECODE_ABI_LINUX β€” Linux binaries of the same platform. Supported on amd64, i386, and aarch64.
  • SYSDECODE_ABI_LINUX32 β€” 32-bit Linux binaries. Supported on amd64.
  • SYSDECODE_ABI_UNKNOWN β€” A placeholder for use when the ABI is not known.

periodt. each one is doing its own little ABI thing, and SYSDECODE_ABI_UNKNOWN is literally the "idk yet" placeholder. πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

go read these next, bestie β€” they're all in section (3) and they're all part of the same sysdecode friend group:

⭐ HISTORY ⭐

the sysdecode library first appeared in FreeBSD 11.0. that's the origin story, periodt. πŸ’œ


and that's the page, bestie πŸŽ€ this one comes from the Debian source/version, dated September 22, 2021, and it's filed under SYSDECODE(3). mwah πŸ’‹ slay. 🌟

πŸ“¦ where this page comes from