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

XrmStringToQuark()					    XrmStringToQuark()

Name
  XrmStringToQuark,  XrmStringToName, XrmStringToClass, XrmStringToRepre‐
  sentation – convert a string to a quark.

Synopsis
  XrmQuark XrmStringToQuark(string)
	  char *string;

     #define  XrmStringToName(string)  XrmStringToQuark(string)	  #define
     XrmStringToClass(string) XrmStringToQuark(string) #define XrmString‐
     ToRepresentation(string) XrmStringToQuark(string)

Arguments
  string    Specifies the string for which a quark is to be allocated.

Returns
  The quark.

Description
  XrmStringToQuark() returns a quark that will	represent  the	specified
  string.   If the string is not in the Host Portable Character Encoding,
  the conversion is implementation-dependent.  Since string is copied, it
  may be freed.	 XrmQuarkToString() performs the inverse function.

  A  quark  is an integer representation of a string.  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 presently rep‐
  resented by integers, comparing quarks is trivial.

  The macros XrmStringToName(), XrmStringToClass(), and XrmStringToRepre‐
  sentation() provide alternate names for XrmStringToQuark().  They  help
  document  when  a  name,  class,  or representation (as opposed to some
  other type of string) is being converted into a quark.

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

Structures
     typedef int XrmQuark;

See Also
  XrmQGetResource(),	 XrmQGetSearchList(),	 XrmQGetSearchResource(),
  XrmQPutResource(),  XrmQPutStringResource(),	XrmQuarkToString(),  Xrm‐
  StringToBindingQuarkList(), XrmStringToQuarkList(), XrmUniqueQuark().

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