source:
trunk/libs/newlib/src/libgloss/riscv/sys_openat.c
Last change on this file was 444, checked in by , 7 years ago | |
---|---|
File size: 241 bytes |
Rev | Line | |
---|---|---|
[444] | 1 | #include <machine/syscall.h> |
2 | #include "internal_syscall.h" | |
3 | ||
4 | /* Open file relative to given directory. */ | |
5 | int _openat(int dirfd, const char *name, int flags, int mode) | |
6 | { | |
7 | return syscall_errno (SYS_openat, dirfd, name, flags, mode, 0, 0); | |
8 | } |
Note: See TracBrowser
for help on using the repository browser.