EMILUA(3em)

๐Ÿ“ฆ version 0.12.1, in nixos 26.05, nixpkgs unstable

๐ŸŒธ 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:

  1. Query RTLD_DI_SERINFO for the executable, ignoring repeated paths.
  2. Open the directories for the queryโ€™s results, ignoring any that fails.
  3. If the calling process was spawned from Emilua using spawn_vm(), also acquire duplicates from the file descriptors sent through the parameter subprocess.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