XrmQuarkToString 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]

XrmQuarkToString()					    XrmQuarkToString()

Name
  XrmQuarkToString – convert a quark to a string.

Synopsis
  char *XrmQuarkToString(quark)
	  XrmQuark quark;

Arguments
  quark	    Specifies  the  quark  for	which  the  equivalent	string is
	    desired.

Returns
  The string.

Description
  XrmQuarkToString() returns the string for which the specified quark  is
  serving  as a shorthand symbol.  The quark was earlier set to represent
  the string by XrmStringToQuark().  The string pointed to by the  return
  value must not be modified or freed, because that string is in the data
  structure used by the resource manager for  assigning	 quarks.   If  no
  string exists for that quark, XrmQuarkToString() returns NULL.

  Since	 the  resource	manager needs to make many comparisons of strings
  when it gets data from the database, it is more  efficient  to  convert
  these strings into quarks, and to compare quarks instead.  Since quarks
  are represented by integers, comparing quarks is trivial.

  The three #define statements in the Structures section provide an extra
  level	 of  abstraction.   They define macros so that names, classes and
  representations can also be represented as quarks.

  For more information, see Volume One, Chapter 13, Managing User Prefer‐
  ences.

Structures
     typedef int XrmQuark;

     /* macro definitions from <X11/Xresource.h> */

     #define XrmNameToString(name) XrmQuarkToString(name)
     #define XrmClassToString(class) XrmQuarkToString(class)
     #define XrmRepresentationToString(type) XrmQuarkToString(type)

See Also
  XrmDestroyDatabase(),	 XrmGetFileDatabase(),	XrmGetResource(), XrmGet‐
  StringDatabase(),  XrmInitialize(),  XrmMergeDatabases(),  XrmParseCom‐
  mand(),  XrmPutFileDatabase(),  XrmPutLineResource(), XrmPutResource(),
  XrmPutStringResource(),     XrmQGetResource(),     XrmQGetSearchList(),
  XrmQGetSearchResource(),   XrmQPutResource(),	 XrmQPutStringResource(),
  XrmStringToBindingQuarkList(),   XrmStringToQuarkList(),   XrmStringTo‐
  Quark(), XrmUniqueQuark().

Xlib - Resource Manager					    XrmQuarkToString()
[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