System Interface Guide

poll(2)

When you prefer to poll devices rather than to depend on a SIGIO interrupt, use poll(2). You can also poll to determine the origin of a SIGIO interrupt.