c++ - inportb() 和 inport() 函数有什么区别?

标签 c++ c dos

我刚开始学习System Programming 。我对这两个功能感到困惑。谁能告诉我这些功能之间有什么区别

inportb()inport()

outportb()outport() ??

最佳答案

inportb()outportb() 是宏。另外,outportb() 接受一个 int port 和一个 char byte,而 outport() 接受 int portint word 作为参数。

请参阅this link了解更多详细信息。

关于c++ - inportb() 和 inport() 函数有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33972255/

相关文章:

c++ - 奇怪的初始化优化

c++ - 如何为所有非空变量调用方法

C - 读/写具有动态名称的文件

检查char数组是否不是垃圾? (有效字符)

scripting - 带有 unc 路径的 xcopy 添加虚拟网络驱动器

c++ - 调用类的函数,但作为参数传递

c++ - 使用按位 & 而不是模数运算符从一个范围内随机抽取整数

c - `static int (*const array[SIZE_ARRAY]...)(int a) = {[SOMETHING]=something}`在C中是什么意思?

windows - 调整 CMD 窗口大小

c++ - 我的汇编代码有什么问题