euclen man page on Solaris

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

euclen(3C)		 Standard C Library Functions		    euclen(3C)

NAME
       euclen,	euccol,	 eucscol  -  get  byte length and display width of EUC
       characters

SYNOPSIS
       #include <euc.h>

       int euclen(const unsigned char *s);

       int euccol(const unsigned char *s);

       int eucscol(const unsigned char *str);

DESCRIPTION
       The 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	 char‐
       acter 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.

USAGE
       These 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.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       │MT-Level		     │MT-Safe with exceptions	   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       getwidth(3C), setlocale(3C), attributes(5)

SunOS 5.10			  20 Dec 1996			    euclen(3C)
[top]

List of man pages available for Solaris

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