freebsd.kenv3lua
Lua binding to freebsd 's linker functions
Usage
local kenv = require('freebsd.kenv')
- table = kenv.get()
- value = kenv.get(key)
Overview
The freebsd.kenv module is a binding to the kenv(2) function.
List of functions:
- table = freebsd.kenv.get()
-
Dump the kernel environment into a key/value table.
- value = freebsd.kenv.get(key)
-
Return the value associated to the key, if it exists, or nil otherwise.
Releases
5 releases since FreeBSD 14.4-RELEASE; the text changed 2 times.