Mercurial > hg > Applications > mh
view sbr/m_find.c @ 0:bce86c4163a3
Initial revision
author | kono |
---|---|
date | Mon, 18 Apr 2005 23:46:02 +0900 |
parents | |
children |
line wrap: on
line source
/* m_find.c - find an entry in the profile */ #include "../h/mh.h" #include <stdio.h> char *m_find (str) register char *str; { register struct node *np; m_getdefs (); for (np = m_defs; np; np = np -> n_next) if (uleq (np -> n_name, str)) return (np -> n_field); return NULL; }