projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
231f79ef699cfdeedf72cc42505602d1a1ad7e2f
[musl]
/
src
/
unistd
/
close.c
1
#include <unistd.h>
2
#include "syscall.h"
3
#include "libc.h"
4
5
int close(int fd)
6
{
7
int ret = syscall_cp(SYS_close, fd);
8
if (libc.testcancel) libc.testcancel();
9
return ret;
10
}