www.delorie.com/djgpp/doc/libc-2.01/libc_400.html   search  
Go to the first, previous, next, last section, table of contents.


inportb

Syntax

#include <pc.h>

unsigned char inportb(unsigned short _port);

Description

Read a single 8-bit I/O port.

This function is provided as an inline assembler macro, and will be optimized down to a single opcode when you optimize your program.

Return Value

The value returned through the port.


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997