snprintf for QNX4?

Hello.

I was wondering if anyone could tell me if there was a port of snprintf
to QNX4 that someone has used. I have found several code
implementations of snprintf, but if there is already one working with
QNX4, then I would like to know.

Thanks in advance.

Rodney Lott

There’s _bprintf that comes with the Watcom libraries. I think the
arguments are the same as snprintf. You could just put:
#define snprintf _bprintf
in your favorite header file :wink:

“Rodney Lott” <rod@fuelcelltechnologies.ca> wrote in message
news:3C46D7FA.1DE12D0@fuelcelltechnologies.ca

Hello.

I was wondering if anyone could tell me if there was a port of snprintf
to QNX4 that someone has used. I have found several code
implementations of snprintf, but if there is already one working with
QNX4, then I would like to know.

Thanks in advance.

Rodney Lott

D’OH! Right under my nose, and I didn’t even notice!! Thanks very much.
That will avoid the addition of any new libraries or object files.

Rodney Lott

Rob wrote:

There’s _bprintf that comes with the Watcom libraries. I think the
arguments are the same as snprintf. You could just put:
#define snprintf _bprintf
in your favorite header file > :wink:

“Rodney Lott” <> rod@fuelcelltechnologies.ca> > wrote in message
news:> 3C46D7FA.1DE12D0@fuelcelltechnologies.ca> …

Hello.

I was wondering if anyone could tell me if there was a port of snprintf
to QNX4 that someone has used. I have found several code
implementations of snprintf, but if there is already one working with
QNX4, then I would like to know.

Thanks in advance.

Rodney Lott