ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
platform_mmap Struct Reference

Memory-mapped file handle. More...

#include <lib/platform/mmap.h>

Data Fields

void * addr
 
size_t size
 
int fd
 

Detailed Description

Memory-mapped file handle.

Contains platform-specific handles and mapping information. Do not access members directly; use the platform_mmap_* functions.

Definition at line 46 of file platform/mmap.h.

Field Documentation

◆ addr

void* platform_mmap::addr

Mapped memory address (NULL if not mapped)

Definition at line 47 of file platform/mmap.h.

◆ fd

int platform_mmap::fd

POSIX file descriptor

Definition at line 53 of file platform/mmap.h.

◆ size

size_t platform_mmap::size

Size of the mapping in bytes

Definition at line 48 of file platform/mmap.h.


The documentation for this struct was generated from the following file: