shithub: scc

ref: 7e4220e1c67a2049e8df31f979cc34d13d3f6938
dir: /src/libc/arch/posix/_open.c/

View raw version
#include <stddef.h>

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

#define AT_FDCWD  -100

extern int _openat(int fd, const char *fname, int flags, int mode);

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