XrmCombineFileDatabase man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XrmCombineFileDatabase()			      XrmCombineFileDatabase()

Name
  XrmCombineFileDatabase  – combine the contents of a resource file and a
  resource database.

Synopsis
  Status XrmCombineFileDatabase(filename, target_db, override)
	  char *filename;
	  XrmDatabase *target_db;
	  Bool override;

Arguments
  filename  Specifies the name of the resource file.

  target_db Specifies the address of the resource database with which the
	    resource file is to be combined.

  override  Specifies  whether	resources  from	 the file should override
	    matching resources in the database.

Returns
  Zero on failure, non-zero on success.

Availability
  Release 5 and later.

Description
  XrmCombineFileDatabase() merges the contents of a resource file into	a
  database.   If the same resource specifier is used for an entry in both
  the file and the database, the entry in the file will replace the entry
  in  the  database if override is True; otherwise, the entry in the file
  is discarded.

  If target_db points to a NULL database,  XrmCombineFileDatabase()  cre‐
  ates	a  new database, reads the file into it and stores this new data‐
  base	     at	      the	location       pointed	     to	       by
  target_db.   Otherwise,  the	database  pointed  to by target_db is not
  destroyed by the merge.

  If the file cannot be read a zero status is returned; otherwise a  non-
  zero status is returned.

  The  file  is	 parsed	 in the current locale.	 The database entries are
  merged without changing values or types, regardless of  the  locale  of
  the database, and the locale of the target database is not modified.

See Also
  XrmCombineDatabase(), XrmMergeDatabases().

Xlib - Resource Manager				      XrmCombineFileDatabase()
[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]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net