FreeBSD Manual Pages
XmtCliFlush(3) Library Functions Manual XmtCliFlush(3) NAME XmtCliFlush() - force pending XmtCli output to be displayed. SYNOPSIS #include <Xmt/Cli.h> void XmtCliFlush(Widget w) ARGUMENTS INPUTS w The XmtCli widget that is to have its output ``flushed''. DESCRIPTION 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 XmtNdisplayStderr resources. SEE ALSO Chapter 21, Command Line Input, XmtCli, XmtCliClear(), XmtCliGets(), XmtCliPrintf(), XmtCli Puts(). Xmt Motif Tools XmtCliFlush(3)
NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XmtCliFlush&sektion=3&manpath=FreeBSD+Ports+15.0>
