]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - 6/contrib/ntp/libntp/uinttoa.c
Clone Kip's Xen on stable/6 tree so that I can work on improving FreeBSD/amd64
[FreeBSD/FreeBSD.git] / 6 / contrib / ntp / libntp / uinttoa.c
1 /*
2  * uinttoa - return an asciized unsigned integer
3  */
4 #include <stdio.h>
5
6 #include "lib_strbuf.h"
7 #include "ntp_stdlib.h"
8
9 char *
10 uinttoa(
11         u_long uval
12         )
13 {
14         register char *buf;
15
16         LIB_GETBUF(buf);
17
18         (void) sprintf(buf, "%lu", (u_long)uval);
19         return buf;
20 }