Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hpib_abort(3I) — HP-UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

HPIB_ABORT(3I)  —  HP-UX

NAME

hpib_abort − stop activity on specified HP-IB bus

SYNOPSIS

int hpib_abort (eid);
int eid;

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. 

ERRORS

Hpib_abort fails under the following circumstances, and sets errno (see errno(2)) to the value in square brackets:

­[EBADF] eid does not refer to an open file. 

­[ENOTTY] eid does not refer to an HP-IB raw bus device file. 

­[EIO] the specified interface is not the system controller. 

DEPENDENCIES

Series 300:
The HP 98625A/B HP-IB interface does not clear the ATN line. 

AUTHOR

Hpib_abort was developed by the Hewlett-Packard Company. 

Hewlett-Packard Company  —  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026