Files
rk35xx-android14/external/ltp/include/lapi/readlinkat.h
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

22 lines
489 B
C

// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) 2014 Cyril Hrubis <chrubis@suse.cz>
*/
#ifndef LAPI_READLINKAT_H__
#define LAPI_READLINKAT_H__
#include "config.h"
#include "lapi/syscalls.h"
#include "lapi/fcntl.h"
#ifndef HAVE_READLINKAT
static inline int readlinkat(int dirfd, const char *pathname,
char *buf, size_t bufsiz)
{
return tst_syscall(__NR_readlinkat, dirfd, pathname, buf, bufsiz);
}
#endif
#endif /* LAPI_READLINKAT_H__ */