glutleavemainloop(3) centos man page | unix.com

Man Page: glutleavemainloop

Operating Environment: centos

Section: 3

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
glutget(3) - centos
glutmousefunc(3) - centos
glutpopwindow(3) - centos
glutsetcursor(3) - centos
glutsetoption(3) - centos
Similar Topics in the Unix Linux Community
Weird 'find' results
How to increment version inside a file?
Docker learning Phase-I
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!