Updated docs/README-ATTACHMENTS, mainly to reflect that no setup is
[mmh] / docs / historical / mh-6.8.5 / sbr / m_name.c
1 /* m_name.c - return a message number as a string */
2
3 #include "../h/mh.h"
4 #include <stdio.h>
5
6
7 static char name[BUFSIZ];
8
9 char   *m_name (num)
10 register int     num;
11 {
12     if (num <= 0)
13         return "?";
14
15     (void) sprintf (name, "%d", num);
16     return name;
17 }