Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

CentOS 7.0 - man page for glutleavemainloop (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


All times are GMT -4. The time now is 08:28 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password