logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

iconv_close - deallocate descriptor for character set conversion

Attributes

       For an explanation of the terms used in this section, see attributes(7).
       ┌─────────────────────────────────────────────────────────────────────────────┬───────────────┬─────────┐
       │ InterfaceAttributeValue   │
       ├─────────────────────────────────────────────────────────────────────────────┼───────────────┼─────────┤
       │ iconv_close()                                                               │ Thread safety │ MT-Safe │
       └─────────────────────────────────────────────────────────────────────────────┴───────────────┴─────────┘

Description

       The   iconv_close()   function   deallocates  a  conversion  descriptor  cd  previously  allocated  using
       iconv_open(3).

History

       glibc 2.1.  POSIX.1-2001.

Library

       Standard C library (libc, -lc)

Name

       iconv_close - deallocate descriptor for character set conversion

Return Value

       On success, iconv_close() returns 0; otherwise, it returns -1 and sets errno to indicate the error.

See Also

iconv(3), iconv_open(3)

Linux man-pages 6.9.1                              2024-05-02                                     iconv_close(3)

Standards

       POSIX.1-2008.

Synopsis

#include<iconv.h>inticonv_close(iconv_tcd);

See Also