open.h (248B)
1 #pragma once 2 3 #include "types.h" 4 5 #include <fcntl.h> 6 #include <stdio.h> 7 8 int openwrite(const char* path, i32 oflags, mode_t mode, const void* buffer, ssize_t size); 9 ssize_t openread(const char* path, i32 oflags, void* buffer, ssize_t maxsize);