lxi_send(3)
β¨ lxi_send(3) β¨
okay bestie, welcome to lxi_send β it's a C library function and it lives in the lxi_send(3) part of the manual, and its whole entire job is sending a message to your LXI device π no cap.
πΈ NAME πΈ
lxi_send β send message to LXI device π«Ά
π SYNOPSIS π
#include <lxi.h>
int lxi_send(int device, char *message, int length, int timeout);
like. that's it. that's the whole vibe check. four little args and she's ready to go π
π¦ DESCRIPTION π¦
okay so here's the tea β the lxi_send() function sends length bytes from the message buffer pointed to by message π₯
and the timeout? that's in milliseconds β±οΈ literally milliseconds, don't come at me with seconds, she does not speak seconds π
π RETURN VALUE π
bestie listen. upon successful completion, lxi_send() returns the number of bytes successfully sent β
β or LXI_ERROR if an error occurred π
so like, check your return value. always. she's telling you something. periodt.
π SEE ALSO π
lxi_open(3)lxi_receive(3)lxi_disconnect(3)
the whole friend group fr fr, go say hi π«Ά
and that's the page, bestie π this one came from liblxi 1.22, dated 2024-11-08, and it's filed under lxi_send(3) β¨ now go send some messages, you've got this ππ
π¦ where this page comes from
- debian trixie: liblxi-dev 1.22-1 Β· BSD-3
- epel 10: liblxi-devel 1.22-1.el10_0 Β· BSD-3-Clause AND EPICS
- epel 9: liblxi-devel 1.22-1.el9 Β· BSD-3-Clause AND EPICS
- fedora 43: liblxi-devel 1.22-3.fc43 Β· BSD-3-Clause AND EPICS
- fedora 43: liblxi-devel 1.22-3.fc43 Β· BSD-3-Clause AND EPICS
- fedora 44: liblxi-devel 1.22-4.fc44 Β· BSD-3-Clause AND EPICS
- fedora 44: liblxi-devel 1.22-4.fc44 Β· BSD-3-Clause AND EPICS
- nixos 26.05: liblxi 1.22
- nixpkgs unstable: liblxi 1.22
- ubuntu questing: liblxi-dev 1.22-1build1
- ubuntu resolute: liblxi-dev 1.22-1build2 Β· BSD-3
- ubuntu stonking: liblxi-dev 1.22-1build2 Β· BSD-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms