UNIX xv6 (rev8, 9/1/15)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Types | Data Fields
file Struct Reference

#include <file.h>

Public Types

enum  { FD_NONE, FD_PIPE, FD_INODE }
 

Data Fields

enum file:: { ... }  type
 
int ref
 
char readable
 
char writable
 
struct pipepipe
 
struct inodeip
 
uint off
 

Detailed Description

Definition at line 1 of file file.h.

Member Enumeration Documentation

anonymous enum
Enumerator
FD_NONE 
FD_PIPE 
FD_INODE 

Definition at line 2 of file file.h.

Field Documentation

struct inode* file::ip

Definition at line 7 of file file.h.

uint file::off

Definition at line 8 of file file.h.

struct pipe* file::pipe

Definition at line 6 of file file.h.

char file::readable

Definition at line 4 of file file.h.

int file::ref

Definition at line 3 of file file.h.

enum { ... } file::type
char file::writable

Definition at line 5 of file file.h.


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