upscaledb  2.2.1
Macros | Functions
db5.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 demonstrates the use of duplicate items. Every line is split into words, and each word is inserted with its line number. Then a cursor is used to print all words in a sorted order, with the lines in which the word occurred.

Definition at line 29 of file db5.c.

Referenced by main().

Function Documentation

int main ( int  argc,
char **  argv 
)