AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
CONV( 3C ) CONV ( 3C ) NAME toupper, tolower, _toupper, _tolower, toascii - translate characters SYNOPSIS #include 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 lower-case letter, the result is the corresponding upper-case letter. If the argument of tolower represents an upper-case letter, the result is the corresponding lower-case 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 lower-case letter as its argument; its result is the corresponding upper-case letter. _tolower requires an upper-case letter as its argument; its result is the corresponding lower-case 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), getc(3S). - 1 -
- Page 753 and 754: SIGNAL (2) SIGNAL (2) NAME signal -
- Page 755 and 756: SIGNAL (2) SIGNAL (2) Sig is an ill
- Page 757 and 758: STAT ( 2 ) STAT ( 2 ) NAME stat, fs
- Page 759 and 760: STIME(2) STIME(2) NAME stime - set
- Page 761 and 762: SYNC ( 2) SYNC (2) NAME sync - upda
- Page 763 and 764: SYSLOCAL ( 2) SYSLOCAL ( 2) NAME Sy
- Page 765: TIME ( 2) TIME(2) NAME time - get t
- Page 768 and 769: .�.· '··.· ·•. J '·· -,
- Page 771 and 772: UMASK( 2 ) UMASK ( 2 ) NAME umask -
- Page 773 and 774: UMOUNT (2) UMOUNT (2) NAME umount -
- Page 775: UNAME ( 2 ) UNAME (2) NAME uname -
- Page 779: USTAT (2) USTAT (2) NAME ustat - ge
- Page 783 and 784: WAIT ( 2 ) WAIT ( 2 ) NAME wait - w
- Page 785 and 786: WRITE(2) WRITE (2) NAME write - wri
- Page 787 and 788: INTR0 ( 3 ) INTR0 ( 3 ) NAME intro
- Page 789: A64L ( 3C ) A64L ( 3C ) NAME a641,
- Page 793: ABS (3C) ABS (3C) NAME abs - return
- Page 797: ATOF ( 3C ) ATOF ( 3C ) NAME atof -
- Page 800 and 801: ·�
- Page 803: CLOCK( 3C ) CLOCK( 3C ) NAME clock
- Page 807: CRYPT (3C) (Domestic Version Only )
- Page 811 and 812: CTIME ( 3C ) CTIME ( 3C ) NAME ctim
- Page 813: CTYPE ( 3C ) CTYPE ( 3C ) NAME isal
- Page 816 and 817: CURSES (3) no raw() overlay(winl,wi
- Page 818 and 819: I�
- Page 820 and 821: DIAL ( 3C ) DIAL ( 3C ) required. T
- Page 822 and 823: DRAND48 ( 3C ) DRAND48 ( 3C ) a = 5
- Page 824 and 825: � --- ·
- Page 827: END ( 3C ) END ( 3C ) NAME end, ete
- Page 830 and 831: � .._.·· ��. .... ._ _ _ /
- Page 832 and 833: · '-... _ _ / . f) · (� "-- ·
- Page 835: FCLOSE ( 3S ) FCLOSE ( 3S ) NAME fc
- Page 839: FLOOR ( 3M ) FLOOR ( 3M) NAME floor
- Page 842 and 843: FOPEN (3S) FOPEN (3S) may be used t
- Page 844 and 845: FORM(3T) (AT&T UNIX PC only ) FORM
- Page 846 and 847: FORM{3T) { }; (AT&T UNIX PC only )
- Page 848 and 849: FORM(3T) (AT&T UNIX PC only ) FORM(
- Page 851: FREXP ( 3C ) FREXP ( 3C ) NAME frex
CONV( 3C ) CONV ( 3C )<br />
NAME<br />
toupper, tolower, _toupper, _tolower, toascii - translate characters<br />
SYNOPSIS<br />
#include <br />
int toupper (c)<br />
int c;<br />
int tolower (c)<br />
int c;<br />
int _toupper (c)<br />
int c;<br />
int _tolower (c)<br />
int c;<br />
int toascii (c)<br />
int c;<br />
DESCRIPTION<br />
Toupper and tolower have as domain the range of getc(3S): the<br />
integers from - 1 through 255. If the argument of toupper<br />
represents a lower-case letter, the result is the corresponding<br />
upper-case letter. If the argument of tolower represents an<br />
upper-case letter, the result is the corresponding lower-case letter.<br />
All other arguments in the domain are returned unchanged.<br />
_toupper and _tolower are macros that accomplish the same thing<br />
as toupper and tolower but have restricted domains and are faster.<br />
_toupper requires a lower-case letter as its argument; its<br />
result is the corresponding upper-case letter. _tolower requires an<br />
upper-case letter as its argument; its result is the corresponding<br />
lower-case letter. Arguments outside the domain cause undefined<br />
results.<br />
Toascii yields its argument with all bits turned off that are not<br />
part of a standard ASCII character; it is intended for compatibility<br />
with other systems.<br />
SEE ALSO<br />
ctype(3C), getc(3S).<br />
- 1 -