Unloading the demokext kernel extension
This topic describes unloading the demokext kernel extension.
To unload the demokext kernel extension:
- At the $ prompt, bring the demonstration program to the
foreground by typing
fgon the command line. At this point, the prompt changes to./demo. - Enter
0to unload and exit,1to increment counters, or2to decrement counters. The prompt is not displayed again because it was shown prior to stopping the program and placing it in the background. For the purposes of this example, enter0to indicate that the kernel extension is to be unloaded and that the demonstration program is to terminate.