Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtAppGEDB(Xt) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XtAppGetErrorDatabase(Xt)      6 January 1993      XtAppGetErrorDatabase(Xt)
                          X Version 11 (Release 5)


 Name

    XtAppGetErrorDatabase - obtain error database or message

 Syntax


    XrmDatabase *XtAppGetErrorDatabase (app_context)
    XtAppContext app_context;

    void XtAppGetErrorDatabaseText (app_context, name, type, class, default,
                                    buffer_return, nbytes, database)
    XtAppContext app_context;
    String name, type, class;
    String default;
    String buffer_return;
    int nbytes;
    XrmDatabase database;


 Arguments

    appcontext
              Specifies the application context.

    bufferreturn
              Specifies the buffer into which the error message is to be
              returned.

    class     Specifies the resource class of the error message.

    database  Specifies the name of the alternative database that is to be
              used or NULL if the application's database is to be used.

    default   Specifies the default message to use.

    name,
    type      Specifies the name and type that are concatenated to form the
              resource name of the error message.

    nbytes    Specifies the size of the buffer in bytes.

 Description

    The XtAppGetErrorDatabase function returns the address of the error data-
    base.  The Intrinsics do a lazy binding of the error database and do not
    merge in the database file until the first call to XtAppGetErrorData-
    baseText.

    The XtAppGetErrorDatabaseText returns the appropriate message from the
    error database or returns the specified default message if one is not
    found in the error database.

 See also

    XtAppError(Xt) and XtAppErrorMsg(Xt).

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


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