I found the function digging through the functions available under the
ostable.
Every other function there has a purpose, but this one does not seem to work.
Is it even a function? Is it just broken? What does it do?
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
debug.getinfo(os.info) => { ["nups"] = 0, ["what"] = "C", ["func"] = "<function>", ["lastlinedefined"] = -1, ["source"] = "=[C]", ["currentline"] = -1, ["namewhat"] = "", ["linedefined"] = -1, ["short_src"] = "[C]" }
When called it returns the error:
LUA ERROR: attempt to index a function value