1 2 3 4 5 6 7 8 9
#include <machine/syscall.h> #include "internal_syscall.h" /* Close a file. */ int _close(int file) { return syscall_errno (SYS_close, file, 0, 0, 0, 0, 0); }