os_test.h

来自「PHP v6.0 For Linux 运行环境:Win9X/ WinME/ Wi」· C头文件 代码 · 共 41 行

H
41
字号
/*** 2004 May 22**** The author disclaims copyright to this source code.  In place of** a legal notice, here is a blessing:****    May you do good and not evil.**    May you find forgiveness for yourself and forgive others.**    May you share freely, never taking more than you give.***********************************************************************************/#ifndef _SQLITE_OS_TEST_H_#define _SQLITE_OS_TEST_H_#define OsFile OsRealFile#define OS_UNIX 1#include "os_unix.h"#undef OS_UNIX#undef OsFile#undef SET_FULLSYNC/* Include sqliteInt.h now to get the type u8. */#include "sqliteInt.h"typedef struct OsTestFile* OsFile;typedef struct OsTestFile OsTestFile;struct OsTestFile {  u8 **apBlk;       /* Array of blocks that have been written to. */  int nBlk;         /* Size of apBlock. */  int nMaxWrite;    /* Largest offset written to. */  char *zName;      /* File name */  OsRealFile fd;  OsTestFile *pNext;};void sqlite3SetCrashParams(int iDelay, char const *zFile);#endif /* _SQLITE_OS_UNIX_H_ */

⌨️ 快捷键说明

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