Mapper
libraries
cbrfc
case_l.c
Go to the documentation of this file.
1
/* Routine to convert all upper case characters in the string c up through
2
* the nth character to lower case.
3
* rkh 12/92 */
4
#include <stdio.h>
5
#include <stdlib.h>
6
#include <math.h>
7
#include <fcrt.h>
8
9
void
case_l
(c, c_s, n)
10
char
*c;
int
c_s;
11
long
int
*n;
12
{
13
static
long
int
i
, i_;
14
15
for
(
i
= 1;
i
<= *n;
i
++ )
16
{
17
i_ =
i
- 1;
18
if
( c[
i
- 1] >=
'A'
&& c[
i
- 1] <=
'Z'
)
19
{
20
c[
i
- 1] = (( c[
i
- 1] ) + 32);
21
}
22
}
23
return
;
24
}
25
case_l
void case_l(char *c, int c_s, long int *n)
Definition:
case_l.c:9
i
static int i
Definition:
get_apps_defaults.c:110
Generated by
1.9.1