|
-
July 10th, 2002, 11:07 AM
#1
Junior Member
outp() and inp() in C
Hi,
Do any of you know what outp() and inp() are for in C? The piece of code that I am reading contained these library funtions from either dos.h or conio.h. This is the first time that I have bumped into these libraries. So I did a search on dos.h and I found this library discription: "These are interfaces to the DOS operating system. They generally correspond directly to DOS API calls. They are not portable to operating systems other than DOS." As for conio.h, I found: "Console versions of common I/O functions. They bypass the stdin and stdout buffers and access the console directly." Anyhow, I looked into both library and I still can't find where outp() and inp() are coming from. I have also looked into stdio.h; not there. BTW, I have thought about compiling the code. But since the code has to do with the BIOS, I am a little afriad inp() might be a writing function. It would be disastrous the next time I boot up the machine and it's not there anymore. I would appreciate any type feedback or help. Thanx.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|