vfs_file_t Struct Reference

Information about an open file. More...

Detailed Description

Information about an open file.

Similar to, but not equal to, struct file in Linux

Definition at line 186 of file vfs.h.

#include <vfs.h>

Data Fields

const vfs_file_ops_tf_op
 File operations table.
 
vfs_mount_tmp
 Pointer to mount table entry.
 
int flags
 File flags.
 
off_t pos
 Current position in the file.
 
kernel_pid_t pid
 PID of the process that opened the file.
 
union {
   void *   ptr
 pointer to private data
 
   int   value
 alternatively, you can use private_data as an int
 
private_data
 File system driver private data, implementation defined.
 

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