Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sys_access.c « riscv « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 45bedb3f6f0989d5de32c1da40f75a835b82667f (plain)
1
2
3
4
5
6
7
8
9
#include <machine/syscall.h>
#include "internal_syscall.h"

/* Permissions of a file (by name).  */
int
_access(const char *file, int mode)
{
  return syscall_errno (SYS_access, 2, file, mode, 0, 0, 0, 0);
}