blob: 6e80108ccaaddb0ae44479c69ed2c4cc2b27b7a2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
include <ctype.h>
# STRUPR -- Convert string to upper case.
procedure strupr (str)
char str[ARB]
int ip
begin
do ip = 1, ARB
if (str[ip] == EOS)
return
else if (IS_LOWER (str[ip]))
str[ip] = TO_UPPER (str[ip])
end
|