---
name: "X11::Protocol::Ext::XC_MISC"
section: "3pm"
platform: "linux"
package: "perl-x11-protocol"
version: "0.56-18"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/X11::Protocol::Ext::XC_MISC"
---

# X11::Protocol::Ext::XC\_MISC(3pm)

Perl module for the X11 Protocol XC-MISC Extension

## NAME

X11::Protocol::Ext::XC\_MISC - Perl module for the X11 Protocol XC-MISC Extension

## SYNOPSIS

```
  use X11::Protocol;
  $x = X11::Protocol->new();
  $x->init_extension('XC-MISC');
```

## DESCRIPTION

This module is used by the programmer to pre-acquire large numbers of X resource IDs to be used with the X11::Protocol module.

If supported by the server, X11::Protocol will load this module automatically when additional resource IDs are needed via the standard **new\_rsrc()** interface.  However, if you anticipate that a program will run for a long time and allocate many resources, it would be a good idea to initialize the extension at startup to verify its existence.

## REQUESTS

This extension adds three requests, called as shown below:

```
  $x->XCMiscGetVersion => ($major, $minor)
  $x->XCMiscGetXIDRange => ($start_id, $count)
  $x->XCMiscGetXIDList($count) => ($count, @ids)
```

## AUTHOR

Jay Kominek \<jay.kominek@colorado.edu\>.

## SEE ALSO

[**perl**(1)](/perl/1.md), X11::Protocol, *XC-MISC Extension (X Consortium Standard)*.
