Re: Is there any equivalent function for itoa

From: Miles Bader
Date: Wed Jul 07 2004 - 23:31:16 EST


"Srinivas G." <srinivasg@xxxxxxxxxxxxxxxxxxxxx> writes:
> I have not found any itoa function in the linux library.
>
> Is there any equivalent for that?

snprintf (buf, sizeof buf, "%d", int) ?

-miles
--
"Unless there are slaves to do the ugly, horrible, uninteresting work, culture
and contemplation become almost impossible. Human slavery is wrong, insecure,
and demoralizing. On mechanical slavery, on the slavery of the machine, the
future of the world depends." -Oscar Wilde, "The Soul of Man Under Socialism"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/