HPIB_ABORT(3D)
NAME
hpib_abort − stop activity on specified HP-IB bus
SYNOPSIS
int hpib_abort (eid);
int eid;
HP-UX COMPATIBILITY
Level: Device I/O Library − HP-UX/EXTENDED
Origin: HP
DESCRIPTION
Hpib_abort terminates activity on the addressed HP-IB bus by pulsing the IFC line. Eid is an entity identifier of an open HP-IB raw bus device file obtained from an open(2), dup(2), fcntl(2), or creat(2) call.
Hpib_abort also sets the REN line and clears the ATN line. The status of the SRQ line is not affected. The interface must be the system controller of the bus.
RETURN VALUE
Hpib_abort returns 0 (zero) if successful, or −1 if an error was encountered.
DIAGNOSTICS
Hpib_abort fails under the following circumstances, and sets errno (see errno(2)) to the value in square brackets:
eid does not refer to an open file [EBADF];
eid does not refer to an HP-IB raw bus device file [ENOTTY];
the specified interface is not the system controller [EIO].
Hewlett-Packard — last mod. May 11, 2021