⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xsync.html

📁 linux图形界面x liberary手册
💻 HTML
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XSync</TITLE></HEAD><BODY><H1 ALIGN=center>XSync</H1><!.IN "XSync" "" "@DEF@"><H2>Syntax</H2><CODE><PRE>XSync(<B>display</B>, <B>discard</B>)      <A HREF="../display/opening.html#Display">Display</A> *<B>display</B>;      Bool <B>discard</B>;</PRE></CODE><H2>Arguments</H2><TABLE><TR><TD> <B>display</B><TD> Specifies the connection to the X server.<TR><TD> <B>discard</B><TD> Specifies a Boolean value that indicates whether <B>XSync()</B>discards all events on the event queue.</TABLE><H2>Description</H2>The<B>XSync()</B>functionflushes the output buffer and then waits until all requests have been receivedand processed by the X server.Any errors generated must be handled by the error handler.For each protocol error received by Xlib,<B>XSync()</B>calls the client application's error handling routine (see "<A HREF="protocol-errors/default-handlers.html">Using the Default Error Handlers</A>").Any events generated by the server are enqueued into the library's event queue.<P>Finally, if you passed <B>False</B>,<B>XSync()</B>does not discard the events in the queue.If you passed <B>True</B>,<B>XSync()</B>discards all events in the queue,including those events that were on the queue before<B>XSync()</B>was called.Client applications seldom need to call<B>XSync()</B>.<H2>See also</H2><B><A HREF="XEventsQueued.html">XEventsQueued()</A></B>,<B><A HREF="XFlush.html">XFlush()</A></B>,<B><A HREF="XPending.html">XPending()</A></B>,"<A HREF="">Handling the Output Buffer</A>"<HR><ADDRESS><A HREF="http://tronche.com/">Christophe Tronche</A>, <A HREF="mailto:ch.tronche@computer.org">ch.tronche@computer.org</A></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -