xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_system_errno.3 (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1.Dd March 11, 2017
2.Dt SQLITE3_SYSTEM_ERRNO 3
3.Os
4.Sh NAME
5.Nm sqlite3_system_errno
6.Nd Low-level system error code
7.Sh SYNOPSIS
8.Ft int
9.Fo sqlite3_system_errno
10.Fa "sqlite3*"
11.Fc
12.Sh DESCRIPTION
13Attempt to return the underlying operating system error code or error
14number that caused the most recent I/O error or failure to open a file.
15The return value is OS-dependent.
16For example, on unix systems, after sqlite3_open_v2()
17returns SQLITE_CANTOPEN, this interface could be called
18to get back the underlying "errno" that caused the problem, such as
19ENOSPC, EAUTH, EISDIR, and so forth.
20.Sh SEE ALSO
21.Xr sqlite3_open 3 ,
22.Xr SQLITE_OK 3
23