This repository has been archived on 2024-04-19. You can view files and clone it, but cannot push or open issues or pull requests.
FREAX/etc/manuals/api-kernel
2022-07-18 19:33:40 +02:00

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