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

# TTF\_TagToString(3)

Convert from a 32-bit tag to a 4 character string.

## NAME

TTF\_TagToString - Convert from a 32-bit tag to a 4 character string.

## HEADER FILE

Defined in SDL3\_ttf/SDL\_ttf.h

## SYNOPSIS

```
#include "SDL3_ttf/SDL_ttf.h"
```

**void TTF\_TagToString(Uint32 tag, char \*string, size\_t size);**

## FUNCTION PARAMETERS

- *tag*

  the 32-bit tag to convert.

- *string*

  a pointer filled in with the 4 character representation of the tag.

- *size*

  the size of the buffer pointed at by string, should be at least 4.

## THREAD SAFETY

It is safe to call this function from any thread.

## AVAILABILITY

This function is available since SDL\_ttf 3.0.0.

## SEE ALSO

**•**(3), [**TTF\_TagToString**(3)](/TTF_TagToString/3.md)
