Scroll to navigation

SDL_GUIDToString(3) SDL3 FUNCTIONS SDL_GUIDToString(3)

NAME

SDL_GUIDToString - Get an ASCII string representation for a given :: SDL_GUID .

SYNOPSIS

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

DESCRIPTION

You should supply at least 33 bytes for pszGUID.

FUNCTION PARAMETERS

the :: SDL_GUID
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_GUIDFromString(3)

SDL 3.1.0 SDL