source: asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/unistd/close.c@ 400

Last change on this file since 400 was 400, checked in by coas-nagasima, 5 years ago

ファイルヘッダーの更新

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc;charset=UTF-8
File size: 288 bytes
Line 
1#include <unistd.h>
2#include <errno.h>
3#include "syscall.h"
4#include "libc.h"
5
6static int dummy(int fd)
7{
8 return fd;
9}
10
11weak_alias(dummy, __aio_close);
12
13int close(int fd)
14{
15 fd = __aio_close(fd);
16 int r = __syscall_cp(SYS_close, fd);
17 if (r == -EINTR) r = 0;
18 return __syscall_ret(r);
19}
Note: See TracBrowser for help on using the repository browser.