Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sys_close.c « riscv « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c1691d826bc6e910666e9ca4f8b437e4773430b0 (plain)
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, 1, file, 0, 0, 0, 0, 0);
}