version 1.2, 2009/03/23 15:41:09 |
version 1.4, 2009/03/31 13:50:19 |
|
|
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
* PERFORMANCE OF THIS SOFTWARE. |
* PERFORMANCE OF THIS SOFTWARE. |
*/ |
*/ |
#include <assert.h> |
|
#include <ctype.h> |
|
#include <err.h> |
|
#include <stdlib.h> |
#include <stdlib.h> |
#include <stdio.h> |
|
#include <string.h> |
#include <string.h> |
|
|
#include "libman.h" |
#include "libman.h" |
Line 52 man_hash_find(const void *arg, const char *tmp) |
|
Line 48 man_hash_find(const void *arg, const char *tmp) |
|
/* TODO */ |
/* TODO */ |
|
|
for (i = 0; i < MAN_MAX; i++) |
for (i = 0; i < MAN_MAX; i++) |
if (0 == strcasecmp(tmp, man_macronames[i])) |
if (0 == strcmp(tmp, man_macronames[i])) |
return(i); |
return(i); |
|
|
return(MAN_MAX); |
return(MAN_MAX); |