xv6-simplified 0.1
简化版xv6
Loading...
Searching...
No Matches
Public Types | Data Fields
file Struct Reference

#include <file.h>

Collaboration diagram for file:
Collaboration graph
[legend]

Public Types

enum  { FD_NONE , FD_PIPE , FD_ENTRY , FD_DEVICE }
 

Data Fields

enum file:: { ... }  type
 
int ref
 
char readable
 
char writable
 
struct pipe * pipe
 
struct dirententry
 
uint off
 
short major
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
FD_NONE 
FD_PIPE 
FD_ENTRY 
FD_DEVICE 

Field Documentation

◆ entry

struct dirent* entry

◆ major

short major

◆ off

uint off

◆ pipe

struct pipe* pipe

◆ readable

char readable

◆ ref

int ref

◆ []

enum { ... } type

◆ writable

char writable

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