ftp.nice.ch/pub/next/unix/mail/mh.6.7.s.tar.gz#/mh/sbr/m_find.c

This is m_find.c in view mode; [Download] [Up]

/* 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;
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.