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: }

Defined functions

Defined variables

name defined in line 7; used 2 times
Last modified: 1985-10-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 924
Valid CSS Valid XHTML 1.0 Strict