---
name: "SDL_GUIDToString"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_GUIDToString"
---

# SDL\_GUIDToString(3)

Get an ASCII string representation for a given SDL\_GUID .

## NAME

SDL\_GUIDToString - Get an ASCII string representation for a given  **SDL\_GUID** .

## HEADER FILE

Defined in SDL3/SDL\_guid.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**void SDL\_GUIDToString(SDL\_GUID guid, char \*pszGUID, int cbGUID);**

## FUNCTION PARAMETERS

- *guid*

  the  **SDL\_GUID**\
    you wish to convert to string.

- *pszGUID*

  buffer in which to write the ASCII string.

- *cbGUID*

  the size of pszGUID, should be at least 33 bytes.

## THREAD SAFETY

It is safe to call this function from any thread.

## AVAILABILITY

This function is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_StringToGUID**(3)](/SDL_StringToGUID/3.md)
