blob: e8f813d648dfaac1a098defbaf91b388ebe640c4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#include <unistd.h>
#include <errno.h>
#include "syscall.h"
#include "libc.h"
int close(int fd)
{
int r = __syscall_cp(SYS_close, fd);
if (r == -EINTR) r = -EINPROGRESS;
return __syscall_ret(r);
}
|