SCANDEVS(3spp)
NAME
scandevs − scan devices
SYNOPSIS
_scandevs()
DESCRIPTION
_scandevs scans open devices looking for pending input and checks the real-time clock for expiring timers. _scandevs also moves a pattern through the cpu board leds. _scandevs should be called periodically in code sequences where input may exceed the buffer capabilities of the hardware device or where "interrupt" characters from the console should take effect as soon as possible. Code that uses the set_timer(3spp) facilities should also call _scandevs periodically. The standalone io routines read (3spp) and write (3spp) call _scandevs frequently, so code that uses these routines often need not explicitly call _scandevs.