#include <gpib/ib.h>
int ThreadIbcnt(void);
int ThreadIbcnt
long ThreadIbcntl(void);
long ThreadIbcntl
ThreadIbcnt() and ThreadIbcntl() return thread-local versions of the global variables ibcnt and ibcntl.
The value of ibcnt or ibcntl corresponding to the last 'traditional' or 'multidevice' function called in the current thread is returned.