upscaledb  2.2.1
Macros | Functions
db4.c File Reference
#include <stdio.h>
#include <string.h>
#include <ups/upscaledb.h>

Go to the source code of this file.

Macros

#define DATABASE_NAME   1
 

Functions

int main (int argc, char **argv)
 

Macro Definition Documentation

#define DATABASE_NAME   1

This sample uses upscaledb to read data from stdin into a "record number" database; every word is inserted into the database in the order of its processing. Then a cursor is used to print all words in the original order.

Definition at line 29 of file db4.c.

Referenced by main().

Function Documentation

int main ( int  argc,
char **  argv 
)