Manpage of TOLOWER

Google
Web www.fiveanddime.net

TOLOWER

Section: NEWLIB (3)
Updated: 2005 Feb 23
Index Return to Main Contents
 

NAME

2.13 `tolower'--translate characters to lower case

 

SYNOPSIS


     #include <ctype.h>
     int tolower(int C);
     int _tolower(int C);  

DESCRIPTION

`tolower' is a macro which converts upper-case characters to lower case, leaving all other characters unchanged. It is only defined when C is an integer in the range `EOF' to `255'.


   You can use a compiled subroutine instead of the macro definition by undefining this macro using ``#undef tolower''.


   `_tolower' performs the same conversion as `tolower', but should only be used when C is known to be an uppercase character (`A'-`Z').

 

RETURNS

`tolower' returns the lower-case equivalent of C when it is a character between `A' and `Z', and C otherwise.


   `_tolower' returns the lower-case equivalent of C when it is a character between `A' and `Z'. If C is not one of these characters, the behaviour of `_tolower' is undefined.

 

PORTABILITY

`tolower' is ANSI C. `_tolower' is not recommended for portable programs.


   No supporting OS subroutines are required.

 

SEE ALSO

tolower is part of the libc library. The full documentation for libc is maintained as a Texinfo manual. If info and libc are properly installed at your site, the command
info libc

will give you access to the complete manual.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURNS
PORTABILITY
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:25:33 GMT, May 16, 2005



www.fiveanddime.net








Google
Web www.fiveanddime.net