Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ctype(3C)

stdio(3S)

wctype(3I)

wconv(3I)

NAME

wconv, towupper, towlower  − Process Code character conversion macros

SYNOPSIS

cc [ flag ... ] file ... −lw [ library ... ]

#include <widec.h>
#include <wctype.h>

int towlower(int c);

int towupper(int c);

CHARACTER CONVERSION MACROS

These macros perform simple case conversions on Latin characters in Process Code, wchar_t, from the primary and supplementary codesets, by table lookup.

towupper(c) converts the lower-case Latin character c to its upper-case equivalent.  If c is not a lower-case Latin character c is returned. 

towlower(c) converts the upper-case character c to its lower-case equivalent.  If c is not an upper-case Latin character c is returned. 

SEE ALSO

ctype(3C), stdio(3S), wctype(3I)

SunOS 5.1/SPARC  —  Last change: 28 Feb 1992

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