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

# XmRenderTableCopy(3)

A render table function that copies renditions

## NAME

**XmRenderTableCopy** — A render table function that copies renditions

## SYNOPSIS

```
#include <Xm/Xm.h>
XmRenderTable XmRenderTableCopy(
XmRenderTable table,
XmStringTag *tags,
int tag_count);
```

## DESCRIPTION

**XmRenderTableCopy** creates a new render table which will contain the renditions of the *table* whose tags match those in *tags*.

- *table*

  Specifies the table containing the renditions to be copied.

- *tags*

  Specifies an array of tags, whose corresponding renditions are to be copied. NULL indicates that the complete table should be copied.

- *tag\_count*

  Specifies the number of tags in *tags*.

## RETURN

Returns NULL if *table* is NULL. Otherwise, this function returns the new render table. This function allocates space to hold the new render table. The application is responsible for managing this allocated space. The application can recover this allocated space by calling **XmRenderTableFree**.

## RELATED

[**XmRendition**(3)](/XmRendition/3.md) and [**XmRenderTableFree**(3)](/XmRenderTableFree/3.md).
