FREEBSD.KENV(3lua)

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

πŸ’– NAME πŸ’–

okay bestie, this is the LOCAL manual page for FREEBSD.KENV(3lua) β€” the Lua binding to FreeBSD 's Linker functions.

  • freebsd.kenv β€” Lua binding to FreeBSD 's Linker functions

✨ SYNOPSIS ✨

local kenv = require('freebsd.kenv')

table = kenv.get()
value = kenv.get(key)

πŸŽ€ DESCRIPTION πŸŽ€

The freebsd.kenv module is literally a binding to the kenv(2) function. no cap.

List of functions:

  • table = freebsd.kenv.get() β€” dumps the kernel environment into a key/value table. it's giving "all the kernel env keys and values, collected in one table" πŸ’…
  • value = freebsd.kenv.get(key) β€” returns the value associated to key if it exists, or nil otherwise. that's it, that's the whole function 🫢

🌈 SEE ALSO 🌈

  • kenv(2) β€” go read this next, bestie, it's the whole crossover event ✨

🌸 sign-off: FREEBSD.KENV(3lua), Debian source/version vibe, dated September 6, 2024 β€” mwah, bestie πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from