|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
Cross-platform memory-mapped file interface. More...
Go to the source code of this file.
Data Structures | |
| struct | platform_mmap |
| Memory-mapped file handle. More... | |
Typedefs | |
| typedef struct platform_mmap | platform_mmap_t |
| Memory-mapped file handle. | |
Functions | |
| void | platform_mmap_init (platform_mmap_t *mapping) |
| Initialize a platform_mmap_t structure. | |
| asciichat_error_t | platform_mmap_open (const char *path, size_t size, platform_mmap_t *out) |
| Memory-map a file for read/write access. | |
| void | platform_mmap_close (platform_mmap_t *mapping) |
| Unmap and close a memory-mapped file. | |
| void | platform_mmap_sync (platform_mmap_t *mapping, bool async) |
| Flush memory-mapped changes to disk. | |
| bool | platform_mmap_is_valid (const platform_mmap_t *mapping) |
| Check if a mapping is currently valid. | |
Cross-platform memory-mapped file interface.
Definition in file platform/mmap.h.