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: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git]
/
newlib
/
libc
/
syscalls
/
sysread.c
blob
25d4e3bcf9c09adf70dfb2f1b12fe7f414e2d8b6
1
/* connector for read */
2
3
#include <reent.h>
4
#include <unistd.h>
5
6
_READ_WRITE_RETURN_TYPE
7
read
(
int
fd
,
8
void
*
buf
,
9
size_t
cnt
)
10
{
11
return
_read_r
(
_REENT
,
fd
,
buf
,
cnt
);
12
}