source: trunk/libs/newlib/src/libgloss/riscv/sys_open.c @ 450

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

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

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