EMILUA(3em)
๐ธ NAME ๐ธ
okay so this is the EMILUA(3em) page from the Emilua reference, and it's all about Emilua - Lua execution engine. Main character energy for your Lua execution engine documentation moment ๐ง
โจ SYNOPSIS โจ
local system = require "system"
system.get_ld_library_directories() -> file_descriptor[]
๐ DESCRIPTION ๐
system.get_ld_library_directories() obtains and returns a list of file descriptors using this method, no cap:
- Query
RTLD_DI_SERINFOfor the executable, ignoring repeated paths. - Open the directories for the queryโs results, ignoring any that fails.
- If the calling process was spawned from Emilua using
spawn_vm(), also acquire duplicates from the file descriptors sent through the parametersubprocess.ld_library_directories.
That's the whole vibe: it's collecting file descriptors and handing them back as file_descriptor[] ๐ซถ
๐ฎ FUTURE DIRECTIONS ๐ฎ
New parameters might be added in the future to control the value returned by this function. So likeโฆ future tea, not current tea. There are no extra knobs in this version, bestie โญ
Cute sign-off: this page is from Emilua 0.12.1-nixpkgs1, dated 1980-01-01, and the manual is EMILUA(3em) ๐
๐ฆ where this page comes from
- nixos 26.05: emilua 0.12.1
- nixpkgs unstable: emilua 0.12.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms