aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/syscalls/sysread.c
blob: 25d4e3bcf9c09adf70dfb2f1b12fe7f414e2d8b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* connector for read */

#include <reent.h>
#include <unistd.h>

_READ_WRITE_RETURN_TYPE
read (int fd,
     void *buf,
     size_t cnt)
{
  return _read_r (_REENT, fd, buf, cnt);
}