DMXQueryExtension(3)
π DMXQueryExtension(3) π
bestie welcome to the libdmx manual page for DMXQueryExtension β it's a Library Functions Manual situation, and honestly? she's short, she's sweet, she's the vibe check of the whole DMX world πΈ
β¨ NAME β¨
DMXQueryExtension β determine if DMX is available π¦
π SYNOPSIS π
#include <X11/extensions/dmxext.h>
Bool DMXQueryExtension(Display *dpy,
int *event_basep,
int *error_basep);
okay so you're pulling in <X11/extensions/dmxext.h> and then you call her with a Display *dpy and two lil int * pointers, event_basep and error_basep, and she hands you back a Bool. no cap, that's the whole signature π
π DESCRIPTION π
So DMXQueryExtension() literally determines if the DMX protocol extension is available π
And when is it available, you ask? It will be available if the server is an Xdmx(1) server. That's it. That's the whole condition. If your server is Xdmx(1), congrats bestie, DMX is in the building π«Ά If it's not... well. π
Think of it as the "are you even a DMX server" vibe check β one call, one answer, main character energy only β
π RETURN VALUE π
Here's the tea, and it's a two-branch situation:
- If the DMX protocol extension is available, then
event_basepanderror_basepwill be set to the event and error bases, respectively, andTruewill be returned β¨ - Otherwise,
Falsewill be returned π
so like, if you getFalse, don't go reading whatever's in those two ints, bestie β she only fills them in on theTruepath π
π¦ SEE ALSO π¦
Go be nosy, she wants you to:
and that's the page, periodt π
This one comes from X Version 11, libdmx 1.1.5, and it's filed under DMXQueryExtension(3) β tysm for reading, mwah ππβ¨
π¦ where this page comes from
- epel 10: libdmx-devel 1.1.5-5.el10_1 Β· MIT
- fedora 43: libdmx-devel 1.1.5-6.fc43 Β· MIT
- fedora 43: libdmx-devel 1.1.5-6.fc43 Β· MIT
- fedora 44: libdmx-devel 1.1.5-7.fc44 Β· MIT
- fedora 44: libdmx-devel 1.1.5-7.fc44 Β· MIT
- nixos 26.05: libdmx 1.1.5
- nixpkgs unstable: libdmx 1.1.5
- opensuse-leap 16.0: libdmx-devel 1.1.5-160000.3.2 Β· MIT
- opensuse-leap 16.0: libdmx-devel 1.1.5-160000.3.2 Β· MIT
- opensuse-leap 16.0: libdmx-devel 1.1.5-160000.3.2 Β· MIT
- opensuse-leap 16.0: libdmx-devel 1.1.5-160000.3.2 Β· MIT
- Copyright 2004 Red Hat Inc., Durham, North Carolina
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms