PatchworkOS  966e257
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
 
uint64_t pos
 
mode_t mode
 
inode_tinode
 
path_t path
 
const file_ops_tops
 
void * private
 

Detailed Description

File structure.

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

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

uint64_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.

◆ inode

inode_t* file_t::inode

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.

◆ private

void* file_t::private

Definition at line 46 of file file.h.


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