Mercurial > hg > Game > Atoc
view driver/cdev_handler.h @ 1:b4285b887e18 default tip
add document
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Sep 2009 17:33:34 +0900 |
parents | 42f240cc4bc6 |
children |
line wrap: on
line source
/** * cdev_handler.h * SPE プロセスマネージャ spe_manager * キャラクタデバイスのハンドラ */ #ifndef SPE_MANAGER__CDEV_HANDLER_H #define SPE_MANAGER__CDEV_HANDLER_H #include <linux/fs.h> // 外部から参照される関数 int spe_manager_open(struct inode *, struct file *); // open ssize_t spe_manager_write(struct file *, const char __user *, size_t, loff_t *); // write int spe_manager_ioctl(struct inode *, struct file *, unsigned int, unsigned long); // ioctl ssize_t spe_manager_read(struct file *, char __user *, size_t, loff_t *); // read int spe_manager_release(struct inode *, struct file *); // release #endif /*SPE_MANAGER__CDEV_HANDLER_H*/