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
glutdeviceget(3) - centos
glutget(3) - centos
glutmousefunc(3) - centos
glutsetoption(3) - centos
glutspecialfunc(3) - centos
Similar Topics in the Unix Linux Community
Best performance UNIX just for HOST Virtualization?
How to increment version inside a file?
Shopt -s histappend
CentOS 6 ran out of space, need to reclaim it
Please Welcome Dave Munro to the Moderator Team!