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
glutcreatemenuwindow(3) - centos
glutcreatewindow(3) - centos
glutget(3) - centos
glutsetcursor(3) - centos
glutsetwindow(3) - centos
Similar Topics in the Unix Linux Community
Best performance UNIX just for HOST Virtualization?
How to increment version inside a file?
DB2 convert digits to binary format
Docker learning Phase-I
CentOS 6 ran out of space, need to reclaim it