lxi_send(3)

πŸ“¦
version 1.22 Β· 4 versions
, in debian trixie, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 🌈

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