![]() |
![]()
| ![]() |
![]()
NAMEiconvctl - control iconv behavior SYNOPSIS#include <iconv.h> int iconvctl (iconv_t cd , int request, void * argument); DESCRIPTIONThe argument cd must be a conversion descriptor created using the function iconv_open. iconvctl queries or adjusts the behavior of the iconv function, when invoked with the specified conversion descriptor, depending on the request value. REQUEST VALUESThe following are permissible values for the request parameter.
RETURN VALUEThe iconvctl function returns 0 if it succeeds. In case of error, it sets errno and returns -1. ERRORSThe following errors can occur, among others:
CONFORMING TOThis function is implemented only in GNU libiconv and not in other iconv implementations. It is not backed by a standard. You can test for its presence through (_LIBICONV_VERSION >= 0x0108). SEE ALSOiconv_open(3) iconv(3)
|