---
name: "SDL_iconv_close"
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_iconv_close"
---

# SDL\_iconv\_close(3)

This function frees a context used for character set conversion.

## NAME

SDL\_iconv\_close - This function frees a context used for character set conversion.

## HEADER FILE

Defined in SDL3/SDL\_stdinc.h

## SYNOPSIS

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

**int SDL\_iconv\_close(SDL\_iconv\_t cd);**

## FUNCTION PARAMETERS

- *cd*

  The character set conversion handle.

## RETURN VALUE

Returns 0 on success, or -1 on failure.

## AVAILABILITY

This function is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_iconv**(3)](/SDL_iconv/3.md), **•**(3), [**SDL\_iconv\_open**(3)](/SDL_iconv_open/3.md), **•**(3), [**SDL\_iconv\_string**(3)](/SDL_iconv_string/3.md)
