---
name: "XVaCreateNestedList"
section: "3x"
platform: "linux"
package: "libx11-dev"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/XVaCreateNestedList/3x"
---

# XVaCreateNestedList(3x)

allocate a nested variable argument list

## NAME

XVaCreateNestedList - allocate a nested variable argument list

## SYNTAX

typedef void \* XVaNestedList;

XVaNestedList XVaCreateNestedList(int *dummy*, ...);

## ARGUMENTS

- *dummy*

  Specifies an unused argument (required by ANSI C).

- ...

  Specifies the variable length argument list.

## DESCRIPTION

The *XVaCreateNestedList* function allocates memory and copies its arguments into a single list pointer, which may be used as a value for arguments requiring a list value. Any entries are copied as specified. Data passed by reference is not copied; the caller must ensure data remains valid for the lifetime of the nested list. The list should be freed using *XFree* when it is no longer needed.

## SEE ALSO

*Xlib - C Language X Interface*
