SDL_GetThreadName(3)

SDL_GetThreadName3

Get the thread name as it was specified in sdl_createthread ().

Usage

#include "SDL3/SDL.h"

const char * SDL_GetThreadName(SDL_Thread *thread);

Header file

Defined in SDL3/SDL_thread.h

Function parameters

thread

the thread to query.

Return value

Returns a pointer to a UTF-8 string that names the specified thread, or NULL if it doesn't have a name.

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.