Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gclose(3G) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gopen(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 close the specified device and release all assigned resources regardless of errors detected. 

SEE ALSO

gopen(3G). 

Hewlett-Packard Company  —  May 11, 2021

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