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

lxi_send - send message to LXI device

#include <lxi.h>

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

The lxi_send() function sends length bytes from the message buffer pointed to by message

The timeout is in milliseconds.

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

lxi_open(3), lxi_receive(3), lxi_disconnect(3),

October 2017