DOKK / manpages / debian 10 / liblxi-dev / lxi_receive.3.en
lxi_send(3) Library Functions Manual lxi_send(3)

lxi_receive - receive message from LXI device

#include <lxi.h>

int lxi_receive(int device, char *message, int length, int timeout);

The . lxi_receive() function receives up to length bytes in the message buffer pointed to by message

The timeout is in milliseconds.

Upon successful completion lxi_receive() returns the number of bytes successfully received, or LXI_ERROR if an error occurred.

lxi_open(3), lxi_send(3), lxi_disconnect(3),

October 2017