|
NAMEXmtCliFlush() - force pending XmtCli output to be displayed.SYNOPSIS#include <Xmt/Cli.h>
void XmtCliFlush(Widget w) ARGUMENTSINPUTS
DESCRIPTIONXmtCliFlush() 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 XmtNdisplayStderr resources. SEE ALSOChapter 21, Command Line Input,XmtCli, XmtCliClear(), XmtCliGets(), XmtCliPrintf(), XmtCli Puts().
Visit the GSP FreeBSD Man Page Interface. |