close_segment(3G)
NAME
close_segment − close the currently open segment
SYNOPSIS
C Syntax:
void close_segment(fildes)
int fildes;
FORTRAN77 Syntax:
subroutine close_segment(fildes)
integer*4 fildes
Pascal Syntax:
procedure close_segment(fildes:integer);
DESCRIPTION
Input Parameters
fildes Integer file descriptor returned by gopen when an I/O path to a graphics device is opened.
Discussion
Close_segment closes the currently open segment of the specified graphics device. If there is no segment open in the specified display list, no error is generated.
ERRORS
1 Graphics device is not initialized for this operation.
SEE ALSO
Hewlett-Packard Company — HP-UX Release 9.03: April 1994