mirror of
https://github.com/opnsense/src.git
synced 2026-03-31 23:15:10 -04:00
19 lines
261 B
C
19 lines
261 B
C
/*
|
|
* uinttoa - return an asciized unsigned integer
|
|
*/
|
|
#include <stdio.h>
|
|
|
|
#include "lib_strbuf.h"
|
|
#include "ntp_stdlib.h"
|
|
|
|
char *
|
|
uinttoa(uval)
|
|
u_long uval;
|
|
{
|
|
register char *buf;
|
|
|
|
LIB_GETBUF(buf);
|
|
|
|
(void) sprintf(buf, "%lu", (u_long)uval);
|
|
return buf;
|
|
}
|