repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: lockf: Fix adding a new lock over multiple locks
[newlib-cygwin.git]
/
libgloss
/
riscv
/
sys_close.c
blob
c1691d826bc6e910666e9ca4f8b437e4773430b0
1
#include <machine/syscall.h>
2
#include
"internal_syscall.h"
3
4
/* Close a file. */
5
int
6
_close
(
int
file
)
7
{
8
return
syscall_errno
(
SYS_close
,
1
,
file
,
0
,
0
,
0
,
0
,
0
);
9
}