Man page - ibcnt(3)

Packages contas this manual

Manual

IBCNT(3) Linux-GPIB Reference IBCNT(3)

ibcnt - hold number of bytes transferred, or errno

#include <gpib/ib.h>
volatile int ibcnt;
volatile long ibcntl;

ibcnt and ibcntl are set after IO operations to the the the number of bytes sent or received. They are also set to the value of errno after EDVR or EFSO errors.

If you wish to avoid using a global variable, you may instead use ThreadIbcnt() or ThreadIbcntl() which return thread-specific values.

Copyright © 2003-2006, 2008 Frank Mori Hess

11/30/2025 linux-gpib 4.3.7