GitOS
Operating system exercise
Loading...
Searching...
No Matches
Path.cpp File Reference
#include "Path.hpp"
#include <kernel.h>
#include <common/status.h>
#include <memory/heap/kheap.h>
#include "common/string.h"

Functions

int pathparser_parse (struct path_part **path_root_out, const char *path, const char *current_dir_path)
 
int pathparser_get_drive_number (const char *path)
 
void pathparser_free (struct path_part *path)
 

Function Documentation

◆ pathparser_free()

void pathparser_free ( struct path_part path)

◆ pathparser_get_drive_number()

int pathparser_get_drive_number ( const char *  path)

◆ pathparser_parse()

int pathparser_parse ( struct path_part **  path_root_out,
const char *  path,
const char *  current_dir_path 
)

References EINVARG.