File operations and error handling for the project. More...
#include <io/dirent.h>
Go to the source code of this file.
Functions | |
int | osio_save_file (char *path, char *relativePath, char *filter) |
Saves a file to the specified path with a given filter. | |
int | osio_open_file (char *path, char *relativePath, char *filter) |
Opens a file from the specified path with a given filter. | |
int | osio_print_error (char *msg) |
Prints an error message to the standard error output. | |
int | update_cwd () |
Updates the current working directory. | |
int | absolute_path_to_relative (char *path) |
Converts an absolute file path to a relative path. | |
int | osio_find (dirent_t ***namelist, const char *path, int(*filter)(const dirent_t *entry)) |
Finds files in a directory that match a given filter. | |
File operations and error handling for the project.
This header file contains declarations for functions that handle file saving, opening, error printing, and path manipulations.