vga_safety_forkSection: Svgalib User Manual (3)Updated: 27 July 1997 |
vga_safety_forkSection: Svgalib User Manual (3)Updated: 27 July 1997 |
#include <vga.h>
void vga_safety_fork(void (*shutdown_routine)(void))
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!
svgalib(7), vgagl(7), libvga.config(5), forktest(6), vga_init(3),
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.