source: trunk/libs/newlib/src/libgloss/riscv/sys_access.c @ 514

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

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

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