File: ctype.c

package info (click to toggle)
quik 2.1-9
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 364 kB
  • ctags: 553
  • sloc: ansic: 3,791; asm: 475; makefile: 103; perl: 74; sh: 44
file content (9 lines) | stat: -rw-r--r-- 106 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#include <string.h>

int tolower(int c)
{
    if ('A' <= c && c <= 'Z')
	c += 'a' - 'A';
    return c;
}