?? fflushdir.c
字號:
#include <stdio.h>#include <reent.h>#include <errno.h>#include <devices.h>#include <sysdefs.h>#include <iface.h>#include <ioctl.h>int fflushdir (FILE * fd){#ifdef HAS_MMCint idx;short file;struct _reent ptr; if (!fd) return -EBADF; fflush (fd); file = fd->_file; // look thru device table for this device. if ((idx = find_device (&ptr, DEVICE_TYPE(file))) == -1) return -EBADF; // call function if defined. if (device_table_list[idx].item->ioctl) { return device_table_list[idx].item->ioctl(&ptr, file, IOCTL_MMC_FLUSH_DIR, NULL); }#endif return -EBADF;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -