Method MasterObject()->_main()
- Method
_main
void_main(array(string(8bit))orig_argv)- Description
Low-level main entry point.
- Parameter
orig_argv These are the raw original arguments to the pike binary.
This function is called when all the driver is done with all setup of modules, efuns, tables etc. etc. and is ready to start executing _real_ programs. It receives the arguments not meant for the driver.
The default implementation of this function initializes the module system, loads and calls main(), and depending on the return value optionally starts looping over
Builtin.__backend()(ie enters backend mode).- Note
You typically do not want to write _main() yourself. User code is normally strapped via main().
- See also