Closed. This question is off-topic。它当前不接受答案。
                            
                        
                    
                
                            
                                
                
                        
                            
                        
                    
                        
                            想改善这个问题吗? Update the question,因此它是on-topic,用于堆栈溢出。
                        
                        4年前关闭。
                                                                                            
                
        
我刚开始学习System Programming。我对这两个功能感到困惑。谁能告诉我这些功能之间的区别是什么

inportb()inport()

outportb()outport()
 ??

最佳答案

inportb()outportb()是宏。另外,outportb()接受int portchar byte,而outport()具有int portint word作为参数。

有关更多详细信息,请参见this link

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

10-11 18:58