FcUtf16Len − count UTF-16 encoded chars


#include <fontconfig.h>

FcBool FcUtf16Len (FcChar8 *src, FcEndian endian, int len, int *nchar, int *wchar);


Counts the number of Unicode chars in len bytes of src. Bytes of src are combined into 16-bit units according to endian. Places that count in nchar. wchar contains 1, 2 or 4 depending on the number of bytes needed to hold the largest unicode char counted. The return value indicates whether string is a well-formed UTF16 string.


Fontconfig version 2.8.0

More Linux Commands

SDL_JoystickNumButtons(3) - Get the number of joysitck butto
Return the number of buttons available from a previously opened SDL_Joystick. RETURN VALUE Number of buttons. SEE ALSO SDL_JoystickGetButton, SDL_JoystickOpen S

findfs(8) - find a filesystem by label or UUID (Man Page)...
findfs will search the block devices in the system looking for a filesystem or partition with specified tag. The currently supported tags are: LABEL=&lt;label&gt; Spe

Tk_SetWindowBorderWidth(3) - change window configuration or
These procedures are analogous to the X library procedures with similar names, such as XConfigureWindow. Each one of the above procedures calls the correspondin

argz_create(3) - functions to handle an argz list (ManPage)
These functions are glibc-specific. An argz vector is a pointer to a character buffer together with a length. The intended interpretation of the character buffe

nocbreak_sp(3ncurses) - curses screen-pointer extension.....
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th

Cyrus::IMAP::IMSP(3pm) - Perl module for Cyrus IMSP user opt
This module is a Perl interface to the Cyrus IMSP functions that relate to user options (preferences). Only three IMSP operations are implemented: set, unset, a

epoll_wait.2 - epoll_wait(2) - wait for an I/O event on an epoll file descr
The epoll_wait() system call waits for events on the epoll(7) instance referred to by the file descriptor epfd. The memory area pointed to by events will contai

gnutls_x509_dn_import(3) - API function - Linux manual page
This function parses an RDN sequence and stores the result to a gnutls_x509_dn_t structure. The structure must have been initialized with gnutls_x509_dn_init().

ldap_attributetype2name(3) - Schema definition handling rout
These routines are used to parse schema definitions in the syntax defined in RFC 4512 into structs and handle these structs. These routines handle four kinds of

apparmor_parser(8) loads AppArmor profiles into the kernel
apparmor_parser is used as a general tool to compile, and manage AppArmor policy, including loading new apparmor.d(5) profiles into the Linux kernel. AppArmor p

pamseq(1) - generate PAM image of all possible tuple values,
This program is part of Netpbm(1) pamseq generates a PAM image of a specified depth and specified maxval that consists of a single row. The row consists of one

sqlite3(n) an interface to the SQLite3 database engine......
SQLite3 is a self-contains, zero-configuration, transactional SQL database engine. This extension provides an easy to use interface for accessing SQLite databas

We can't live, work or learn in freedom unless the software we use is free.