Home About us GitHub Contact us Docs

FoxOS

Welcome to the FoxOS website!

fat32_mount::fat32_mount

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

Parameters:

fat32_mount::~fat32_mount

Signature: fat32_mount::~fat32_mount()
Attributes: undefined
Description: Destructor for the fat32 mount class

fat32_mount::open

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

Parameters:

Return: file_t*

fat32_mount::close

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

Parameters:

Return: void

fat32_mount::read

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

Parameters:

Return: void

fat32_mount::write

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

Parameters:

Return: void

fat32_mount::delete_

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

Parameters:

Return: void

fat32_mount::mkdir

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

Parameters:

Return: void

fat32_mount::dir_at

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

Parameters:

Return: dir_t

fat32_mount::touch

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

Parameters:

Return: void

fat32_mount::delete_dir

Signature: void fat32_mount::delete_dir(char* path)
Description: Deletes a directory

Parameters:

Return: void

Show file on GitHub