#include <ldap.h> char * ldap_get_iconv_local_codepage ( )
The ldap_get_iconv_local_codepage() API is used to obtain the active LDAP code page. It returns the value of a global variable ldap_global_codepage set by ldap_set_iconv_local_codepage(). To free the returned string, use ldap_memfree().
No IBM® i authority is required.
No parameter are passed to ldap_get_iconv_local_codepage().
If ldap_get_iconv_local_codepage() is not successful, it returns NULL.
The following message may be sent from this function.
Message ID | Error Message Text |
---|---|
CPF3CF2 E | Error(s) occurred during running of ldap_get_iconv_local_codepage API. |
[ Back to top | LDAP APIs | APIs by category ]