vga_safety_fork(3) - Linux man page
Name
vga_safety_fork - start a parallel process to restore the console at a crashSynopsis
#include <vga.h>
void vga_safety_fork(void (*shutdown_routine)(void))
Description
The forktest(6) demo shows the principal operation. (*shutdown_routine)() is called when the system crashes. However, realize that the call will take in a forked copy of your program, you'll not have access to any globals modified after the vga_safety_fork() call!
See Also
svgalib(7), vgagl(7), libvga.config(5), forktest(6), vga_init(3),
Author
This manual page was edited by Michael Weller <eowmob@exp-math.uni-essen.de>. The exact source of the referenced function as well as of the original documentation is unknown.
It is very likely that both are at least to some extent are due to Harm Hanemaayer <H.Hanemaayer@inter.nl.net>.
Occasionally this might be wrong. I hereby asked to be excused by the original author and will happily accept any additions or corrections to this first version of the svgalib manual.