Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
file.h
Go to the documentation of this file.
1#ifndef __VFS__FILE_H__
2#define __VFS__FILE_H__
3
4#include <type.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10typedef struct file file_t;
11
12typedef struct {
13 size_t (*read)(struct file*, char* buffer, size_t size);
15
20
21#ifdef __cplusplus
22}
23#endif
24
25#endif // __VFS__FILE_H__
volatile uint32_t buffer[5]
Definition ehci.hpp:8
struct file file_t
Definition file.h:10
size_t(* read)(struct file *, char *buffer, size_t size)
Definition file.h:13
Definition file.h:16
void * private_data
Definition file.h:18
file_operations_t * ops
Definition file.h:17
unsigned long size_t
Definition type.h:55
size_t size
Definition vnode.h:3