9 lines
241 B
C
9 lines
241 B
C
|
#include <machine/syscall.h>
|
||
|
#include "internal_syscall.h"
|
||
|
|
||
|
/* Open file relative to given directory. */
|
||
|
int _openat(int dirfd, const char *name, int flags, int mode)
|
||
|
{
|
||
|
return syscall_errno (SYS_openat, dirfd, name, flags, mode, 0, 0);
|
||
|
}
|