Annotation of researchv10dc/630/man/src/p_man/man3/conv.3l, revision 1.1.1.1

1.1       root        1: .\"#ident      "@(#)ccsman:g3c/conv    1.2"
                      2: '\"macro stdmacro
                      3: .nr X
                      4: .if \nX=0 .ds x} CONV 3L "630 MTG" "\&"
                      5: .TH \*(x}
                      6: .SH NAME
                      7: conv: toupper, tolower, _toupper, _tolower, toascii \- translate characters
                      8: .SH SYNOPSIS
                      9: .nf
                     10: .B #include <ccs/ctype.h>
                     11: .PP
                     12: .B int toupper (c)
                     13: .B int c;
                     14: .PP
                     15: .B int tolower (c)
                     16: .B int c;
                     17: .PP
                     18: .B int _toupper (c)
                     19: .B int c;
                     20: .PP
                     21: .B int _tolower (c)
                     22: .B int c;
                     23: .PP
                     24: .B int toascii (c)
                     25: .B int c;
                     26: .SH DESCRIPTION
                     27: .I Toupper\^
                     28: and
                     29: .I tolower\^
                     30: have as domain the range of
                     31: .IR jx (1)
                     32: .IR getc :
                     33: the integers from \-1 through 255.
                     34: If the argument of
                     35: .I toupper\^
                     36: represents a lower-case letter, the
                     37: result is the corresponding upper-case
                     38: letter.
                     39: If the argument of
                     40: .I tolower\^
                     41: represents an upper-case letter, the
                     42: result is the corresponding lower-case
                     43: letter.
                     44: All other arguments in the domain are
                     45: returned unchanged.
                     46: .PP
                     47: The macros
                     48: .I _toupper\^
                     49: and
                     50: .IR _tolower ,
                     51: are macros that accomplish the same thing as
                     52: .I toupper\^
                     53: and
                     54: .I tolower\^
                     55: but have restricted domains and are faster.
                     56: .I _toupper\^
                     57: requires a lower-case letter as its argument;
                     58: its result is the corresponding upper-case letter.
                     59: The macro
                     60: .I _tolower\^
                     61: requires an upper-case letter as its argument;
                     62: its result is the corresponding lower-case letter.
                     63: Arguments outside the domain cause undefined results.
                     64: .PP
                     65: .I Toascii\^
                     66: yields its argument with all bits turned off that are not
                     67: part of a standard
                     68: .SM ASCII
                     69: character; it is intended for compatibility
                     70: with other systems.
                     71: .SH SEE ALSO
                     72: jx(1),
                     73: ctype(3L),
                     74: ascii(5).
                     75: .Ee

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.