mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 08:52:46 +00:00
21 lines
258 B
C
21 lines
258 B
C
/*
|
|
* uinttoa - return an asciized unsigned integer
|
|
*/
|
|
#include <stdio.h>
|
|
|
|
#include "lib_strbuf.h"
|
|
#include "ntp_stdlib.h"
|
|
|
|
char *
|
|
uinttoa(
|
|
u_long uval
|
|
)
|
|
{
|
|
register char *buf;
|
|
|
|
LIB_GETBUF(buf);
|
|
|
|
(void) sprintf(buf, "%lu", (u_long)uval);
|
|
return buf;
|
|
}
|