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

NAME

       AsyncIbsta - ibsta value for last asynchronous I/O operation

SYNOPSIS

       #include <gpib/ib.h>

       int AsyncIbsta(void);

DESCRIPTION

       AsyncIbsta() returns a thread-local status value related to the global variable ibsta. 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 AsyncIbsta() is easier to interpret than ThreadIbsta(), 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).

       Only the status bits END | ERR | TIMO | CMPL are valid in the returned status byte. The rest of the bits
       should be ignored and will be set to zero.

       This function is a Linux-GPIB extension.

RETURN VALUE

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

COPYRIGHT

       Copyright © 2003-2006, 2008 Frank Mori Hess

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