Return to inttoa.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / libntp |
ntp 4.2.6p5
/* * inttoa - return an asciized signed integer */ #include <config.h> #include <stdio.h> #include "lib_strbuf.h" #include "ntp_stdlib.h" char * inttoa( long val ) { register char *buf; LIB_GETBUF(buf); snprintf(buf, LIB_BUFLENGTH, "%ld", val); return buf; }