MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / lemon_open

Function lemon_open

LibLemon/src/lemon/filesystem.cpp:5–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <lemon/system/filesystem.h>
4
5int lemon_open(const char* filename, int flags){
6 return syscall(SYS_OPEN, (uintptr_t)filename, flags);
7}
8
9void lemon_close(int fd){
10 syscall(SYS_CLOSE, fd);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected