XMFONTLISTAPPENDENTRY(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

πŸ’– XmFontListAppendEntry πŸ’–

okay bestie, so this one lives in the Xm library calls section of the manual β€” it's XmFontListAppendEntry, and it's literally the "add one more thing to the font list" girlie. let's get into it πŸŽ€


✨ NAME ✨

XmFontListAppendEntry β€” a font list function that appends an entry to a font list πŸ¦‹


✨ SYNOPSIS ✨

#include <Xm/Xm.h>
XmFontList XmFontListAppendEntry(
XmFontList oldlist,
XmFontListEntry entry);

✨ DESCRIPTION ✨

so here's the tea: XmFontListAppendEntry creates a new font list that contains the contents of oldlist. and the way it does that? it copies the contents of the font list entry you're adding into this new font list. no sharing, no aliasing, just a lil copy. πŸ’…

and if oldlist is NULL? bestie it just creates a brand new font list containing only the single entry you specified. main character energy, honestly. ✨

🫢 important: this function deallocates the original font list after extracting the required information. so like, don't go using oldlist afterwards, okay? it's gone. periodt.

and ALSO: the caller must free the font list entry by using XmFontListEntryFree. that's on you, not on her. πŸ™ˆ

  • oldlist β€” specifies the font list to be added to
  • entry β€” specifies the font list entry to be added

✨ RETURN ✨

if entry is NULL, it returns oldlist. otherwise? it returns a new font list. slay. πŸ‘‘



okay that's the whole page, no cap. this one's from the Xm library calls manual β€” the XmFontListAppendEntry(library call) girlies know. go forth and append, bestie πŸ’œπŸŒΈ