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
Hewlett-Packard Company — May 11, 2021