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

📄 xgeterrortext.html

📁 linux图形界面x liberary手册
💻 HTML
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XGetErrorText</TITLE></HEAD><BODY><H1 ALIGN=center>XGetErrorText</H1><H2>Syntax</H2><!.IN "XGetErrorText" "" "@DEF@"><!.IN "Debugging" "error message strings"><CODE><PRE>XGetErrorText(<B>display</B>, <B>code</B>, <B>buffer_return</B>, <B>length</B>)      Display *<B>display</B>;      int <B>code</B>;      char *<B>buffer_return</B>;      int <B>length</B>;</PRE></CODE><H2>Arguments</H2><TABLE><TR><TD> <B>display</B><TD> Specifies the connection to the X server.<TR><TD> <B>code</B><TD> Specifies the error code for which you want to obtain a description.<TR><TD> <B>buffer_return</B><TD> Returns the error description.<TR><TD> <B>length</B><TD> Specifies the size of the buffer.</TABLE><H2>Description</H2> The<B>XGetErrorText()</B>function copies a null-terminated string describing the specified error codeinto the specified buffer.The returned text is in the encoding of the current locale.It is recommended that you use this function to obtain an error descriptionbecause extensions to Xlib may define their own error codesand error strings.<H2>See also</H2><B><A HREF="XDisplayName.html">XDisplayName()</A></B>,<B><A HREF="XGetErrorDatabaseText.html">XGetErrorDatabaseText()</A></B>,<B><A HREF="../../display/opening.html">XOpenDisplay()</A></B>,<B><A HREF="XSetErrorHandler.html">XSetErrorHandler()</A></B>,<B><A HREF="XSetIOErrorHandler.html">XSetIOErrorHandler()</A></B>,<B><A HREF="XSynchronize.html">XSynchronize()</A></B>,"<A HREF="default-handlers.html">Using the Default Error Handlers</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 + -