shithub: scc

ref: 994751d39485e086ef623f202fb1b84729fd5d19
dir: /src/libc/arch/posix/_open.c/

View raw version
#include <stddef.h>

#include <sys.h>

#include "../../syscall.h"

extern int _openat(int, const char *, int, int);

int
_open(const char *fname, int flags, int mode)
{
	return _openat(AT_FDCWD, fname, flags, mode);
}