diff options
Diffstat (limited to 'static/netbsd/man3/sqlite3_system_errno.3')
| -rw-r--r-- | static/netbsd/man3/sqlite3_system_errno.3 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/static/netbsd/man3/sqlite3_system_errno.3 b/static/netbsd/man3/sqlite3_system_errno.3 new file mode 100644 index 00000000..40b89c3f --- /dev/null +++ b/static/netbsd/man3/sqlite3_system_errno.3 @@ -0,0 +1,30 @@ +.Dd January 24, 2024 +.Dt SQLITE3_SYSTEM_ERRNO 3 +.Os +.Sh NAME +.Nm sqlite3_system_errno +.Nd low-level system error code +.Sh SYNOPSIS +.In sqlite3.h +.Ft int +.Fo sqlite3_system_errno +.Fa "sqlite3*" +.Fc +.Sh DESCRIPTION +Attempt to return the underlying operating system error code or error +number that caused the most recent I/O error or failure to open a file. +The return value is OS-dependent. +For example, on unix systems, after +.Fn sqlite3_open_v2 +returns SQLITE_CANTOPEN, this interface could be called +to get back the underlying "errno" that caused the problem, such as +ENOSPC, EAUTH, EISDIR, and so forth. +.Sh IMPLEMENTATION NOTES +These declarations were extracted from the +interface documentation at line 10433. +.Bd -literal +SQLITE_API int sqlite3_system_errno(sqlite3*); +.Ed +.Sh SEE ALSO +.Xr sqlite3_open 3 , +.Xr SQLITE_OK 3 |
