XrmLocaleOfDatabase

Syntax

char *XrmLocaleOfDatabase(database)
      XrmDatabase database;

Arguments

database Specifies the resource database.

Description

The XrmLocaleOfDatabase() function returns the name of the locale bound to the specified database, as a null-terminated string. The returned locale name string is owned by Xlib and should not be modified or freed by the client. Xlib is not permitted to free the string until the database is destroyed. Until the string is freed, it will not be modified by Xlib.

See also

XrmDestroyDatabase(), XrmGetDatabase(), XrmGetFileDatabase(), XrmGetResource(), XrmGetStringDatabase(), XrmInitialize(), XrmPutFileDatabase(), XrmPutResource(), XrmSetDataBase(), "Creating and Storing Databases"
Christophe Tronche, ch@tronche.com