Provided by: libgpib-doc_4.3.7-5_all bug

NAME

       AsyncIberr - iberr value for last asynchronous I/O operation

SYNOPSIS

       #include <gpib/ib.h>

       int AsyncIberr(void);

DESCRIPTION

       AsyncIberr() returns a thread-local error number related to the global variable iberr. Its value
       corresponds to the result of the last asynchronous I/O operation resynchronized to the current thread by
       an ibwait or ibstop call. This function only reflects the result of the asynchronous I/O operation itself
       and not, for example, the ibwait which resynchronized the asynchronous result to the current thread. Thus
       the result from AsyncIberr() is easier to interpret than ThreadIberr(), since it is unambiguous whether
       the value is associated with the asynchronous I/O result, or with the function call used to resynchronize
       (ibwait or ibstop).

       This function is a Linux-GPIB extension.

RETURN VALUE

       A value related to iberr corresponding to the last asynchronous I/O operation resynchronized to the
       current thread is returned.

COPYRIGHT

       Copyright © 2003-2006, 2008 Frank Mori Hess

linux-gpib 4.3.7                                   11/28/2025                                      ASYNCIBERR(3)