Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly

Sortix cross-nightly manual

This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.

SDL_WaitEvent(3) SDL API Reference 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
Tue 11 Sep 2001, 23:00 SDL
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org