|
Retro Rocket Kernel
BASIC-Powered Operating System
|
The data for an open file descriptor. More...
#include <filesystem.h>
Collaboration diagram for fs_handle_t:Data Fields | |
| fs_handle_type_t | type |
| unsigned char * | inbuf |
| unsigned char * | outbuf |
| uint64_t | inbufpos |
| uint64_t | outbufpos |
| uint64_t | outbufsize |
| uint64_t | inbufsize |
| fs_directory_entry_t * | file |
| uint64_t | seekpos |
| bool | cached |
The data for an open file descriptor.
The FD table is an array of pointers to these structs, any closed FD is NULL.
| bool fs_handle_t::cached |
| fs_directory_entry_t* fs_handle_t::file |
| unsigned char* fs_handle_t::inbuf |
| uint64_t fs_handle_t::inbufpos |
| uint64_t fs_handle_t::inbufsize |
| unsigned char* fs_handle_t::outbuf |
| uint64_t fs_handle_t::outbufpos |
| uint64_t fs_handle_t::outbufsize |
| uint64_t fs_handle_t::seekpos |
| fs_handle_type_t fs_handle_t::type |