xcb_free_pixmap(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… xcb_free_pixmap β€” the "bye bestie" button for pixmaps

okay so real talk, this is xcb_free_pixmap(3), part of the XCB Requests fam, and it does exactly one thing: it destroys a pixmap. that's it. that's the whole vibe. ✨


🌸 NAME 🌸

xcb_free_pixmap β€” Destroys a pixmap 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <xcb/xproto.h>

✨ Request function ✨

xcb_void_cookie_t xcb_free_pixmap(xcb_connection_t *conn,
       xcb_pixmap_t pixmap);

πŸ¦‹ REQUEST ARGUMENTS πŸ¦‹

  • conn β€” The XCB connection to X11. your lil hotline to the server, lowkey the main character here πŸ’œ
  • pixmap β€” The pixmap to destroy. yes queen, this is the one getting evicted 😭

πŸ‘‘ DESCRIPTION πŸ‘‘

Deletes the association between the pixmap ID and the pixmap. periodt. πŸ’…

The pixmap storage will be freed when there are no more references to it. so like, the ID link is gone immediately, but the actual memory is out here waiting for its last reference to leave the group chat before it dips. no cap. πŸ¦‹


🌈 RETURN VALUE 🌈

Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop. it's giving "i'll tell you later, don't text me first" energy πŸ™ˆ

If you want to handle errors directly with xcb_request_check instead, use xcb_free_pixmap_checked. See xcb-requests(3) for details. iykyk ✨


πŸ’€ ERRORS πŸ’€

  • xcb_pixmap_error_t β€” The specified pixmap does not exist. bestie... it was never there. the vibe check failed fr fr 😭

πŸ“ SEE ALSO πŸ“


πŸ’– AUTHOR πŸ’–

Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. (they're literally so sweet for that 🫢)


and that's the whole page, bestie!! you just read the entire xcb_free_pixmap(3) manpage and honestly? iconic. go forth and free ur pixmaps responsibly πŸ’…βœ¨

X Version 11 Β· libxcb 1.17.0 Β· xcb_free_pixmap(3) β€” mwah, stan, bye πŸ‘‘πŸŒˆ