User Tools

Site Tools


solaris:cconv_close.3c

cconv_close


NAME

cconv_close - character sequence based code conversion deallocation function

SYNOPSIS

#include <iconv.h>
int cconv_close(cconv_t cd);

DESCRIPTION

The cconv_close() function deallocates the conversion descriptor (cd) and all other associated resources allocated by the cconv_open(3C) function.

See EXAMPLES section of cconv(3C) for examples on how to use the function.

RETURN VALUES

Upon successful completion, 0 is returned. Otherwise, -1 is returned and errno is set to indicate the error.

ERRORS

The cconv_close() function may fail if:

EBADF

The conversion descriptor is invalid.

ATTRIBUTES

See attributes(7) for descriptions of the following attributes:

SEE ALSO

cconv(3C), cconv_open(3C), cconvctl(3C), attributes(7)


solaris/cconv_close.3c.txt · Last modified: 2023/07/19 08:58 by A User Not Logged in