diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 19:55:15 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 19:55:15 -0400 |
| commit | 253e67c8b3a72b3a4757fdbc5845297628db0a4a (patch) | |
| tree | adf53b66087aa30dfbf8bf391a1dadb044c3bf4d /static/netbsd/man3/SQLITE_ACCESS_EXISTS.3 | |
| parent | a9157ce950dfe2fc30795d43b9d79b9d1bffc48b (diff) | |
docs: Added All NetBSD Manuals
Diffstat (limited to 'static/netbsd/man3/SQLITE_ACCESS_EXISTS.3')
| -rw-r--r-- | static/netbsd/man3/SQLITE_ACCESS_EXISTS.3 | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/static/netbsd/man3/SQLITE_ACCESS_EXISTS.3 b/static/netbsd/man3/SQLITE_ACCESS_EXISTS.3 new file mode 100644 index 00000000..c79f7299 --- /dev/null +++ b/static/netbsd/man3/SQLITE_ACCESS_EXISTS.3 @@ -0,0 +1,40 @@ +.Dd January 24, 2024 +.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 +.In sqlite3.h +.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 IMPLEMENTATION NOTES +These declarations were extracted from the +interface documentation at line 1505. +.Bd -literal +#define SQLITE_ACCESS_EXISTS 0 +#define SQLITE_ACCESS_READWRITE 1 /* Used by PRAGMA temp_store_directory */ +#define SQLITE_ACCESS_READ 2 /* Unused */ +.Ed +.Sh SEE ALSO +.Xr sqlite3_vfs 3 |
