diff options
Diffstat (limited to 'src/unistd/close.c')
-rw-r--r-- | src/unistd/close.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/unistd/close.c b/src/unistd/close.c new file mode 100644 index 00000000..97302f67 --- /dev/null +++ b/src/unistd/close.c @@ -0,0 +1,11 @@ +#include <unistd.h> +#include "syscall.h" +#include "libc.h" + +int close(int fd) +{ + int ret = __syscall_close(fd); + CANCELPT_BEGIN; + CANCELPT_END; + return ret; +} |