#include <s3d.h>
int s3d_quit(void );
int s3d_quit
closes the connection and cleares the event-stack. it can also be used to leave the s3d_mainloop.