XrmGetFileDatabase man page on HP-UX
[printable version]
XrmGetFileDatabase() XrmGetFileDatabase()
Name
XrmGetFileDatabase – retrieve a database from a file.
Synopsis
XrmDatabase XrmGetFileDatabase(filename)
char *filename;
Arguments
filename Specifies the resource database filename.
Returns
The database.
Description
XrmGetFileDatabase() opens the specified file, creates a new resource
database, and loads the database with the data read in from the file.
The return value of the function is as a pointer to the created data‐
base.
The specified file must contain lines in the format accepted by XrmPut‐
LineResource(). The file is parsed in the current locale and the data‐
base is created in the current locale. If XrmGetFileDatabase() cannot
open the specified file, it returns NULL.
For more information, see Volume One, Chapter 13, Managing User Prefer‐
ences.
Structures
XrmDatabase is a pointer to an opaque data type.
See Also
XrmDestroyDatabase(), XrmGetResource(), XrmGetStringDatabase(), XrmIni‐
tialize(), XrmMergeDatabases(), XrmParseCommand(), XrmPutFile‐
Database(), XrmPutLineResource(), XrmPutResource(), XrmPutStringRe‐
source(), XrmQGetResource(), XrmQGetSearchList(), XrmQGetSearchRe‐
source(), XrmQPutResource(), XrmQPutStringResource(), XrmQuark‐
ToString(), XrmStringToBindingQuarkList(), XrmStringToQuarkList(), Xrm‐
StringToQuark(), XrmUniqueQuark().
Xlib - Resource Manager XrmGetFileDatabase()
[top]
List of man pages available for HP-UX
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|