char *XrmLocaleOfDatabase(database)
      XrmDatabase database;


database Specifies the resource database.


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, [email protected]