Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ disable_eve(3G) — HP-UX 5.50

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

await_event(3G)

enable_events(3G)

gopen(3G)

inquire_input_capabilities(3G)

set_signals(3G)

DISABLE_EVENTS(3G)

NAME

disable_events − disable events queuing from specified graphics input device

SYNOPSIS

C Syntax:

int disable_events(fildes,class,ordinal);
int fildes,class,ordinal;

FORTRAN77 Syntax:

integer*4 function disable_events(fildes,class,ordinal)
integer*4 fildes,class,ordinal

Pascal Syntax:

function disable_events(fildes,class,
ordinal:integer):integer;

DESCRIPTION

Input Parameters

fildes Integer file descriptor returned by gopen when an I/O path to a graphics device is opened. 

class One of the following device classes: LOCATOR, CHOICE or ALL.  The integer values assigned for these class designators are found in the Starbase include file used with your program. 

ordinal Logical device number ranging from 1 to the number of devices in the specified class.  LOCATOR and CHOICE devices have device-dependent ordinal values.  See inquire_input_capabilities for details.  If class equals ALL, then ordinal is ignored. 

Discussion

Disable_events disables the queuing of events in the Starbase event queue from the device specified by fildes, class, and ordinal.  A single event queue is used by all system graphics input devices.  The function returns 0 when successful. 

If class is set to ALL, ordinal is ignored and events are disabled for all logical devices specified by fildes. 

If the device is not initialized or does not exist, a non-zero function value is returned.  If the device was not enabled for events, nothing is done and the return value is 0, indicating success. 

This call does not cause flushing of the event queue. 

DEFAULTS

All devices are initially disabled for event generation. 

SEE ALSO

await_event(3G), enable_events(3G), gopen(3G), inquire_input_capabilities(3G),
set_signals(3G).

Hewlett-Packard Company  —  May 11, 2021

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