summaryrefslogtreecommitdiff
path: root/include/kernel/fs.h
blob: 8f2111069ee4da2324b6819fe8816af4d75508cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _FS_H
#define _FS_H

#include <stdint.h>
#include <sys/types.h>

#define BLOCK_SIZE 1024
#define NRFILE 128
#define NROPEN 32

struct file {
  uint16_t f_mode;
  uint16_t f_flags;
  /* TODO: inode pointer here */
  off_t f_pos;
};

#endif