Function sdl2_sys::SDL_GetDisplayName
source ยท pub unsafe extern "C" fn SDL_GetDisplayName(
displayIndex: c_int,
) -> *const c_char
Expand description
Get the name of a display in UTF-8 encoding.
\param displayIndex the index of display from which the name should be queried \returns the name of a display or NULL for an invalid display index or failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_GetNumVideoDisplays