Inverted Index: Partioning/Sharding App

This commit is contained in:
powturbo
2017-06-13 09:14:19 +02:00
parent 63f32d6355
commit 35f269c5c6

View File

@ -31,6 +31,12 @@
#include <getopt.h>
#include "conf.h"
#ifndef min
#define min(x,y) (((x)<(y)) ? (x) : (y))
#define max(x,y) (((x)>(y)) ? (x) : (y))
#endif
unsigned argtoi(char *s) {
char *p; unsigned n = strtol(s, &p, 10),f=1;
switch(*p) {