solidc
Robust collection of general-purpose cross-platform C libraries and data structures designed for rapid and safe development in C
Loading...
Searching...
No Matches
Public Attributes | List of all members
file_t Struct Reference

#include <file.h>

Collaboration diagram for file_t:
[legend]

Public Attributes

FILE * stream
 
native_handle_t native_handle
 

Detailed Description

Cross-platform file structure. Encapsulates both high-level (FILE*) and low-level (native handle) operations. Optimized to minimize memory footprint while maintaining functionality.

Definition at line 133 of file file.h.

Member Data Documentation

◆ native_handle

native_handle_t file_t::native_handle

Platform-native file handle for direct operations.

Definition at line 136 of file file.h.

Referenced by file_close(), file_lock(), file_mmap(), file_open(), file_pread(), file_pwrite(), file_seek(), file_tell(), file_truncate(), and file_unlock().

◆ stream

FILE* file_t::stream

Standard C file stream for buffered I/O.

Definition at line 134 of file file.h.

Referenced by file_close(), file_copy(), file_flush(), file_open(), file_read(), file_readall(), file_seek(), file_truncate(), file_write(), and file_write_string().


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