shithub: scc

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