os
This library is implemented through table os.
Functions
os.clock | |
os.date | |
os.difftime | |
os.exit | Calls 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
| Name | Type | Description |
|---|---|---|
fmt | any | |
timestamp | any |
#os.difftime
function os.difftime(a: any, b: any)
Parameters
| Name | Type | Description |
|---|---|---|
a | any | |
b | any |
#os.exit
function os.exit()
Calls the ISO C function exit to terminate the host program.
#os.getenv
function os.getenv()
Alias of debug.fempty.