GLUTLEAVEMAINLOOP

Section: C Library Functions (3)
Updated: LOCAL
Page Index

BSD mandoc
 

NAME

glutLeaveMainLoop - Breaks out of OpenGLUT's glutMainLoop()  

LIBRARY

OpenGLUT - mainloop  

SYNOPSIS

In openglut.h Ft void Fn 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)


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
TODO
SEE ALSO