Enhance the command-line completion extension to return the names of
[sqlite.git] / tool / libvers.c
blob6911dbd07eb1c23d0a5aeee34460ba9e1b1a7b9e
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>
8 extern const char *sqlite3_libversion(void);
9 extern const char *sqlite3_sourceid(void);
11 int main(int argc, char **argv){
12 printf("SQLite version %s\n", sqlite3_libversion());
13 printf("SQLite source %s\n", sqlite3_sourceid());
14 return 0;