need_uconvert man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

need_uconvert(3)		Allegro manual		      need_uconvert(3)

NAME
       need_uconvert - Tells if a string requires encoding conversion. Allegro
       game programming library.

SYNOPSIS
       #include <allegro.h>

       int need_uconvert(const char *s, int type, int newtype);

DESCRIPTION
       Given a pointer to a string (`s'), a description of  the	 type  of  the
       string  (`type'),  and  the  type that you would like this string to be
       converted into (`newtype'), this function tells you whether any conver‐
       sion  is required. No conversion will be needed if `type' and `newtype'
       are the same, or if one type is ASCII, the  other  is  UTF-8,  and  the
       string  contains	 only character values less than 128. As a convenience
       shortcut, you can pass the value U_CURRENT as either of the type param‐
       eters,	to  represent  whatever	 text  encoding	 format	 is  currently
       selected. Example:

	  if (need_uconvert(text, U_UTF8, U_CURRENT)) {
	     /* conversion is required */
	  }

RETURN VALUE
       Returns non-zero if any conversion is required or zero otherwise.

SEE ALSO
       set_uformat(3), get_uformat(3), do_uconvert(3), uconvert(3)

Allegro				 version 4.4.2		      need_uconvert(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net