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

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

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