1994-09-29 23:04:24 +00:00
|
|
|
/*
|
1993-12-21 18:36:48 +00:00
|
|
|
* uinttoa - return an asciized unsigned integer
|
|
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include "lib_strbuf.h"
|
|
|
|
#include "ntp_stdlib.h"
|
|
|
|
|
|
|
|
char *
|
|
|
|
uinttoa(uval)
|
1994-09-29 23:04:24 +00:00
|
|
|
u_long uval;
|
1993-12-21 18:36:48 +00:00
|
|
|
{
|
|
|
|
register char *buf;
|
|
|
|
|
|
|
|
LIB_GETBUF(buf);
|
|
|
|
|
1994-09-29 23:04:24 +00:00
|
|
|
(void) sprintf(buf, "%lu", (u_long)uval);
|
1993-12-21 18:36:48 +00:00
|
|
|
return buf;
|
|
|
|
}
|