XGetErrorText man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XGetErrorText()						       XGetErrorText()

Name
  XGetErrorText – obtain a description of error code.

Synopsis
  XGetErrorText(display, code, buffer_return, length)
	Display *display;
	int code;
	char *buffer_return;
	int length;

Arguments
  display   Specifies	a  connection  to  an  X  server;  returned  from
	    XOpenDisplay().

  code	    Specifies the error code for  which	 you  want  to	obtain	a
	    description.

  buffer_return
	    Returns the error description text. You allocate this memory.

  length    Specifies the size of the buffer.

Description
  XGetErrorText()  obtains  textual  descriptions  of errors.  XGetError‐
  Text() copies a NULL-terminated string describing the	 specified  error
  code	into  the specified buffer with length length.	The returned text
  is in the encoding of the current locale.  This string is  copied  from
  static data and therefore may be freed.  This routine allows extensions
  to the Xlib library to define their own error codes and  error  strings
  that can be accessed easily.

  For more information, see Volume One, Chapter 3, Basic Window Program.

See Also
  XDisplayName(),  XGetErrorDatabaseText(),  XSetAfterFunction(), XSetEr‐
  rorHandler(), XSetIOErrorHandler(), XSynchronize().

Xlib - Error Handling					       XGetErrorText()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net