DOKK / manpages / debian 12 / liblxi-dev / lxi_send.3.en
lxi_send(3) C Library Functions 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),

2022-09-28 liblxi 1.18