shithub: scc

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