source: trunk/libs/newlib/src/libgloss/riscv/sys_faccessat.c @ 546

Last change on this file since 546 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 262 bytes
Line 
1#include <machine/syscall.h>
2#include "internal_syscall.h"
3
4/* Permissions of a file (by name) in a given directory.  */
5int _faccessat(int dirfd, const char *file, int mode, int flags)
6{
7  return syscall_errno (SYS_faccessat, dirfd, file, mode, flags, 0, 0);
8}
Note: See TracBrowser for help on using the repository browser.