|
|
1.1 root 1: /* m_find.c - find an entry in the profile */
2:
3: #include "../h/mh.h"
4: #include <stdio.h>
5:
6:
7: char *m_find (str)
8: register char *str;
9: {
10: register struct node *np;
11:
12: m_getdefs ();
13: for (np = m_defs; np; np = np -> n_next)
14: if (uleq (np -> n_name, str))
15: return (np -> n_field);
16:
17: return NULL;
18: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.