[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ! atoi

>I can't remember the libary call for converting a int to char* .


ISTR it gives you a static buffer back. Solaris doesn't seem to have it
so I can't tell you from the manual page. Typical. Heap of poo.


That'll do it. Allocate the buffer first. Make sure it's long enough.

>Does anybody remember?

Don't take this the wrong way, but might I suggest a quick
RTFM for things like this?