[Overview][Constants][Types][Procedures and functions][Variables][Index] | Reference for unit 'go32' (#rtl)

# inportb

Read byte from I/O port

## Declaration

Source position: go32.pp line 176

`function inportb(`
`port: Word`
`):Byte;`

## Description

Reads 1 byte from the selected I/O port.

Parameters:

port
  the I/O port number which is read.

Return values: Current I/O port value.

## Errors

None.

## See also

outportb |  | Write byte to I/O port
inportw |  | Read word from I/O port
inportl |  | Read longint from I/O port

Documentation generated on: May 14 2021