@brief Wait for an event on a single line. @param line GPIO line object. @param timeout Wait time limit. @return 0 if wait timed out, -1 if an error occurred, 1 if an event occurred.
See Implementation
@brief Wait for an event on a single line. @param line GPIO line object. @param timeout Wait time limit. @return 0 if wait timed out, -1 if an error occurred, 1 if an event occurred.