diff options
Diffstat (limited to 'static/netbsd/man3/sqlite3_db_readonly.3')
| -rw-r--r-- | static/netbsd/man3/sqlite3_db_readonly.3 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/static/netbsd/man3/sqlite3_db_readonly.3 b/static/netbsd/man3/sqlite3_db_readonly.3 new file mode 100644 index 00000000..129f12c1 --- /dev/null +++ b/static/netbsd/man3/sqlite3_db_readonly.3 @@ -0,0 +1,23 @@ +.Dd January 24, 2024 +.Dt SQLITE3_DB_READONLY 3 +.Os +.Sh NAME +.Nm sqlite3_db_readonly +.Nd determine if a database is read-only +.Sh SYNOPSIS +.In sqlite3.h +.Ft int +.Fo sqlite3_db_readonly +.Fa "sqlite3 *db" +.Fa "const char *zDbName" +.Fc +.Sh DESCRIPTION +The sqlite3_db_readonly(D,N) interface returns 1 if the database N +of connection D is read-only, 0 if it is read/write, or -1 if N is +not the name of a database on connection D. +.Sh IMPLEMENTATION NOTES +These declarations were extracted from the +interface documentation at line 6645. +.Bd -literal +SQLITE_API int sqlite3_db_readonly(sqlite3 *db, const char *zDbName); +.Ed |
