Skip to content
mba105 edited this page Sep 24, 2014 · 2 revisions

Home > [Scripting Reference](Scripting Reference) > os.findlib


os.findlib

The os.findlib function scans the well-known system locations looking for a library file.

#!lua
p = os.findlib("libname")

Parameters

libname is name of the library to locate. It may be specified with (libX11.so) or without (X11) system-specific decorations.

Return Value

The path containing the library file, if found. Otherwise, nil.

Clone this wiki locally