1.Dd December 19, 2018 2.Dt SQLITE_ACCESS_EXISTS 3 3.Os 4.Sh NAME 5.Nm SQLITE_ACCESS_EXISTS , 6.Nm SQLITE_ACCESS_READWRITE , 7.Nm SQLITE_ACCESS_READ 8.Nd Flags for the xAccess VFS method 9.Sh SYNOPSIS 10.Fd #define SQLITE_ACCESS_EXISTS 11.Fd #define SQLITE_ACCESS_READWRITE 12.Fd #define SQLITE_ACCESS_READ 13.Sh DESCRIPTION 14These integer constants can be used as the third parameter to the xAccess 15method of an sqlite3_vfs object. 16They determine what kind of permissions the xAccess method is looking 17for. 18With SQLITE_ACCESS_EXISTS, the xAccess method simply checks whether 19the file exists. 20With SQLITE_ACCESS_READWRITE, the xAccess method checks whether the 21named directory is both readable and writable (in other words, if files 22can be added, removed, and renamed within the directory). 23The SQLITE_ACCESS_READWRITE constant is currently used only by the 24temp_store_directory pragma, though this 25could change in a future release of SQLite. 26With SQLITE_ACCESS_READ, the xAccess method checks whether the file 27is readable. 28The SQLITE_ACCESS_READ constant is currently unused, though it might 29be used in a future release of SQLite. 30.Sh SEE ALSO 31.Xr sqlite3_vfs 3 32