📄 xfetchbytes.html
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XFetchBytes</TITLE></HEAD><BODY><H1 ALIGN=center>XFetchBytes</H1><H2>Syntax</H2><!.IN "XFetchBytes" "" "@DEF@"><CODE><PRE>char *XFetchBytes(<B>display</B>, <B>nbytes_return</B>) <A HREF="../display/opening.html#Display">Display</A> *<B>display</B>; int *<B>nbytes_return</B>;</PRE></CODE><H2>Arguments</H2><TABLE><TR><TD> <B>display</B><TD> Specifies the connection to the X server.<TR><TD> <B>nbytes_return</B><TD> Returns the number of bytes in the buffer.</TABLE><H2>Description</H2>The<B>XFetchBytes()</B>functionreturns the number of bytes in the nbytes_return argument,if the buffer contains data.Otherwise, the functionreturns NULL and sets nbytes to 0.The appropriate amount of storage is allocated and the pointer returned.The client must free this storage when finished with it by calling<B><A HREF="../display/XFree.html">XFree()</A></B>.<H2>See also</H2><B><A HREF="XFetchBuffer.html">XFetchBuffer()</A></B>,<B><A HREF="XRotateBuffers.html">XRotateBuffers()</A></B>,<B><A HREF="XStoreBuffer.html">XStoreBuffer()</A></B>,<B><A HREF="XStoreBytes.html">XStoreBytes()</A></B>,"<A HREF="using-cut-buffers.html">Using Cut Buffers</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 + -