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

sys_openat.c « riscv « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 652ab2ea7faa7751591688b41cb2b0585522da72 (plain)
1
2
3
4
5
6
7
8
#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, 4, dirfd, name, flags, mode, 0, 0);
}