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