Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
open.c
Go to the documentation of this file.
1#include "console/console.h"
2#include "hal/cpu/core.h"
3#include "vfs/dentry.h"
4#include <sys/syscall.h>
5
6int syscall_open(const char* path, int flags, int mode) {
7 (void)path;
8 (void)flags;
9 (void)mode;
10
11 // auto thr = get_current_core_data()->active_thread;
12
13 // dentry_ptr out;
14 // resolve_dentry((char *)path, 0, &out, (uint8_t)flags);
15
16 return -1;
17}
uint8_t mode
Definition fd.h:3
uint16_t flags
Definition thread.h:5
int syscall_open(const char *path, int flags, int mode)
Definition open.c:6
kstring path
Definition voxmo.h:7