Vhex is a kernel which provide development and retro ingenierie platform for the Casio's OS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
378 B

#ifndef __FILE_H__
# define __FILE_H__
#include <stdint.h>
#include <stddef.h>
#include <sys/types.h>
#include <kernel/fs/filesystem.h>
#ifndef FILE_OPEN_NUMBER
# define FILE_OPEN_NUMBER 4
#endif
// FILE type
struct file_s
{
void *private;
off_t cursor;
int permission;
struct file_operations *file_op;
};
typedef struct file_s FILE;
#endif /*__FILE_H__*/