• 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 LAPI_MKDIRAT_H__
7 #define LAPI_MKDIRAT_H__
8 
9 #include "config.h"
10 #include "lapi/syscalls.h"
11 #include "lapi/fcntl.h"
12 
13 #ifndef HAVE_MKDIRAT
mkdirat(int dirfd,const char * dirname,int mode)14 static inline int mkdirat(int dirfd, const char *dirname, int mode)
15 {
16 	return ltp_syscall(__NR_mkdirat, dirfd, dirname, mode);
17 }
18 #endif
19 
20 #endif /* LAPI_MKDIRAT_H__ */
21