|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
🔧 Shared cross-platform system utilities (included by posix/system.c and windows/system.c) More...
Go to the source code of this file.
Data Structures | |
| struct | bin_cache_entry_t |
| Binary PATH cache entry structure for binary detection caching. More... | |
Macros | |
| #define | HASH_FUNCTION(keyptr, keylen, hashv) |
| #define | BIN_SUFFIX "" |
| #define | PLATFORM_MAX_PATH_LENGTH 4096 |
Functions | |
| 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. | |
🔧 Shared cross-platform system utilities (included by posix/system.c and windows/system.c)
Definition in file system.c.
| #define HASH_FUNCTION | ( | keyptr, | |
| keylen, | |||
| hashv | |||
| ) |
Definition at line 17 of file system.c.
| #define PLATFORM_MAX_PATH_LENGTH 4096 |
Maximum path length supported by the operating system
Platform-specific values:
Note: Windows legacy MAX_PATH (260) is too restrictive for modern use. We use the extended-length limit instead.