shithub: scc

ref: 2e11e73feafef4fd29df8e3a46e767da3b9a1877
dir: /src/libc/arch/arm64/linux/_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);
}