Updated: 2022/Sep/29
Please read Privacy Policy. It's for your privacy.
SQLITE_ACCESS_EXISTS(3) Library Functions Manual SQLITE_ACCESS_EXISTS(3)
NAME
SQLITE_ACCESS_EXISTS, SQLITE_ACCESS_READWRITE, SQLITE_ACCESS_READ - flags
for the xAccess VFS method
SYNOPSIS
#include <sqlite3.h>
#define SQLITE_ACCESS_EXISTS
#define SQLITE_ACCESS_READWRITE
#define SQLITE_ACCESS_READ
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.
IMPLEMENTATION NOTES
These declarations were extracted from the interface documentation at
line 1505.
#define SQLITE_ACCESS_EXISTS 0
#define SQLITE_ACCESS_READWRITE 1 /* Used by PRAGMA temp_store_directory */
#define SQLITE_ACCESS_READ 2 /* Unused */
SEE ALSO
sqlite3_vfs(3)
NetBSD 10.99 August 24, 2023 NetBSD 10.99