blob: 25ce26cb8144b17e8961d6f8dbb7dda220324fe1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* inttoa.c,v 3.1 1993/07/06 01:08:25 jbj Exp
* inttoa - return an asciized signed integer
*/
#include <stdio.h>
#include "lib_strbuf.h"
#include "ntp_stdlib.h"
char *
inttoa(ival)
LONG ival;
{
register char *buf;
LIB_GETBUF(buf);
(void) sprintf(buf, "%ld", ival);
return buf;
}
|