source:
trunk/libs/newlib/src/libgloss/riscv/sys_close.c
@
626
Last change on this file since 626 was 444, checked in by , 6 years ago | |
---|---|
File size: 163 bytes |
Rev | Line | |
---|---|---|
[444] | 1 | #include <machine/syscall.h> |
2 | #include "internal_syscall.h" | |
3 | ||
4 | /* Close a file. */ | |
5 | int | |
6 | _close(int file) | |
7 | { | |
8 | return syscall_errno (SYS_close, file, 0, 0, 0, 0, 0); | |
9 | } |
Note: See TracBrowser
for help on using the repository browser.