/* * readlinkat() for uClibc * * Copyright (C) 2009 Analog Devices Inc. * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include #include #ifdef __NR_readlinkat _syscall4(ssize_t, readlinkat, int, fd, const char *, path, char *, buf, size_t, len) libc_hidden_def(readlinkat) #else /* should add emulation with readlink() and /proc/self/fd/ ... */ #endif