Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hpib_atn_ct(3I) — HP-UX 7.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

HPIB_ATN_CTL(3I)  —  Series 300 Only

NAME

hpib_atn_ctl − control the Attention line on HP-IB

SYNOPSIS

int hpib_atn_ctl (eid, flag);
int eid, flag;

DESCRIPTION

Hpib_atn_ctl  enables/disables the Attention (ATN) line  depending  upon  the  value of flag.  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.  Flag is an integer which, if non-zero, enables the ATN line, and otherwise disables it. 

RETURN VALUE

Hpib_atn_ctl  returns 0 (zero) if  successful,  or −1 if an error was encountered. 

ERRORS

Hpib_atn_ctl 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 interface is not the active controller or a timeout occurred. 

AUTHOR

Hpib_atn_ctl was developed by the Hewlett-Packard Company. 

Hewlett-Packard Company  —  HP-UX Release 7.0: Sept 1989

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