]> diplodocus.org Git - nmh/blob - docs/historical/mh-jun-1982/subs/locv.c
Create new mh-format function %(ordinal)
[nmh] / docs / historical / mh-jun-1982 / subs / locv.c
1 #ifdef COMMENT
2 Proprietary Rand Corporation, 1981.
3 Further distribution of this software
4 subject to the terms of the Rand
5 license agreement.
6 #endif
7
8 #include <stdio.h>
9
10 extern char *sprintf ();
11
12 char *
13 locv(longint)
14 long longint;
15 {
16 static char locvbuf[12];
17
18 return sprintf(locvbuf, "%ld", longint);
19 }