Claude Chappe' Curse - A C Game
Loading...
Searching...
No Matches
osio.h
Go to the documentation of this file.
1
#pragma once
2
#include <
io/dirent.h
>
3
30
int
osio_save_file
(
char
*path,
char
*relativePath,
char
*filter);
31
45
int
osio_open_file
(
char
*path,
char
*relativePath,
char
*filter);
46
57
int
osio_print_error
(
char
*msg);
58
68
int
update_cwd
();
69
81
int
absolute_path_to_relative
(
char
*path);
82
96
int
osio_find
(
dirent_t
***namelist,
const
char
* path,
int
(*filter)(
const
dirent_t
*entry));
97
// end of OSIO group
dirent.h
dirent_t
struct dirent dirent_t
Definition
dirent.h:26
osio_open_file
int osio_open_file(char *path, char *relativePath, char *filter)
Opens a file from the specified path with a given filter.
Definition
osio.c:185
osio_save_file
int osio_save_file(char *path, char *relativePath, char *filter)
Saves a file to the specified path with a given filter.
Definition
osio.c:163
update_cwd
int update_cwd()
Updates the current working directory.
Definition
osio.c:232
absolute_path_to_relative
int absolute_path_to_relative(char *path)
Converts an absolute file path to a relative path.
Definition
osio.c:282
osio_find
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.
Definition
osio.c:223
osio_print_error
int osio_print_error(char *msg)
Prints an error message to the standard error output.
Definition
osio.c:206
Generated by
1.9.8