Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ toascii(3C) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ctype(3c)

stdio(3s)



CONV(3C)                COMMAND REFERENCE                CONV(3C)



NAME
     conv, toupper, tolower, _toupper, _tolower, toascii -
     translate characters

SYNOPSIS
     #include <ctype.h>

     int toupper (c)
     int c;

     int tolower (c)
     int c;

     int toupper (c)
     int c;

     int tolower (c)
     int c;

     int toascii (c)
     int c;

DESCRIPTION
     Toupper and tolower have as domain the range of getc(3s):
     the integers from -1 through 255.  If the argument of
     toupper represents a lowercase letter, the result is the
     corresponding uppercase letter.  If the argument of tolower
     represents an uppercase letter, the result is the
     corresponding lowercase letter.  All other arguments in the
     domain are returned unchanged.

     toupper and tolower are macros that accomplish the same
     thing as toupper and tolower but have restricted domains and
     are faster.  toupper requires a lowercase letter as its
     argument; its result is the corresponding uppercase letter.
     tolower requires an uppercase letter as its argument; its
     result is the corresponding lowercase letter.  Arguments
     outside the domain cause undefined results.

     Toascii yields its argument with all bits turned off that
     are not part of a standard ASCII character; it is intended
     for compatibility with other systems.

SEE ALSO
     ctype(3c) and stdio(3s).










Printed 5/12/88                                                 1





































































%%index%%
na:264,131;
sy:395,1376;
de:1771,1953;
se:3724,144;
%%index%%000000000085

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