PatchworkOS  19e446b
A non-POSIX operating system.
Loading...
Searching...
No Matches
file_t Struct Reference

File structure. More...

#include <file.h>

Collaboration diagram for file_t:

Data Fields

ref_t ref
 
size_t pos
 
mode_t mode
 
vnode_tvnode
 
path_t path
 
const file_ops_tops
 
void * data
 

Detailed Description

File structure.

A file structure is protected by the mutex of its vnode.

Definition at line 38 of file file.h.

Field Documentation

◆ ref

ref_t file_t::ref

Definition at line 40 of file file.h.

◆ pos

size_t file_t::pos

Definition at line 41 of file file.h.

◆ mode

mode_t file_t::mode

Definition at line 42 of file file.h.

◆ vnode

vnode_t* file_t::vnode

Definition at line 43 of file file.h.

◆ path

path_t file_t::path

Definition at line 44 of file file.h.

◆ ops

const file_ops_t* file_t::ops

Definition at line 45 of file file.h.

◆ data

void* file_t::data

Definition at line 46 of file file.h.


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