xcb_xf86dri_g...t_driver_name(3)
π xcb_xf86dri_get_client_driver_name β bestie edition π
okay so this is a page from section 3 of the manual (that's the library-calls section, iykyk), and it's one of the XCB Requests. It's been sitting in libxcb 1.17.0 on X Version 11 this whole time and honestly? nobody ever gave it a glow-up. so here we are. π¦
β¨ NAME β¨
xcb_xf86dri_get_client_driver_name β and thenβ¦ literally a dash. that's it. that's the description. the manpage authors said "no thoughts, head empty" and left us a lonely little -. iconic behaviour, honestly. π
πΈ SYNOPSIS πΈ
First things first, you gotta let the compiler know:
#include <xcb/xf86dri.h>
π Request function π
xcb_xf86dri_get_client_driver_name_cookie_t
xcb_xf86dri_get_client_driver_name(xcb_connection_t *conn,
uint32_t screen);
π Reply datastructure π
not me being obsessed with a struct. look at her:
typedef struct xcb_xf86dri_get_client_driver_name_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint32_t client_driver_major_version;
uint32_t client_driver_minor_version;
uint32_t client_driver_patch_version;
uint32_t client_driver_name_len;
uint8_t pad1[8];
} xcb_xf86dri_get_client_driver_name_reply_t;
π Reply function π
xcb_xf86dri_get_client_driver_name_reply_t
*xcb_xf86dri_get_client_driver_name_reply(xcb_connection_t *conn,
xcb_xf86dri_get_client_driver_name_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors π
char *xcb_xf86dri_get_client_driver_name_client_driver_name(const
xcb_xf86dri_get_client_driver_name_request_t *reply);
int xcb_xf86dri_get_client_driver_name_client_driver_name_length(const
xcb_xf86dri_get_client_driver_name_reply_t *reply);
xcb_generic_iterator_t
xcb_xf86dri_get_client_driver_name_client_driver_name_end(const
xcb_xf86dri_get_client_driver_name_reply_t *reply);
π«Ά REQUEST ARGUMENTS π«Ά
connβ the XCB connection to X11. your lil phone line to the server, basically. πscreenβ TODO: NOT YET DOCUMENTED. yeah bestie, the manpage itself is leaving us on read. π
π REPLY FIELDS π
response_typeβ the type of this reply, which in this case isXCB_XF86DRI_GET_CLIENT_DRIVER_NAME. this field is also chilling insidexcb_generic_reply_t, and you use it to tell your replies apart from each other. it's giving name-tag energy. π·οΈsequenceβ the sequence number of the last request processed by the X11 server. β¨lengthβ the length of the reply, measured in words. and a word here is 4 bytes, no cap. πclient_driver_major_versionβ TODO: NOT YET DOCUMENTED. π«client_driver_minor_versionβ TODO: NOT YET DOCUMENTED. π«client_driver_patch_versionβ TODO: NOT YET DOCUMENTED. π«client_driver_name_lenβ TODO: NOT YET DOCUMENTED. π«
four whole TODOs in one structβ¦ the lore is simply not there yet. don't make stuff up about them, okay? we respect the mystery. π₯
π DESCRIPTION π
β¦and that's it. that's the section. it's empty. the DESCRIPTION has no description. main character with no backstory, we love that for her. π
π RETURN VALUE π
So it returns an xcb_xf86dri_get_client_driver_name_cookie_t. πͺ
Errors? You handle those when you call the reply function xcb_xf86dri_get_client_driver_name_reply.
But if you'd rather handle errors in the event loop instead, use xcb_xf86dri_get_client_driver_name_unchecked. See xcb-requests(3) for the details, bestie. β¨
π ERRORS π
This request does never generate any errors. periodt. flawless, error-free, unbothered. π
π₯ SEE ALSO π₯
(also empty. the manpage is really out here giving minimalism. nothing to link, nothing to see, no cap. π¦)
π§ AUTHOR π§
Generated from xf86dri.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. (yes, they want your feedback. they're literally asking. go say hi. π«Ά)
that's the whole page, babe β X Version 11, libxcb 1.17.0, and the header title xcb_xf86dri_g...t_driver_name(3) up top in case you need to cite her. mwah. πβ¨πΈ
π¦ where this page comes from
- alpine 3.22: libxcb-doc 1.17.0-r0 Β· MIT
- alpine 3.23: libxcb-doc 1.17.0-r1 Β· MIT
- alpine 3.24: libxcb-doc 1.17.0-r2 Β· MIT
- arch rolling: libxcb 1.17.0-1 Β· X11
- centos-stream 10: libxcb-devel 1.17.0-3.el10 Β· X11
- debian trixie: libxcb-doc 1.17.0-2
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- nixpkgs unstable: libxcb 1.17.0
- opensuse-leap 16.0: libxcb-devel-doc 1.17.0-160000.2.2 Β· MIT
- ubuntu questing: libxcb-doc 1.17.0-2build1
- ubuntu resolute: libxcb-doc 1.17.0-2ubuntu1
- ubuntu stonking: libxcb-doc 1.17.0-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms