GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmtCliFlush(3) FreeBSD Library Functions Manual XmtCliFlush(3)

XmtCliFlush() - force pending XmtCli output to be displayed.

#include <Xmt/Cli.h>

void XmtCliFlush(Widget w)

INPUTS
w
The XmtCli widget that is to have its output ``flushed''.

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.

Chapter 21, Command Line Input,
XmtCli, XmtCliClear(), XmtCliGets(), XmtCliPrintf(), XmtCli Puts().
Motif Tools Xmt

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.