|
NAMEidn_nameinit - initialize libidnkit or libidnkitelite librarySYNOPSIS#include <idn/api.h> idn_result_t idn_nameinit(int load_file); DESCRIPTIONThe idn_nameinit() function initializes the libidnkit or libidnkitlite library. If load_file is not 0, it tries to read a default configuration file. If load_file is 0, it assumes no default configuration file exists (see idn2.conf(5) for details).Even if idn_nameinit() is called more than once, the initialization will take place only at the first call. Upon success, idn_nameinit() returns idn_success. Otherwise, it returns an error code. See idn_result_tostring(3) for the complete list of error codes. When one of the following functions is called prior to idn_nameinit(), an initialization will implicitly take place. In this case, idn_nameinit(0) is internally performed as the initialization.
SEE ALSOlibidnkit(3), idn_checkname(3), idn_comparenames(3), idn_decodename(3), idn_encodename(3), idn_nameinit(3), idn_result_tostring(3), idn_setlanguage(3), idn_setlocalencoding(3), idn_setlocalcheckfile(3), idn_result_tostring(3), idn2.conf(5)
Visit the GSP FreeBSD Man Page Interface. |