1.Dd January 24, 2024 2.Dt SQLITE3_DB_READONLY 3 3.Os 4.Sh NAME 5.Nm sqlite3_db_readonly 6.Nd determine if a database is read-only 7.Sh SYNOPSIS 8.In sqlite3.h 9.Ft int 10.Fo sqlite3_db_readonly 11.Fa "sqlite3 *db" 12.Fa "const char *zDbName" 13.Fc 14.Sh DESCRIPTION 15The sqlite3_db_readonly(D,N) interface returns 1 if the database N 16of connection D is read-only, 0 if it is read/write, or -1 if N is 17not the name of a database on connection D. 18.Sh IMPLEMENTATION NOTES 19These declarations were extracted from the 20interface documentation at line 6645. 21.Bd -literal 22SQLITE_API int sqlite3_db_readonly(sqlite3 *db, const char *zDbName); 23.Ed 24