C libraries

I have installed QNX RTP via the Windows executable from the Tucows
website. I then booted into QNX with a floppy and installed several
packages from the WWW repository, including GNU C/C++. To develop
drivers for a PC104 board, I need the C functions “inp()” and “outp()”.
According to the documentation that I’ve found, these functions reside
in an include file called “conio.h”. As far as I can tell,
“conio.h” wasn’t part of the GNU C installation, and the “inp()/outp()”
commands aren’t part of any other installed files. Does anyone know
where I can find/get the appropriate include file?

Thanks,
Kurt

Take a look in hw/inout.h
If you are porting old code you will need to do something like this:
#define inp in8
#define outp out8

Otherwise just include hw/inout.h and use the direct functions:
in8() out8() also in16 out16 in32 out32


Also you will have to call:
threadctl() before you access any of the functions
The code(program) needs to be owned by root.
Kurt Gunderson wrote:

I have installed QNX RTP via the Windows executable from the Tucows
website. I then booted into QNX with a floppy and installed several
packages from the WWW repository, including GNU C/C++. To develop
drivers for a PC104 board, I need the C functions “inp()” and “outp()”.
According to the documentation that I’ve found, these functions reside
in an include file called “conio.h”. As far as I can tell,
“conio.h” wasn’t part of the GNU C installation, and the “inp()/outp()”
commands aren’t part of any other installed files. Does anyone know
where I can find/get the appropriate include file?

Thanks,
Kurt