MirBSD manpage: XtVaCreateArgsList(3)


XtVaCreateArgsList(3Xt)   XT FUNCTIONS    XtVaCreateArgsList(3Xt)

NAME

     XtVaCreateArgsList - dynamically allocate a varargs list

SYNTAX

     XtVarArgsList XtVaCreateArgsList(XtPointer unused, ...);

ARGUMENTS

     unused    Must be specified as NULL.

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

DESCRIPTION

     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 XtVa-
     TypedArg are copied as specified without applying conver-
     sions. 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.

SEE ALSO

     X Toolkit Intrinsics - C Language Interface
     Xlib - C Language X Interface

XFree86                   Version 4.5.0                         1

Generated on 2021-12-07 11:07:08 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.