os/stuff/fs/devfs.h

10 lines
164 B
C
Raw Normal View History

2019-05-25 10:05:36 -05:00
#ifndef DEVFS_H
#define DEVFS_H
typedef int (*dev_drv)(char* filename,int c,long pos,char wr);
void init_devfs();
void devfs_add(dev_drv drv,char* name);
#endif