Manual Reference Pages - XMTCLIFLUSH (3)
XmtCliFlush() - force pending XmtCli output to be
void XmtCliFlush(Widget w)
The XmtCli widget that is to have its output
XmtCliFlush() checks any file descriptors that the specified
XmtCli widget is monitoring, and if data is available for
reading, causes that data to be displayed in the widget.
If an XmtCli widget is monitoring a pipe or socket with the
XmtNfildes resource or has redirected the standard output or
standard error streams with XmtNdisplayStdout or
XmtNdisplayStderr, then it normally monitors these file descriptors with
XtAppAddInput(). This means that the widget will only detect
and display any output to these sockets when the application
returns to the event loop. If an application needs to force
output to be displayed, or will be doing a lot of computation
before returning to the event loop, it can use XmtCliFlush()
to force any output to be displayed immediately.
Note that any output written to the XmtCli widget with
XmtCliPuts() and XmtCliPrintf() is always displayed immediately,
and never needs to be flushed with XmtCliFlush(). You will
never need to use this function unless you have set one or
more of the XmtNfildes, XmtNdisplayStdout, and
Chapter 21, Command Line Input,
XmtCli, XmtCliClear(), XmtCliGets(), XmtCliPrintf(), XmtCli
|Xmt ||XMTCLIFLUSH (3) ||Motif Tools |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.