close.c 126 B

12345678
  1. #include <unistd.h>
  2. #include <syscall.h>
  3. DEFN_SYSCALL1(close, 5, int);
  4. int close(int file) {
  5. return syscall_close(file);
  6. }