SQLITE_IOERR_READ(3)

SQLITE_IOERR_READ(3) | Library Functions Manual | SQLITE_IOERR_READ(3)

# NAME

`SQLITE_IOERR_READ`, `SQLITE_IOERR_SHORT_READ`, `SQLITE_IOERR_WRITE`, `SQLITE_IOERR_FSYNC`, `SQLITE_IOERR_DIR_FSYNC`, `SQLITE_IOERR_TRUNCATE`, `SQLITE_IOERR_FSTAT`, `SQLITE_IOERR_UNLOCK`, `SQLITE_IOERR_RDLOCK`, `SQLITE_IOERR_DELETE`, `SQLITE_IOERR_BLOCKED`, `SQLITE_IOERR_NOMEM`, `SQLITE_IOERR_ACCESS`, `SQLITE_IOERR_CHECKRESERVEDLOCK`, `SQLITE_IOERR_LOCK`, `SQLITE_IOERR_CLOSE`, `SQLITE_IOERR_DIR_CLOSE`, `SQLITE_IOERR_SHMOPEN`, `SQLITE_IOERR_SHMSIZE`, `SQLITE_IOERR_SHMLOCK`, `SQLITE_IOERR_SHMMAP`, `SQLITE_IOERR_SEEK`, `SQLITE_IOERR_DELETE_NOENT`, `SQLITE_IOERR_MMAP`, `SQLITE_IOERR_GETTEMPPATH`, `SQLITE_IOERR_CONVPATH`, `SQLITE_IOERR_VNODE`, `SQLITE_IOERR_AUTH`, `SQLITE_LOCKED_SHAREDCACHE`, `SQLITE_BUSY_RECOVERY`, `SQLITE_BUSY_SNAPSHOT`, `SQLITE_CANTOPEN_NOTEMPDIR`, `SQLITE_CANTOPEN_ISDIR`, `SQLITE_CANTOPEN_FULLPATH`, `SQLITE_CANTOPEN_CONVPATH`, `SQLITE_CORRUPT_VTAB`, `SQLITE_READONLY_RECOVERY`, `SQLITE_READONLY_CANTLOCK`, `SQLITE_READONLY_ROLLBACK`, `SQLITE_READONLY_DBMOVED`, `SQLITE_ABORT_ROLLBACK`, `SQLITE_CONSTRAINT_CHECK`, `SQLITE_CONSTRAINT_COMMITHOOK`, `SQLITE_CONSTRAINT_FOREIGNKEY`, `SQLITE_CONSTRAINT_FUNCTION`, `SQLITE_CONSTRAINT_NOTNULL`, `SQLITE_CONSTRAINT_PRIMARYKEY`, `SQLITE_CONSTRAINT_TRIGGER`, `SQLITE_CONSTRAINT_UNIQUE`, `SQLITE_CONSTRAINT_VTAB`, `SQLITE_CONSTRAINT_ROWID`, `SQLITE_NOTICE_RECOVER_WAL`, `SQLITE_NOTICE_RECOVER_ROLLBACK`, `SQLITE_WARNING_AUTOINDEX`, `SQLITE_AUTH_USER`, `SQLITE_OK_LOAD_PERMANENTLY` — Extended Result Codes

# SYNOPSIS

`#define SQLITE_IOERR_READ`
`#define SQLITE_IOERR_SHORT_READ`
`#define SQLITE_IOERR_WRITE`
`#define SQLITE_IOERR_FSYNC`
`#define SQLITE_IOERR_DIR_FSYNC`
`#define SQLITE_IOERR_TRUNCATE`
`#define SQLITE_IOERR_FSTAT`
`#define SQLITE_IOERR_UNLOCK`
`#define SQLITE_IOERR_RDLOCK`
`#define SQLITE_IOERR_DELETE`
`#define SQLITE_IOERR_BLOCKED`
`#define SQLITE_IOERR_NOMEM`
`#define SQLITE_IOERR_ACCESS`
`#define SQLITE_IOERR_CHECKRESERVEDLOCK`
`#define SQLITE_IOERR_LOCK`
`#define SQLITE_IOERR_CLOSE`
`#define SQLITE_IOERR_DIR_CLOSE`
`#define SQLITE_IOERR_SHMOPEN`
`#define SQLITE_IOERR_SHMSIZE`
`#define SQLITE_IOERR_SHMLOCK`
`#define SQLITE_IOERR_SHMMAP`
`#define SQLITE_IOERR_SEEK`
`#define SQLITE_IOERR_DELETE_NOENT`
`#define SQLITE_IOERR_MMAP`
`#define SQLITE_IOERR_GETTEMPPATH`
`#define SQLITE_IOERR_CONVPATH`
`#define SQLITE_IOERR_VNODE`
`#define SQLITE_IOERR_AUTH`
`#define SQLITE_LOCKED_SHAREDCACHE`
`#define SQLITE_BUSY_RECOVERY`
`#define SQLITE_BUSY_SNAPSHOT`
`#define SQLITE_CANTOPEN_NOTEMPDIR`
`#define SQLITE_CANTOPEN_ISDIR`
`#define SQLITE_CANTOPEN_FULLPATH`
`#define SQLITE_CANTOPEN_CONVPATH`
`#define SQLITE_CORRUPT_VTAB`
`#define SQLITE_READONLY_RECOVERY`
`#define SQLITE_READONLY_CANTLOCK`
`#define SQLITE_READONLY_ROLLBACK`
`#define SQLITE_READONLY_DBMOVED`
`#define SQLITE_ABORT_ROLLBACK`
`#define SQLITE_CONSTRAINT_CHECK`
`#define SQLITE_CONSTRAINT_COMMITHOOK`
`#define SQLITE_CONSTRAINT_FOREIGNKEY`
`#define SQLITE_CONSTRAINT_FUNCTION`
`#define SQLITE_CONSTRAINT_NOTNULL`
`#define SQLITE_CONSTRAINT_PRIMARYKEY`
`#define SQLITE_CONSTRAINT_TRIGGER`
`#define SQLITE_CONSTRAINT_UNIQUE`
`#define SQLITE_CONSTRAINT_VTAB`
`#define SQLITE_CONSTRAINT_ROWID`
`#define SQLITE_NOTICE_RECOVER_WAL`
`#define SQLITE_NOTICE_RECOVER_ROLLBACK`
`#define SQLITE_WARNING_AUTOINDEX`
`#define SQLITE_AUTH_USER`
`#define SQLITE_OK_LOAD_PERMANENTLY`

# DESCRIPTION

In its default configuration, SQLite API routines return one of 30 integer result codes. However, experience has shown that many of these result codes are too coarse-grained. They do not provide as much information about problems as programmers might like. In an effort to address this, newer versions of SQLite (version 3.3.8 dateof:3.3.8 and later) include support for additional result codes that provide more detailed information about errors. These extended result codes are enabled or disabled on a per database connection basis using the sqlite3_extended_result_codes() API. Or, the extended code for the most recent error can be obtained using sqlite3_extended_errcode().

# SEE ALSO

sqlite3_errcode(3), sqlite3_extended_result_codes(3)

March 11, 2017 | NetBSD 11.0