GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


       XQueryExtension,  XListExtensions,  XFreeExtensionList - list available


       Bool      XQueryExtension(display,      name,      major_opcode_return,
              first_event_return, first_error_return)

       char **XListExtensions(display, nextensions_return)



       display   Specifies the connection to the X server.

       name      Specifies the extension name.

                 Returns the major opcode.

                 Returns the first event code, if any.

                 Returns the first error code, if any.

                 Returns the number of extensions listed.

       list      Specifies the list of extension names.


       The  XQueryExtension  function  determines  if  the  named extension is
       present.  If the extension  is  not  present,  XQueryExtension  returns
       False;  otherwise,  it  returns  True.   If  the  extension is present,
       XQueryExtension  returns  the  major  opcode  for  the   extension   to
       major_opcode_return;  otherwise, it returns zero.  Any minor opcode and
       the request formats are specific to the extension.   If  the  extension
       involves additional event types, XQueryExtension returns the base event
       type code to first_event_return; otherwise, it returns zero. The format
       of  the events is specific to the extension.  If the extension involves
       additional error codes, XQueryExtension returns the base error code  to
       first_error_return;   otherwise,   it  returns  zero.   The  format  of
       additional data in the errors is specific to  the  extension.   If  the
       extension  name  is  not  in  the  Host Portable Character Encoding the
       result is implementation-dependent.  Uppercase  and  lowercase  matter;
       the  strings  ``thing'',  ``Thing'',  and  ``thinG'' are all considered
       different names.

       The XListExtensions function returns a list of all extensions supported
       by  the  server.  If  the  data  returned by the server is in the Latin
       Portable Character Encoding, then the returned strings are in the  Host
       Portable  Character  Encoding. Otherwise, the result is implementation-

       The  XFreeExtensionList  function  frees  the   memory   allocated   by

  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to
Page load time: 0.112 seconds. Last modified: November 04 2018 12:49:43.