32 lines
1.1 KiB
Groff
32 lines
1.1 KiB
Groff
.Dd March 11, 2017
|
|
.Dt SQLITE3_COMPILEOPTION_USED 3
|
|
.Os
|
|
.Sh NAME
|
|
.Nm sqlite3_compileoption_used ,
|
|
.Nm sqlite3_compileoption_get
|
|
.Nd Run-Time Library Compilation Options Diagnostics
|
|
.Sh SYNOPSIS
|
|
.Ft int
|
|
.Fo sqlite3_compileoption_used
|
|
.Fa "const char *zOptName"
|
|
.Fc
|
|
.Ft const char *
|
|
.Fo sqlite3_compileoption_get
|
|
.Fa "int N"
|
|
.Fc
|
|
.Sh DESCRIPTION
|
|
The sqlite3_compileoption_used() function returns 0 or 1 indicating
|
|
whether the specified option was defined at compile time.
|
|
The SQLITE_ prefix may be omitted from the option name passed to sqlite3_compileoption_used().
|
|
.Pp
|
|
The sqlite3_compileoption_get() function allows iterating over the
|
|
list of options that were defined at compile time by returning the
|
|
N-th compile time option string.
|
|
If N is out of range, sqlite3_compileoption_get() returns a NULL pointer.
|
|
The SQLITE_ prefix is omitted from any strings returned by sqlite3_compileoption_get().
|
|
.Pp
|
|
Support for the diagnostic functions sqlite3_compileoption_used() and
|
|
sqlite3_compileoption_get() may be omitted by specifying the SQLITE_OMIT_COMPILEOPTION_DIAGS
|
|
option at compile time.
|
|
.Pp
|