dreamworkAPI
Ctrl K
GitHub
libraryDocs / os

os

librarysharedmenusource

This library is implemented through table os.

View documents

Functions

os.clock
os.date
os.difftime
os.exitCalls the ISO C function exit to terminate the host program.
os.getenv

#os.clock

function os.clock()

#os.date

function os.date(fmt: any, timestamp: any)
Parameters
NameTypeDescription
fmtany
timestampany

#os.difftime

function os.difftime(a: any, b: any)
Parameters
NameTypeDescription
aany
bany

#os.exit

sharedmenusource
function os.exit()

Calls the ISO C function exit to terminate the host program.

#os.getenv

function os.getenv()

Alias of debug.fempty.

Generated from the dreamwork meta branch.