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

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

/* ssequal.c - initially equal? */


ssequal (substr, str)
register char  *substr,
               *str;
{
    if (!substr)
	substr = "";
    if (!str)
	str = "";

    while (*substr)
	if (*substr++ != *str++)
	    return 0;
    return 1;
}

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