repo.or.cz
/
haiku.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vfs: check userland buffers before reading them.
[haiku.git]
/
src
/
system
/
libroot
/
posix
/
string
/
strupr.c
blob
97388d08015308e44e9f5b1bd8869541092e7908
1
/*
2
* Copyright 2008, Mika Lindqvist. All rights reserved.
3
* Distributed under the terms of the MIT License.
4
*/
5
6
#include <ctype.h>
7
#include <string.h>
8
9
char
*
10
strupr
(
char
*
str
)
11
{
12
char
*
c
=
str
;
13
while
(*
c
) {
14
*
c
=
toupper
(*
c
);
15
c
++;
16
}
17
18
return
str
;
19
}
20