4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-16 11:31:00 +08:00

10 lines
163 B
C

#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);
}