Projet_SETI_RISC-V/riscv-gnu-toolchain/newlib/libgloss/riscv/sys_close.c
2023-03-06 14:48:14 +01:00

9 lines
166 B
C

#include <machine/syscall.h>
#include "internal_syscall.h"
/* Close a file. */
int
_close(int file)
{
return syscall_errno (SYS_close, 1, file, 0, 0, 0, 0, 0);
}