• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Copyright (c) 2014 Cyril Hrubis <chrubis@suse.cz>
4  */
5 
6 #ifndef __READLINKAT_H__
7 #define __READLINKAT_H__
8 
9 #include "config.h"
10 #include "lapi/syscalls.h"
11 #include "lapi/fcntl.h"
12 
13 #ifndef HAVE_READLINKAT
readlinkat(int dirfd,const char * pathname,char * buf,size_t bufsiz)14 int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz)
15 {
16 	return ltp_syscall(__NR_readlinkat, dirfd, pathname, buf, bufsiz);
17 }
18 #endif
19 
20 #endif /* __READLINKAT_H__ */
21