os/fs/devfs.h

9 lines
161 B
C
Raw Normal View History

2019-02-09 12:52:45 -06:00
#ifndef DEVFS_H
#define DEVFS_H
typedef int (*dev_drv)(char* filename,int c,long pos,char wr);
void init_devfs();
void add_dev(dev_drv drv,char* name);
#endif