IBEOS(3)
β¨ IBEOS(3) β¨
okay bestie, pull up a chair π this one lives in the Traditional API Functions section of the manual, and it's genuinely such a lil cutie. lowkey one of my faves.
πΈ NAME πΈ
ibeos β set end-of-string mode (board or device)
like. that's it. that's the whole job. and she does it flawlessly π
π SYNOPSIS π
#include <gpib/ib.h>
int ibeos(int ud, int eosmode);
two ints in, one int out. the way that this is the simplest signature ever and yet does so much?? iconic behavior fr fr β¨
π¦ DESCRIPTION π¦
so ibeos() sets the end-of-string character and the end-of-string mode. two-for-one, we love a multitasker π«Ά
here's the tea: the least significant 8 bits of eosmode are the eos character itself. that's your actual character, just vibing in the bottom 8 bits.
and THEN, you can also bitwise-or one or more of these bits on top to set the mode. yes, one or more, you can stack them, go off π
Table 7. End-of-String Mode Bits
REOSβ value0x400β Enable termination of reads when eos character is received. (aka: she hears the eos char and is like "ok done reading, bye" π)XEOSβ value0x800β Assert the EOI line whenever the eos character is sent during writes.BINβ value0x1000β Match eos character using all 8 bits (instead of only looking at the 7 least significant bits). (no more squinting at just 7 bits, we're going full 8 π)
π RETURN VALUE π
The value of ibsta is returned.
that's the whole return value. no drama, no surprises, just ibsta hands you the receipts π
π COPYRIGHT π
Copyright Β© 2003-2006, 2008 Frank Mori Hess
and that's the page bestie!! π the vibe was very much linux-gpib 4.3.7, dated 07/06/2026, and honestly? she ate. periodt π β¨π¦
π¦ where this page comes from
- ubuntu stonking: libgpib-doc 4.3.7-6 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms