Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gclose(3G) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gopen(3G)

make_picture_current(3G)

gclose(3G)

NAME

gclose − close I/O path and release all resources assigned to specified graphics device

SYNOPSIS

C Syntax:

int gclose(fildes);
int fildes;

FORTRAN77 Syntax:

integer*4 function gclose(fildes)
integer*4 fildes

Pascal Syntax:

function gclose(fildes : integer): integer;

DESCRIPTION

Input Parameters

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

Discussion

Gclose closes a graphic device opened with gopen. If successful, a value of 0 (zero) is returned. Otherwise, a value of −1 is returned and gerr is set to indicate the error. 

Gclose attempts to flush the Starbase buffer (like make_picture_current),
 close the specified device and release all assigned resources regardless of errors detected.

SEE ALSO

gopen(3G), make_picture_current(3G). 

Hewlett-Packard Company  —  HP-UX Release 9.10: April 1995

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