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
6
int
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
}
console.h
dentry.h
mode
uint8_t mode
Definition
fd.h:3
flags
uint16_t flags
Definition
thread.h:5
core.h
syscall_open
int syscall_open(const char *path, int flags, int mode)
Definition
open.c:6
syscall.h
path
kstring path
Definition
voxmo.h:7
kernel
sys
syscall
open.c
Generated on Sat May 30 2026 11:09:57 for Voxia OS by
1.13.2