ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
filesystem.c File Reference

Cross-platform filesystem utilities and binary PATH cache. More...

Go to the source code of this file.

Data Structures

struct  bin_cache_entry_t
 Cache entry for binary PATH lookup. More...
 

Functions

const char * file_read_error_message (const char *path)
 Get human-readable error message for file read failure.
 
const char * file_write_error_message (const char *path)
 Get human-readable error message for file write failure.
 
void platform_cleanup_binary_path_cache (void)
 Cleanup the binary PATH cache.
 
bool platform_is_binary_in_path (const char *bin_name)
 Check if a binary is available in the system PATH.
 
bool platform_get_executable_path (char *exe_path, size_t path_size)
 Get the path to the current executable.
 

Detailed Description

Cross-platform filesystem utilities and binary PATH cache.

Definition in file filesystem.c.