UbixOS  2.0
file Struct Reference

#include <descrip.h>

Collaboration diagram for file:
Collaboration graph

Data Fields

void * data
 
uint32_t f_flag
 
struct fileOpsf_ops
 
uint16_t f_type
 
fileDescriptor_tfd
 
int fd_type
 
int socket
 

Detailed Description

Definition at line 67 of file descrip.h.

Field Documentation

◆ data

void* file::data

Definition at line 74 of file descrip.h.

Referenced by sys_close(), sys_pipe2(), sys_read(), and sys_write().

◆ f_flag

uint32_t file::f_flag

Definition at line 68 of file descrip.h.

Referenced by fcntl(), kern_openat(), pipe(), and schedNewTask().

◆ f_ops

struct fileOps* file::f_ops

Definition at line 70 of file descrip.h.

◆ f_type

uint16_t file::f_type

Definition at line 69 of file descrip.h.

◆ fd

◆ fd_type

int file::fd_type

Definition at line 72 of file descrip.h.

Referenced by sys_close(), sys_pipe2(), sys_read(), sys_socket(), and sys_write().

◆ socket

int file::socket

Definition at line 73 of file descrip.h.

Referenced by sys_socket().


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