From 7d60dc2644c658e7ae5c9d609fa65c622fe2d230 Mon Sep 17 00:00:00 2001 From: "debing.sun" Date: Wed, 21 Feb 2024 11:09:11 +0800 Subject: [PATCH] Add Lua os library section --- docs/interact/programmability/lua-api.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/interact/programmability/lua-api.md b/docs/interact/programmability/lua-api.md index f5d6e3e505..b544c44358 100644 --- a/docs/interact/programmability/lua-api.md +++ b/docs/interact/programmability/lua-api.md @@ -670,6 +670,9 @@ The following [standard Lua libraries](https://www.lua.org/manual/5.1/manual.htm * The [_String Manipulation (string)_ library](https://www.lua.org/manual/5.1/manual.html#5.4) * The [_Table Manipulation (table)_ library](https://www.lua.org/manual/5.1/manual.html#5.5) * The [_Mathematical Functions (math)_ library](https://www.lua.org/manual/5.1/manual.html#5.6) +* The [_Operating System Facilities (os)_ library](https://www.lua.org/manual/5.1/manual.html#5.8) + Note that for sandbox security, currently only the following os API is exposed: + * `os.clock()` In addition, the following external libraries are loaded and accessible to scripts: