calling glutExit in the erro callback is a really bad example...
[freeglut] / progs / demos / timer /
drwxr-xr-x   ..
-rw-r--r-- 1194 timer.c