RESET(L) NAME reset - called by driver when object is 'reset' SYNOPSIS void reset(int arg); LOCATION Called in every object. DESCRIPTION The function reset() is called in every object, by the driver. There are two kinds of calls: At creation time of the object, when it is loaded, reset with an argument of 0 is passed to the object. At periodic intervals after this, reset is called with an argument of 1 passed to it. At each reset time, a new integer with a value 'time() + random(X/2) + X/2' is bound to the object. This is the time of the next reset. Every 10 minutes the driver scans all objects and resets those objects which are up for reset. SEE ALSO _exit(L), clean_up(L)
Help topics available:
You are guest number 78 since January 2020.
This file was last modified: June 2000.