centos man page for glutleavemainloop

Query: glutleavemainloop

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

UNTITLED
LOCAL UNTITLED
NAME
glutLeaveMainLoop -- Breaks out of OpenGLUT's glutMainLoop()
LIBRARY
OpenGLUT - mainloop
SYNOPSIS
#include <openglut.h> void glutLeaveMainLoop(void);
DESCRIPTION
This function allows you to unilaterally tell OpenGLUT that you are done and wish to exit. This is useful if you have also told OpenGLUT to return to you rather than to call exit() directly.
TODO
Could use longjmp(); see oghTakeActionOnWindowClose(). This would let us terminate the entire loop immediately.
SEE ALSO
glutMainLoop(3) exit(3) Epoch
Related Man Pages
glutcreatemenuwindow(3) - centos
glutcreatewindow(3) - centos
glutinit(3) - centos
glutspecialfunc(3) - centos
glutstrokewidth(3) - centos
Similar Topics in the Unix Linux Community
How to increment version inside a file?
Docker learning Phase-I
Unsure why access time on a directory change isn't changing
Controlling user input
Please Welcome Dave Munro to the Moderator Team!