read_usec


Description:

[ Version ( since = "1.18" ) ]
public Result read_usec (uint8 data, uint size, int64 timeout)

Attempt to read size bytes into data from the connected this, blocking up to the specified timeout.

timeout can be 0, in which case this function might block forever.

This function can be cancelled with flush.

Parameters:

this

a Connection

data

the data to read

size

the size of data

timeout

a timeout value in microseconds

Returns:

OK on success.




2022 vala-language.org