25 lines
No EOL
593 B
Text
25 lines
No EOL
593 B
Text
|
|
The Kernel API is the one that backs the whole
|
|
Operating System. It provides wrappers for some
|
|
in-built functions, and is responsible for
|
|
error report generation.
|
|
|
|
Functions in the Kernel API:
|
|
credits()
|
|
getName()
|
|
getRelease()
|
|
getVersion()
|
|
getMachine()
|
|
getProcessorArchitecture()
|
|
getHardwarePlatform()
|
|
getOS()
|
|
clear()
|
|
panic(text)
|
|
import(file) (A safe os.loadAPI)
|
|
require(file) (A primitive require function)
|
|
APIHook(api)
|
|
printFile(file)
|
|
secureInput(invite, definition)
|
|
shutdown(removeVar) / reboot(removeVar)
|
|
findManual(name) (Find a manual file path)
|
|
The Logging API ('man api-log') functions |