---
name: "XmFontListAppendEntry"
section: "3"
platform: "linux"
package: "openmotif"
version: "2.3.8-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XmFontListAppendEntry"
---

# XmFontListAppendEntry(3)

A font list function that appends an entry to a font list

## 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

**XmFontListAppendEntry** creates a new font list that contains the contents of *oldlist*. This function copies the contents of the font list entry being added into this new font list. If *oldlist* is NULL, **XmFontListAppendEntry** creates a new font list containing only the single entry specified.

This function deallocates the original font list after extracting the required information. The caller must free the font list entry by using **XmFontListEntryFree**.

- *oldlist*

  Specifies the font list to be added to

- *entry*

  Specifies the font list entry to be added

## RETURN

If *entry* is NULL, returns *oldlist*; otherwise, returns a new font list.

## RELATED

[**XmFontList**(3)](/XmFontList/3.md), [**XmFontListEntryCreate**(3)](/XmFontListEntryCreate/3.md), [**XmFontListEntryFree**(3)](/XmFontListEntryFree/3.md), [**XmFontListEntryLoad**(3)](/XmFontListEntryLoad/3.md), [**XmFontListFree**(3)](/XmFontListFree/3.md), and [**XmFontListRemoveEntry**(3)](/XmFontListRemoveEntry/3.md).
