Add support for using time64 on big-endian machines.
[uclibc-ng.git] / libc / sysdeps / linux / common / unlinkat.c
blob432af1b75c9dc7371004b78c2d3307d4b89a0ca6
1 /*
2 * unlinkat() for uClibc
4 * Copyright (C) 2009 Analog Devices Inc.
6 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
7 */
9 #include <sys/syscall.h>
10 #include <unistd.h>
12 #ifdef __NR_unlinkat
13 _syscall3(int, unlinkat, int, fd, const char *, file, int, flag)
14 libc_hidden_def(unlinkat)
15 #else
16 /* should add emulation with unlink() and /proc/self/fd/ ... */
17 #endif