SDL_iconv_close(3)
β¨ SDL_iconv_close(3) β¨
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, where we learn how to say bye-bye to a character set conversion thingy π
πΈ NAME πΈ
SDL_iconv_close β the function that frees a context used for character set conversion. it's giving "cleanup era", it's giving "we don't leave handles lying around" π§Ήβ¨
π¦ SYNOPSIS π¦
#include <SDL3/SDL_stdinc.h>
int SDL_iconv_close(SDL_iconv_t cd);
like yes, that's the whole vibe. one include, one call, one freed handle π
π FUNCTION PARAMETERS π
cdβ the character set conversion handle. yes, that handle. the one you got from open. she's the main character here and she's about to be released into the wild ποΈ
β RETURN VALUE β
Returns 0 on success, or -1 on failure. that's it. no cap. zero means slay, negative one means we're in our sad girl hours π
π₯ THREAD SAFETY π₯
It is safe to call this function from any thread. fr fr. any thread. go wild, no vibe check needed, she's chill π
π AVAILABILITY π
This function is available since SDL 3.2.0. if you're on something older, bestie, i'm so sorry, you don't get to party π
π SEE ALSO π
the whole iconv friend group, honestly. iconic. iykyk π«Ά
and that's the page!! this came to you from Simple Directmedia Layer, version SDL 3.4.18 β mwah, take care of your handles, free your contexts, and stay hydrated ππβ¨
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms