interplane.Get Omega
Read in your language

sqlite

[Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI.

Brought by drakestapleton

branch master Branches Tags History

sqlite / tool / libvers.c

15 lines · 426 bytes Raw Blame History
1/*
2** Compile this program against an SQLite library of unknown version
3** and then run this program, and it will print out the SQLite version
4** information.
5*/
6#include <stdio.h>
7
8extern const char *sqlite3_libversion(void);
9extern const char *sqlite3_sourceid(void);
10
11int main(int argc, char **argv){
12 printf("SQLite version %s\n", sqlite3_libversion());
13 printf("SQLite source %s\n", sqlite3_sourceid());
14 return 0;
15}