Scroll to navigation

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

NAME

ibcnt - hold number of bytes transferred, or errno

SYNOPSIS

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

DESCRIPTION

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

Copyright © 2003-2006, 2008 Frank Mori Hess

11/28/2025 linux-gpib 4.3.7