carta
XFreeExtensionList(3)

XFreeExtensionList3

List available extensions

Part of XQueryExtension(3).

Usage

char **XListExtensions(display, nextensions_return)

Arguments

display

Specifies the connection to the X server.

name

Specifies the extension name.

major_opcode_return

Returns the major opcode.

first_event_return

Returns the first event code, if any.

first_error_return

Returns the first error code, if any.

nextensions_return

Returns the number of extensions listed.

list

Specifies the list of extension names.

Overview

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-dependent.

The XFreeExtensionList function frees the memory allocated by XListExtensions.

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie)
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)
  • Debian 4.0 (Etch)

From libx11 1.8.14-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.