VMS Help  —  CRTL  iconv_open, Return Values
    x                  A conversion descriptor. Indicates the call
                       was successful. This descriptor is used in
                       subsequent calls to iconv
    (iconv_t) -1       Indicates an error occurred. The function sets
                       errno to one of the following:

                       o  EMFILE - The process does not have enough
                          I/O channels to open a file.

                       o  ENOMEM - Insufficient space is available.

                       o  EINVAL - The conversion specified by
                          fromcode and tocode is not supported.

                       o  EVMSERR - Nontranslatable OpenVMS error
                          occur. vaxc$errno contains the OpenVMS
                          error code. A value of SS$_BADCHKSUM in
                          vaxc$errno indicates that a conversion
                          table file was found, but its contents is
                          corrupted. A value of SS$_IDMISMATCH in
                          vaxc$errno indicates that the conversion
                          table file version does not match the
                          version of the C Run-Time Library.
Close Help