QNX assert command

Hi,

I’m looking on the defenition of the ‘assert’ command in the assert.h file.
I can’t figure out what is the meaning of the first parameter.

Any ideas?

Benzy Gabay
R&D
Everbee Wireless
mailto:bgabay@everbee.com
tel. +972-9-956-0135
fax. +972-9-955-9654

Ben Gabay <bgabay@everbee.com> wrote:

Hi,

I’m looking on the defenition of the ‘assert’ command in the assert.h file.
I can’t figure out what is the meaning of the first parameter.

Any ideas?

http://qdn.qnx.com/support/docs/neutrino_qrp/lib_ref/a/assert.html

-xtang

mmmm, so what is __assert?


Benzy Gabay
R&D
Everbee Wireless
mailto:bgabay@everbee.com
tel. +972-9-956-0135
fax. +972-9-955-9654

“Xiaodan Tang” <xtang@qnx.com> wrote in message
news:9godpp$15q$1@nntp.qnx.com

Ben Gabay <> bgabay@everbee.com> > wrote:
Hi,

I’m looking on the defenition of the ‘assert’ command in the assert.h
file.
I can’t figure out what is the meaning of the first parameter.

Any ideas?

http://qdn.qnx.com/support/docs/neutrino_qrp/lib_ref/a/assert.html

-xtang

Ben Gabay <bgabay@everbee.com> wrote:

mmmm, so what is __assert?

Offically:

If it is not in the document, you are not supposed to use it.
If you want to use it, you are on your own.

Off Record:

Since you like to dig .h file other than document, you should
also noticed that assert(expr) is a macro defined using
__assert(), passing express, the filename, the line number in…

-xtang


Benzy Gabay
R&D
Everbee Wireless
mailto:> bgabay@everbee.com
tel. +972-9-956-0135
fax. +972-9-955-9654

“Xiaodan Tang” <> xtang@qnx.com> > wrote in message
news:9godpp$15q$> 1@nntp.qnx.com> …
Ben Gabay <> bgabay@everbee.com> > wrote:
Hi,

I’m looking on the defenition of the ‘assert’ command in the assert.h
file.
I can’t figure out what is the meaning of the first parameter.

Any ideas?

http://qdn.qnx.com/support/docs/neutrino_qrp/lib_ref/a/assert.html

-xtang