source:
trunk/libs/newlib/src/libgloss/riscv/sys_write.c
@
468
Last change on this file since 468 was 444, checked in by , 7 years ago | |
---|---|
File size: 226 bytes |
Line | |
---|---|
1 | #include <machine/syscall.h> |
2 | #include <sys/types.h> |
3 | #include "internal_syscall.h" |
4 | |
5 | /* Write to a file. */ |
6 | ssize_t |
7 | _write(int file, const void *ptr, size_t len) |
8 | { |
9 | return syscall_errno (SYS_write, file, ptr, len, 0, 0, 0); |
10 | } |
Note: See TracBrowser
for help on using the repository browser.