@brief Set the direction of a single GPIO line to output.
@param line GPIO line object.
@param value The logical value output on the line.
@return 0 is the operation succeeds. In case of an error this routine
returns -1 and sets the last error number.
@brief Set the direction of a single GPIO line to output. @param line GPIO line object. @param value The logical value output on the line. @return 0 is the operation succeeds. In case of an error this routine returns -1 and sets the last error number.