Updated: 2025/Nov/16
Please read Privacy Policy. It's for your privacy.
SQLITE3_DB_READONLY(3) Library Functions Manual SQLITE3_DB_READONLY(3)
NAME
sqlite3_db_readonly - determine if a database is read-only
SYNOPSIS
#include <sqlite3.h>
int
sqlite3_db_readonly(sqlite3 *db, const char *zDbName);
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.
IMPLEMENTATION NOTES
These declarations were extracted from the interface documentation at
line 6645.
SQLITE_API int sqlite3_db_readonly(sqlite3 *db, const char *zDbName);
NetBSD 11.99 January 24, 2024 NetBSD 11.99