GCLOSE(3G)
NAME
gclose − close the I/O path to the specified graphics device and release all resources assigned to that 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;
HP-UX COMPATIBILITY
Level: HP-UX/STANDARD
Origin: HP
DESCRIPTION
INPUT PARAMETERS
fildes
is an integer file descriptor returned by gopen when an I/O path to a graphic 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
Hewlett-Packard Company — May 11, 2021