shithub: scc

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