This is m_name.c in view mode; [Download] [Up]
/* m_name.c - return a message number as a string */
#include "../h/mh.h"
#include <stdio.h>
static char name[BUFSIZ];
char *m_name (num)
register int num;
{
if (num <= 0)
return "?";
(void) sprintf (name, "%d", num);
return name;
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.