Function sc_tdc_pipe_read2¶
Defined in File scTDC.h
Function Documentation¶
-
ssize_t sc_tdc_pipe_read2(const int dd, void *buffer, size_t buffer_size_bytes, unsigned timeout)¶
Read tdc events from the pipe.
Hint: Prefer the USER_CALLBACKS pipe for development of new applications, which replaces usage of this function.
- Parameters
dd – Device descriptor.
buffer – Space for events.
buffer_size_bytes – Size of the buffer in bytes.
timeout – Timeout in milliseconds.
- Returns
ssize_t Amount of bytes were copied to the buffer or error code.