Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sample_choi(3G) — HP-UX 5.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

request_choice(3g)

SAMPLE_CHOICE(3G)

NAME

sample_choice − returns the current choice value. 

SYNOPSIS

C SYNTAX

void sample_choice(fildes,ordinal,valid,value);
int fildes,ordinal,*valid,*value;

FORTRAN77 SYNTAX

        subroutine sample_choice(fildes,ordinal,
        valid,value)
        integer*4 fildes,ordinal,valid,value

PASCAL SYNTAX

procedure sample_choice(fildes,ordinal:integer;
var valid,value:integer);

HP-UX COMPATIBILITY

Level: HP-UX/STANDARD

Origin: ANSI Computer Graphics Interface

DESCRIPTION

INPUT PARAMETERS

fildes
is an integer file descriptor returned by gopen when an I/O path to a graphics device is opened. 
ordinal
a logical device number ranging from 1 to number of devices of this class.

OUTPUT PARAMETERS

valid
is set to TRUE (1) if a valid choice was returned, FALSE (0) otherwise.
value
is set to the current choice value.

DISCUSSION

Sample_choice returns the current value of the choice device specified by fildes and ordinal.  This is the equivalent of a non-blocking read. 

SEE ALSO

request_choice(3g). 

Hewlett-Packard  —  last mod. May 11, 2021

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