repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: access: Fix X_OK behaviour for backup operators and admins
[newlib-cygwin.git]
/
newlib
/
libc
/
sys
/
sysnec810
/
sbrk.c
blob
b1cf4a7818f0d97c009ec0fd3e8f010fa32184eb
1
extern
int
_end
;
2
3
static char
*
end_of_data
= (
char
*) &
_end
;
4
5
char
*
6
_sbrk
(
int
delta
) {
7
char
*
ptr
=
end_of_data
;
8
9
end_of_data
+=
delta
;
10
return
ptr
;
11
}
12