Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hpib_ppoll_(3D) — HP-UX 5.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

hpib_ppoll(3D)

hpib_card_ppoll_resp(3D)

HPIB_PPOLL_RESP_CTL(3D)

NAME

hpib_ppoll_resp_ctl − Define interface parallel poll response

SYNOPSIS

int hpib_ppoll_resp_ctl (eid, response)
int eid, response;

HP-UX COMPATIBILITY

Level: Device I/O Library − HP-UX/EXTENDED

Origin: HP

DESCRIPTION

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_ppoll_resp_ctl defines a response to be sent when an active controller performs a parallel poll on an HP-IB interface. The value of response indicates whether this computer does or does not need service. A non-zero response value indicates that service is required. This statement only sets up a potential response; no actual response if generated when the statement is executed.  The sense of the response and the line number to respond on are set by hpib_card_ppoll_resp(3) or by the active controller. 

RETURN VALUE

Hpib_ppoll_resp_ctl returns 0 if the response is successfully set, or -1 if an error has occured. 

DIAGNOSTICS

Hpib_ppoll_resp_ctl fails under the following situations, 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 a raw HP-IB device file [ENOTTY]

SEE ALSO

hpib_ppoll(3D), hpib_card_ppoll_resp(3D)
 
 
 

Hewlett-Packard  —  last mod. May 11, 2021

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