What is the magic

Hi!
What is the magic structure?
And how can i use __qnx_debug_xfer or Where can i get info on it?

Ivan Kulkov <guard@crypto.ru> wrote:

Hi!
What is the magic structure?

magic is “special” globals used for process information. Take a
look at <sys/magic.h>

And how can i use __qnx_debug_xfer or Where can i get info on it?

I did mention this as undocumented black magic.

It is prototyped in <sys/debug.h>.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

I already have seen definitions from <sys/debug.h>.
Unfortunately they have appeared not so understandable as it would be
desirable.
I would be very grateful if you in brief have described an opportunity of
reception of
_magic structure of any process with use of function __ qnx_debug_xfer.

Yours faithfully in expectation of the answer, é×ÁÎ.

“David Gibbs” <dagibbs@qnx.com> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:a9epu1$9h2$2@nntp.qnx.com

Ivan Kulkov <> guard@crypto.ru> > wrote:
Hi!
What is the magic structure?

magic is “special” globals used for process information. Take a
look at <sys/magic.h

And how can i use __qnx_debug_xfer or Where can i get info on it?

I did mention this as undocumented black magic.

It is prototyped in <sys/debug.h>.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

The problem is that i don`t understand how to use this function. And it
prototype is not enought informative.
“David Gibbs” <dagibbs@qnx.com> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:a9epu1$9h2$2@nntp.qnx.com

Ivan Kulkov <> guard@crypto.ru> > wrote:
Hi!
What is the magic structure?

magic is “special” globals used for process information. Take a
look at <sys/magic.h

And how can i use __qnx_debug_xfer or Where can i get info on it?

I did mention this as undocumented black magic.

It is prototyped in <sys/debug.h>.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

You may get enough info by downlaoding the source for sysmon - look at
reg.c and register.c which use this function.

Richard

Ivan Kulkov wrote:

The problem is that i don`t understand how to use this function. And it
prototype is not enought informative.
“David Gibbs” <> dagibbs@qnx.com> > ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:a9epu1$9h2$> 2@nntp.qnx.com> …
Ivan Kulkov <> guard@crypto.ru> > wrote:
Hi!
What is the magic structure?

magic is “special” globals used for process information. Take a
look at <sys/magic.h

And how can i use __qnx_debug_xfer or Where can i get info on it?

I did mention this as undocumented black magic.

It is prototyped in <sys/debug.h>.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.