FREEBSD.SYS.LINKER(3lua)
π NAME π
freebsd.sys.linker β Lua binding to FreeBSD's Linker functions π«Ά
okay so this is the lil Lua module that lets you talk to FreeBSDβs linker functions, and yes itβs giving very main-character syscall energy β¨
β¨ SYNOPSIS β¨
local linker = require('freebsd.sys.linker')
fileid, err, errno = linker.kldload(name)
ok, err, errno = linker.kldunload(fileid|name)
π DESCRIPTION π
The freebsd.sys.linker module is a binding to the FreeBSD's linker functions. List of functions:
fileid, err = freebsd.sys.linker.kldload(name)β load the kernel module named name and return the identifier (fileid) as an integer πok, err, errno = freebsd.sys.linker.kldunload(fileid|name)β unload the kernel module identifier either by name as a string, or fileid as an integer π¦
π SEE ALSO π
source/version: Debian Β· date: September 6, 2024 Β· page tag: FREEBSD.SYS.LINKER(3lua) β mwah, bestie ππ
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- π the page's license: BSD-2-Clause
- Copyright (c) 2024, Baptiste Daroussin <bapt@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms