InputDevice.read

Attempts to read dst.length bytes, see IInputDevice.read() documentation.

class InputDevice
ssize_t
read
(
void[] dst
)

Parameters

dst void[]

destination data buffer

Returns the number of bytes read and stored in dst on success, 0 on end-of- file condition or -1 on error. On error errno is set appropriately.

Meta