Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtAppGetErrorDatabaseText(3Xt) — BSD/386 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtAppError(3Xt)

XtAppErrorMsg(3Xt)

FUNCTIONSXtAppGetErrorDatabase(3Xt)



XtAppGetErrorDatabase(3Xt) XT FUNCTIONSXtAppGetErrorDatabase(3Xt)


NAME
       XtAppGetErrorDatabase, XtAppGetErrorDatabaseText - obtain
       error database

SYNTAX
       XrmDatabase *XtAppGetErrorDatabase(appcontext)
            XtAppContext appcontext;

       void XtAppGetErrorDatabaseText(appcontext, name, type,
       class, default, bufferreturn, nbytes, database)
              XtAppContext appcontext;
              char *name, *type, *class;
              char *default;
              char *bufferreturn;
              int nbytes;
              XrmDatabase database;

ARGUMENTS
       appcontext
                 Specifies the application context.

       bufferreturn
                 Specifies the buffer into which the error mes-
                 sage is to be returned.

       class     Specifies the resource class of the error mes-
                 sage.

       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 concate-
                 nated 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 database.  The Intrinsics do a lazy binding of
       the error database and do not merge in the database file
       until the first call to XtAppGetErrorDatbaseText.

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

SEE ALSO
       XtAppError(3Xt), XtAppErrorMsg(3Xt)
       X Toolkit Intrinsics - C Language Interface



X Version 11                Release 3                           1




XtAppGetErrorDatabase(3Xt) XT FUNCTIONSXtAppGetErrorDatabase(3Xt)


       Xlib - C Language X Interface
























































X Version 11                Release 3                           2


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