SDL_GetGDKDefaultUser(3)

SDL_GetGDKDefaultUser3

Gets a reference to the default user handle for gdk.

Usage

#include "SDL3/SDL.h"

bool SDL_GetGDKDefaultUser(XUserHandle *outUserHandle);

Header file

Defined in SDL3/SDL_system.h

Overview

This is effectively a synchronous version of XUserAddAsync, which always prefers the default user and allows a sign-in UI.

Function parameters

outUserHandle

a pointer to be filled in with the default user handle.

Return value

Returns true if success or false on failure; call

SDL_GetError () for more information.

Availability

This function is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.