PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
cwd.c File Reference
#include <kernel/fs/cwd.h>
#include <kernel/sched/thread.h>
Include dependency graph for cwd.c:

Go to the source code of this file.

Functions

void cwd_init (cwd_t *cwd)
 Initialize a CWD structure.
 
void cwd_deinit (cwd_t *cwd)
 Deinitialize a CWD structure.
 
path_t cwd_get (cwd_t *cwd)
 Get the current working directory.
 
void cwd_set (cwd_t *cwd, const path_t *newPath)
 Set the current working directory.
 
void cwd_clear (cwd_t *cwd)
 Clear the current working directory.
 
 SYSCALL_DEFINE (SYS_CHDIR, uint64_t, const char *pathString)
 

Function Documentation

◆ SYSCALL_DEFINE()

SYSCALL_DEFINE ( SYS_CHDIR  ,
uint64_t  ,
const char *  pathString 
)

Definition at line 58 of file cwd.c.

Here is the call graph for this function: