call_segment(3G)
NAME
call_segment − insert a call to a segment into the currently open segment
SYNOPSIS
C Syntax:
void call_segment(fildes, segno)
int fildes, segno;
FORTRAN77 Syntax:
subroutine call_segment(fildes, segno)
integer*4 fildes, segno
Pascal Syntax:
procedure call_segment(fildes, segno:integer);
DESCRIPTION
Input Parameters
fildes Integer file descriptor returned by gopen when an I/O path to a graphics device is opened.
segno Name of the called segment. Can be any integer value.
Discussion
Call_segment inserts a call_segment element containing a call to the specified segno into the currently open segment of the specified graphics device.
If the called segment does not exist an empty segment with the specified name, segno, is created.
ERRORS
1 Graphics device is not initialized for this operation.
24 Segment not open.
SEE ALSO
cond_call_segment(3G), cond_execute_segment(3G),
execute_segment(3G), open_segment(3G)
Hewlett-Packard Company — HP-UX Release 9.0: August 1992