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