shithub: scc

ref: d98e084e77dc2794355477421e8e6386236285bc
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);
}