Updated: 2022/Sep/29

Please read Privacy Policy. It's for your privacy.


SQLITE3_COMPILEOPTION_USED(3)                         Library Functions Manual

NAME
     sqlite3_compileoption_used, sqlite3_compileoption_get,
     sqlite3_compileoption_used(X), sqlite3_compileoption_get(X) - run-Time
     library compilation options diagnostics

SYNOPSIS
     #include <sqlite3.h>

     int
     sqlite3_compileoption_used(const char *zOptName);

     const char *
     sqlite3_compileoption_get(int N);

     #define sqlite3_compileoption_used(X)
     #define sqlite3_compileoption_get(X)

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().

     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().

     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.

IMPLEMENTATION NOTES
     These declarations were extracted from the interface documentation at
     line 191.

     #ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS
     SQLITE_API int sqlite3_compileoption_used(const char *zOptName);
     SQLITE_API const char *sqlite3_compileoption_get(int N);
     #else
     # define sqlite3_compileoption_used(X) 0
     # define sqlite3_compileoption_get(X)  ((void*)0)
     #endif

NetBSD 10.99                    August 24, 2023                   NetBSD 10.99