ThreadIbcnt and ThreadIbcntl

Name

ThreadIbcnt and ThreadIbcntl -- thread-specific ibcnt and ibcntl values

Synopsis

#include <gpib/ib.h>

int ThreadIbcnt(void);

long ThreadIbcntl(void);

Description

ThreadIbcnt() and ThreadIbcntl() return thread-local versions of the global variables ibcnt and ibcntl.

Return value

The value of ibcnt or ibcntl corresponding to the last 'traditional' or 'multidevice' function called in the current thread is returned.