SDL_WaitEvent(3)

NAME

SDL_WaitEvent - Waits indefinitely for the next available event.

SYNOPSIS

#include "SDL.h"

int SDL_WaitEvent(SDL_Event *event);

DESCRIPTION

Waits indefinitely for the next available event, returning 1, or 0 if there was an error while waiting for events.

If event is not NULL, the next event is removed from the queue and stored in that area.

SEE ALSO

SDL_Event, SDL_PollEvent
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout