]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/fchownat.c
update
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / common / fchownat.c
1 /*
2  * fchownat() for uClibc
3  *
4  * Copyright (C) 2009 Analog Devices Inc.
5  *
6  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
7  */
8
9 #include <sys/syscall.h>
10 #include <unistd.h>
11
12 #ifdef __NR_fchownat
13 _syscall5(int, fchownat, int, fd, const char *, file, uid_t, owner, gid_t, group, int, flag)
14 libc_hidden_def(fchownat)
15 #else
16 /* should add emulation with fchown() and /proc/self/fd/ ... */
17 #endif