Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getwidth(3I)

euclen(3I)

NAME

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

SYNOPSIS

int euclen(unsigned char ∗s);

int euccol(unsigned char ∗s);

int eucscol(unsigned char ∗str);

DESCRIPTION

euclen() returns the length in bytes of the Extended Unix Code (EUC) character pointed to by s, including single-shift characters, if present.

euccol() returns the screen column width of the EUC character pointed to by s.

eucscol() returns the screen column width of the EUC string pointed to by str.

For the euclen() and euccol(), routines, 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. 

FILES

/usr/lib/locale/locale/LC_CTYPE

SEE ALSO

getwidth(3I)

SunOS 5.1/x86  —  Last change: 8 Nov 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026