SDL_StringToGUID(3)

SDL_StringToGUID3

Convert a guid string into a sdl_guid structure.

Usage

#include "SDL3/SDL.h"

SDL_GUID SDL_StringToGUID(const char *pchGUID);

Header file

Defined in SDL3/SDL_guid.h

Overview

Performs no error checking. If this function is given a string containing an invalid GUID, the function will silently succeed, but the GUID generated will not be useful.

Function parameters

pchGUID

string containing an ASCII representation of a GUID.

Return value

( SDL_GUID ) Returns a SDL_GUID
structure.

Thread safety

It is safe to call this function from any thread.

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.