foreground(3G) — Silicon Graphics
NAME
foreground − keeps a graphical process in the foreground
SPECIFICATION
C
foreground()
FORTRAN
subroutine foregr
Pascal
procedure foreground
DESCRIPTION
Call foreground before calling winopen or getport. It keeps the process in the foreground, so that you can interact with it from the keyboard. winopen normally runs a process in the background. When the process is in the foregound, it interacts in the usual way with the UNIX input/output routines.
SEE ALSO
getport, winopen Using mex , Chapter 2, Programming with mex
NOTE
This routine is available only in immediate mode.
Version 3.6 — December 20, 1987