I/O Function Questions

1)Does anyone know how to use in8() and out8() in qnx?
2)Can I use these functions to read and write
data from I/O port?
3)In QNX 6.2 library,
uint8_t in8(uintptr_t port);
what 's the meaning of unintptr and uint8_t?
4)Is in8() and out() same with _inp() and
_outp() function in Visual C++?

Tie Hu
6/10

tie hu <tie@cbis.ece.drexel.edu> wrote:

1)Does anyone know how to use in8() and out8() in qnx?
2)Can I use these functions to read and write
data from I/O port?
3)In QNX 6.2 library,
uint8_t in8(uintptr_t port);
what 's the meaning of unintptr and uint8_t?
4)Is in8() and out() same with _inp() and
_outp() function in Visual C++?

Answered in detail in, I think comp.os.qnx

-David

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

David Gibbs <dagibbs@qnx.com> wrote:

tie hu <> tie@cbis.ece.drexel.edu> > wrote:
1)Does anyone know how to use in8() and out8() in qnx?
2)Can I use these functions to read and write
data from I/O port?
3)In QNX 6.2 library,
uint8_t in8(uintptr_t port);
what 's the meaning of unintptr and uint8_t?
4)Is in8() and out() same with _inp() and
_outp() function in Visual C++?

Answered in detail in, I think comp.os.qnx

Nope…qdn.public.porting… too many posts, in too many newsgroups.

-David

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