Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
idn_result_tostring(3)	   Library Functions Manual	idn_result_tostring(3)

NAME
       idn_result_tostring - return a string corresponding with	an error code

SYNOPSIS
       #include	<idn/result.h>

       char *
       idn_result_tostring(idn_result_t	result);

DESCRIPTION
       idn_result_tostring() function takes an error code result and returns a
       pointer to the corresponding message string.

       The following is	a complete list	of the error codes.

       idn_success    The call succeeded.

       idn_notfound   Specified	information does not exist.

       idn_invalid_encoding
		      The encoding of the specified string is not valid.

       idn_invalid_syntax
		      There is a syntax	error in the configuration file.

       idn_invalid_name
		      The specified name is not	valid.

       idn_invalid_message (obsolete)
		      Invalid message.

       idn_invalid_action
		      The specified action value is not	valid.

       idn_invalid_codepoint
		      The specified string contains an	invalid	 Unicode  code
		      point; U+0000, U+D800..U+DFFF (for representing a	surro-
		      gate pair) or over U+10FFFF.

       idn_buffer_overflow
		      The specified buffer is too small	to hold	the result.

       idn_noentry    The specified key	does not exist in a hash table.

       idn_nomemory   malloc() or realloc() function returned NULL.

       idn_nofile     The specified file cannot	not be opened.

       idn_nomapping  A	character does not have	 the  mapping  to  the	target
		      character	set.

       idn_context_required (obsolete)
		      Context information required.

       idn_prohcheck_error
		      IDN_PROHCHECK failed.

       idn_prohibited (obsolete)
		      Same as idn_prohcheck_error.

       idn_unascheck_error
		      IDN_UNASCHECK failed.

       idn_nfccheck_error
		      IDN_NFCCHECK failed.

       idn_prefcheck_error
		      IDN_PREFCHECK failed.

       idn_hyphcheck_error
		      IDN_HYPHCHECK failed.

       idn_combcheck_error
		      IDN_COMBCHECK failed.

       idn_ctxjcheck_error
		      IDN_CTXJCHECK failed.

       idn_ctxocheck_error
		      IDN_CTXOCHECK or IDN_CTXOLITECHECK failed.

       idn_bidicheck_error
		      IDN_BIDICHECK failed.

       idn_localcheck_error
		      IDN_LOCALCHECK failed.

       idn_lencheck_error
		      IDN_LENCHECK failed.

       idn_invalid_length (obsolete)
		      Same as idn_lencheck_error.

       idn_rtcheck_error
		      IDN_RTCHECK failed.

       idn_tr46check_error
		      IDN_TR46CHECK failed.

       idn_neq	      Not  equivalent  domain  names.	This error code	is re-
		      turned from idn_comparenames() and idn_comparenames2().

       idn_failure    Generic error which is not covered by the	above codes.

SEE ALSO
       libidnkit(3), idn_checkname(3), idn_comparenames(3), idn_decodename(3),
       idn_encodename(3),   idn_nameinit(3),   idn_setlanguage(3),  idn_setlo-
       calcheckfile(3),	idn_setlocalencoding(3), idn.conf(5)

				 Sep 21, 2012		idn_result_tostring(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=idn_result_tostring&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help