XMFONTLISTENTRYFREE(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

✨ NAME ✨

XmFontListEntryFree β€” a font list function that recovers memory used by a font list entry πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

#include <Xm/Xm.h>
void XmFontListEntryFree(
XmFontListEntry *entry);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay bestie so XmFontListEntryFree does exactly one job and she does it well: she recovers the memory used by a font list entry ✨ like, she's the cleanup crew, the little fairy that comes in after the party and takes the trash out 🧚

⚠️ but listen β€” this routine does not free the XFontSet or XFontStruct associated with the font list entry. those are a whole separate situation, do not come for them, she is not touching them, no cap πŸ’€
  • entry β€” Specifies a pointer to the font list entry to be freed. πŸ‘‘ also!! it may be necessary to take the address of the font list entry (via the & operator) before passing it to this function. so like… sometimes you gotta hand her the pointer-to-the-pointer, not just the pointer. the way that & operator is doing the most for no reason 😭


and that's the whole page, bestie 🫢 this was XmFontListEntryFree(library call) β€” she's a library call, she's iconic, she's free (the entry is freed, not the fonts, remember, don't be messy) πŸ’… so yeah, same name up top, same name at the bottom, the manpage ate and left no crumbs 🌸⭐