Small. Fast. Reliable.
Choose any three.

SQLite C接口

标准文件控制操作码

#定义SQLITE_FCNTL_LOCKSTATE 1
#定义SQLITE_FCNTL_GET_LOCKPROXYFILE 2
#定义SQLITE_FCNTL_SET_LOCKPROXYFILE 3
#定义SQLITE_FCNTL_LAST_ERRNO 4
#定义SQLITE_FCNTL_SIZE_HINT 5
#定义SQLITE_FCNTL_CHUNK_SIZE 6
#定义SQLITE_FCNTL_FILE_POINTER 7
#定义SQLITE_FCNTL_SYNC_OMITTED 8
#定义SQLITE_FCNTL_WIN32_AV_RETRY 9
#定义SQLITE_FCNTL_PERSIST_WAL 10
#定义SQLITE_FCNTL_OVERWRITE 11
#定义SQLITE_FCNTL_VFSNAME 12
#定义SQLITE_FCNTL_POWERSAFE_OVERWRITE 13
#定义SQLITE_FCNTL_PRAGMA 14
#定义SQLITE_FCNTL_BUSYHANDLER 15
#定义SQLITE_FCNTL_TEMPFILENAME 16
#定义SQLITE_FCNTL_MMAP_SIZE 18
#定义SQLITE_FCNTL_TRACE 19
#定义SQLITE_FCNTL_HAS_MOVED 20
#定义SQLITE_FCNTL_SYNC 21
#定义SQLITE_FCNTL_COMMIT_PHASETWO 22
#定义SQLITE_FCNTL_WIN32_SET_HANDLE 23
#定义SQLITE_FCNTL_WAL_BLOCK 24
#定义SQLITE_FCNTL_ZIPVFS 25
#定义SQLITE_FCNTL_RBU 26
#定义SQLITE_FCNTL_VFS_POINTER 27
#定义SQLITE_FCNTL_JOURNAL_POINTER 28
#定义SQLITE_FCNTL_WIN32_GET_HANDLE 29
#定义SQLITE_FCNTL_PDB 30
#定义SQLITE_FCNTL_BEGIN_ATOMIC_WRITE 31
#定义SQLITE_FCNTL_COMMIT_ATOMIC_WRITE 32
#定义SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE 33
#定义SQLITE_FCNTL_LOCK_TIMEOUT 34
#定义SQLITE_FCNTL_DATA_VERSION 35
#定义SQLITE_FCNTL_SIZE_LIMIT 36
#定义SQLITE_FCNTL_CKPT_DONE 37
#定义SQLITE_FCNTL_RESERVE_BYTES 38
#定义SQLITE_FCNTL_CKPT_START 39

这些整数常量是sqlite3_io_methods对象的xFileControl方法和sqlite3_file_control() 接口的操作码。

另请参见 对象常量函数的列表