XtVaCreateArgsList(3x)

XtVaCreateArgsList3x

Dynamically allocate a varargs list

Usage

XtVarArgsList XtVaCreateArgsList(XtPointer unused, ...);

Arguments

unused

Must be specified as NULL.

...

Specifies a variable parameter list of resource name and value pairs.

Overview

The XtVaCreateArgsList function allocates memory and copies its arguments into a single list pointer, which may be used with XtVaNestedList. The end of both lists is identified by a name entry containing NULL. Any entries of type XtVaTypedArg are copied as specified without applying conversions. Data passed by reference (including Strings) are not copied, only the pointers themselves; the caller must ensure that the data remain valid for the lifetime of the created varargs list. The list should be freed using XtFree when no longer needed.

Releases

8 releases since Debian 1.1 (Buzz); the text changed 4 times.

  1. 1.1
  2. 1.2
  3. 1.3–2.2
  4. 3.0
  5. 3.1

From libxt-dev 4.3.0.dfsg.1-14sarge7 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.