blob: c26525cf4b2b71e4ab0998307499fa9782920fcb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* vi: set sw=4 ts=4: */
/*
* close() for uClibc
*
* Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
#include <sys/syscall.h>
#include <unistd.h>
#include <cancel.h>
#define __NR___close_nocancel __NR_close
_syscall1(int, __NC(close), int, fd)
#define __NR___close_nocancel_no_status __NR_close
_syscall_noerr1(void, __close_nocancel_no_status, int, fd)
CANCELLABLE_SYSCALL(int, close, (int fd), (fd))
lt_libc_hidden(close)
|