String conversion with QNXRTP

Hello!

I need to convert double values into strings under QNXRTP.
I have tried the ecvt() function but it doesn’t work.

Then my question is:
Is there another function that ecvt() that can convert double values to
strings?

Thanks for your help.


PS: the ecvt() function is declared in the stdlib.h, but there is no
help about it and didn’t find it in any library :frowning:

Hi,

sprintf / snprintf

According to the Linux manpage ecvt is conforming to SySVR2 and XPG2,
not POSIX and is obsoleted by sprintf

-Scott

On Tue, 17 Oct 2000 09:04:54 +0200, Yannick RECHT
<yannick.recht@ersa-france.com> wrote:

Hello!

I need to convert double values into strings under QNXRTP.
I have tried the ecvt() function but it doesn’t work.

Then my question is:
Is there another function that ecvt() that can convert double values to
strings?

Thanks for your help.


PS: the ecvt() function is declared in the stdlib.h, but there is no
help about it and didn’t find it in any library > :frowning:

“That’s a deer shooting hat.”
“Like hell it is. This is a people shooting hat. I shoot people in this hat.”