Home About us GitHub Contact us Docs

FoxOS

Welcome to the FoxOS website!

ext2_mount::ext2_mount

Signature: ext2_mount::ext2_mount(int disk_id, char* name)
Attributes: undefined
Description: Constructor for the ext2 mount class

Parameters:

ext2_mount::~ext2_mount

Signature: ext2_mount::~ext2_mount()
Attributes: undefined
Description: Destructor for the ext2 mount class

ext2_mount::open

Signature: file_t* ext2_mount::open(char* path)
Description: Opens a file

Parameters:

Return: file_t*

ext2_mount::close

Signature: void ext2_mount::close(file_t* file)
Description: Closes a file

Parameters:

Return: void

ext2_mount::read

Signature: void ext2_mount::read(file_t* file, void* buffer, size_t size, size_t offset)
Description: Reads from a file

Parameters:

Return: void

ext2_mount::write

Signature: void ext2_mount::write(file_t* file, void* buffer, size_t size, size_t offset)
Description: Writes to a file

Parameters:

Return: void

ext2_mount::delete_

Signature: void ext2_mount::delete_(file_t* file)
Description: Deletes a file

Parameters:

Return: void

ext2_mount::mkdir

Signature: void ext2_mount::mkdir(char* path)
Description: Creates a directory

Parameters:

Return: void

ext2_mount::dir_at

Signature: dir_t ext2_mount::dir_at(int idx, char* path)
Description: Gets the directory at a certain index

Parameters:

Return: dir_t

ext2_mount::touch

Signature: void ext2_mount::touch(char* path)
Description: Creates a file

Parameters:

Return: void

Show file on GitHub