imfs_handlers_device.c

来自「RTEMS (Real-Time Executive for Multiproc」· C语言 代码 · 共 42 行

C
42
字号
/* *  Device Operations Table for the IMFS * *  COPYRIGHT (c) 1989-1999. *  On-Line Applications Research Corporation (OAR). * *  The license and distribution terms for this file may be *  found in the file LICENSE in this distribution or at *  http://www.rtems.com/license/LICENSE. * *  $Id: imfs_handlers_device.c,v 1.6.4.1 2003/09/04 18:47:02 joel Exp $ */#if HAVE_CONFIG_H#include "config.h"#endif#include <errno.h>#include "imfs.h"/* *  Handler table for IMFS device nodes */rtems_filesystem_file_handlers_r IMFS_device_handlers = {  device_open,  device_close,  device_read,  device_write,  device_ioctl,  device_lseek,  IMFS_stat,  IMFS_fchmod,  NULL,   /* ftruncate */  NULL,   /* fpathconf */  NULL,   /* fsync */  NULL,   /* fdatasync */  NULL,   /* fcntl */  IMFS_rmnod};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?