Retro Rocket Kernel BASIC-Powered Operating System

Data Fields
fs_handle_t Struct Reference

The data for an open file descriptor. More...

`#include <filesystem.h>`

Collaboration diagram for fs_handle_t:
[legend]

## 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

## Detailed Description

The data for an open file descriptor.

The FD table is an array of pointers to these structs, any closed FD is NULL.

## Field Documentation

## ◆ cached

bool fs_handle_t::cached

## ◆ file

fs_directory_entry_t* fs_handle_t::file

## ◆ inbuf

unsigned char* fs_handle_t::inbuf

## ◆ inbufpos

uint64_t fs_handle_t::inbufpos

## ◆ inbufsize

uint64_t fs_handle_t::inbufsize

## ◆ outbuf

unsigned char* fs_handle_t::outbuf

## ◆ outbufpos

uint64_t fs_handle_t::outbufpos

## ◆ outbufsize

uint64_t fs_handle_t::outbufsize

## ◆ seekpos

uint64_t fs_handle_t::seekpos

## ◆ type

fs_handle_type_t fs_handle_t::type