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

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

/* Open a file.  */
int
_open(const char *name, int flags, int mode)
{
  return syscall_errno (SYS_open, 3, name, flags, mode, 0, 0, 0);
}