aboutsummaryrefslogblamecommitdiff
path: root/6.1/key.h
blob: 1cba74e891bf99ba40dc981fb469cc61e8a23f15 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                  
#ifndef KEY_H

#define NKEYS (sizeof(keytab) / sizeof(keytab[0]))

struct key {
	const char *word;
	int count;
};

#define KEY_H
#endif

int bsearch(char *word, struct key tab[], int n);