Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtMergeArgL(3x) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtFree(1)

XtSetArg(1)

 

NAME

XtMergeArgLists − merge two ArgList arrays. 

Synopsis

ArgList XtMergeArgLists(args1, num_args1, args2, num_args2)

    ArgList args1;
    Cardinal num_args1;
    ArgList args2;
    Cardinal num_args2;

Inputs

args1Specifies the first ArgList. 

num_args1Specifies the number of arguments in the first argument list. 

args2Specifies the second ArgList. 

num_args2Specifies the number of arguments in the second argument list. 

Returns

An allocated ArgList that contains both args1 and args2. 

Description

XtMergeArgLists() allocates a new ArgList large enough to hold args1 and args2 and copies both into it.  It does not check for duplicate entries.  When the new ArgList is no longer needed, the application program should free it with XtFree(). 

Structures

Arg is defined as follows:

typedef struct {
    String name;
    XtArgVal value;
} Arg, *ArgList;

See Also

XtFree(1), XtSetArg(1). 

Copyright O’Reilly & Assoc.  —  X Toolkit Intrinsics Reference Manual © O’Reilly & Associates

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026