os/fs/devfs.h
2019-03-11 09:32:55 -05:00

10 lines
164 B
C

#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