Cygwin: lockf: Fix adding a new lock over multiple locks
[newlib-cygwin.git] / libgloss / riscv / sys_close.c
blobc1691d826bc6e910666e9ca4f8b437e4773430b0
1 #include <machine/syscall.h>
2 #include "internal_syscall.h"
4 /* Close a file. */
5 int
6 _close(int file)
8 return syscall_errno (SYS_close, 1, file, 0, 0, 0, 0, 0);