Retro68/gcc/newlib/libc/syscalls/syswrite.c

14 lines
228 B
C
Raw Normal View History

2017-04-11 21:13:36 +00:00
/* connector for write */
#include <reent.h>
#include <unistd.h>
_READ_WRITE_RETURN_TYPE
_DEFUN (write, (fd, buf, cnt),
int fd _AND
const void *buf _AND
size_t cnt)
{
return _write_r (_REENT, fd, buf, cnt);
}