Query: xrmnametostring
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XrmNameToString() XrmNameToString()
Name
XrmNameToString - convert a quark to a string.
Synopsis
#define XrmNameToString(name) XrmQuarkToString(name)
char *XrmQuarkToString(quark)
XrmQuark quark;
Arguments
quark Specifies the quark for which the equivalent string is desired.
Returns
The string.
Description
XrmNameToString is an alias for XrmQuarkToString(). It returns the string for which the specified quark is serving as a shorthand symbol.
The quark was determined earlier using XrmStringToQuark or XrmStringToName(). The string pointed to by the return value must not be modi-
fied 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, XrmNameToString 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.
For more information, see Volume One, Chapter 13, Managing User Preferences.
Structures
typedef int XrmQuark;
See Also
XrmDestroyDatabase(), XrmGetFileDatabase(), XrmGetResource(), XrmGetStringDatabase(), XrmInitialize(), XrmMergeDatabases(), XrmParseCom-
mand(), XrmPutFileDatabase(), XrmPutLineResource(), XrmPutResource(), XrmPutStringResource(), XrmQGetResource(), XrmQGetSearchList(),
XrmQGetSearchResource(), XrmQPutResource(), XrmQPutStringResource(), XrmStringToBindingQuarkList(), XrmStringToQuarkList(), XrmStringTo-
Quark(), XrmUniqueQuark().
Xlib - Resource Manager XrmNameToString()
| Related Man Pages |
|---|
| xrmquarktostring(3) - debian |
| xrmquarktostring(3x11) - ultrix |
| xrmstringtoquark(3x11) - ultrix |
| xrmuniquequark(3x11) - ultrix |
| xrmquarktostring(3) - hpux |
| Similar Topics in the Unix Linux Community |
|---|
| How to list file size on HPUX? |
| PHP Man Pages Now Available (Over 10,000) |
| Sequence extraction |
| awk - Multi-line data to be stored in variable |
| Seeking Alternative for diff in hp |