Scroll to navigation

SDL_GetJoystickGUIDString(3) SDL3 FUNCTIONS SDL_GetJoystickGUIDString(3)

NAME

SDL_GetJoystickGUIDString - Get an ASCII string representation for a given SDL_JoystickGUID .

HEADER FILE

Defined in SDL3/SDL_joystick.h

SYNOPSIS

#include "SDL3/SDL.h"
int SDL_GetJoystickGUIDString(SDL_JoystickGUID guid, char *pszGUID, int cbGUID);

DESCRIPTION

You should supply at least 33 bytes for pszGUID.

FUNCTION PARAMETERS

the SDL_JoystickGUID
you wish to convert to string
buffer in which to write the ASCII string
the size of pszGUID

RETURN VALUE

Returns 0 on success or a negative error code on failure; call

SDL_GetError () for more information.

AVAILABILITY

This function is available since SDL 3.0.0.

SEE ALSO

SDL_GetJoystickInstanceGUID(3), SDL_GetJoystickGUID(3), SDL_GetJoystickGUIDFromString(3)

SDL 3.1.2 Simple Directmedia Layer