www.delorie.com/djgpp/doc/libc/libc_478.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

inportw

Syntax

 
#include <pc.h>

unsigned short inportw(unsigned short _port);

Description

Read a single 16-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.

Portability

ANSI/ISO C No
POSIX No


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004