Query: euclen
OS: sunos
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
euclen(3C) Standard C Library Functions euclen(3C)NAMEeuclen, euccol, eucscol - get byte length and display width of EUC charactersSYNOPSIS#include <euc.h> int euclen(const unsigned char *s); int euccol(const unsigned char *s); int eucscol(const unsigned char *str);DESCRIPTIONThe euclen() function returns the length in bytes of the Extended Unix Code (EUC) character pointed to by s, including single-shift charac- ters, if present. The euccol() function returns the screen column width of the EUC character pointed to by s. The eucscol() function returns the screen column width of the EUC string pointed to by str. For the euclen() and euccol(), functions, s points to the first byte of the character. This byte is examined to determine its codeset. The character type table for the current locale is used for codeset byte length and display width information.USAGEThese functions will work only with EUC locales. These functions can be used safely in multithreaded applications, as long as setlocale(3C) is not called to change the locale.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |MT-Level |MT-Safe with exceptions | +-----------------------------+-----------------------------+SEE ALSOgetwidth(3C), setlocale(3C), attributes(5) SunOS 5.10 20 Dec 1996 euclen(3C)
Related Man Pages |
---|
cset(3c) - opensolaris |
cset(3c) - sunos |
csetno(3c) - sunos |
euclen(3c) - sunos |
eucscol(3c) - sunos |
Similar Topics in the Unix Linux Community |
---|
Using gv to read the pdf file. |