DXmCvtOStoCS(3X)DXmCvtOStoCS(3X)NAME
DXmCvtOStoCS - Converts a string in the operating-system-specific format to a compound string.
SYNOPSIS
XmString DXmCvtOStoCS(
Opaque os_string,
long *byte_count,
long *status );
PARAMETERS
A pointer to the input string. The number of bytes in the length of the output string. The status of the conversion procedure, indicated
by one of the following values:
-----------------------------------------------------------
Value Description
-----------------------------------------------------------
DXmCvtStatusOK The conversion was successful.
DXmCvtStatusDataLoss Data was lost during the conver-
sion.
DXmCvtStatusFail The conversion was not successful.
-----------------------------------------------------------
DESCRIPTION
The DXmCvtOStoCS routine converts a string in the operating-system-specific format to a compound string. The user must free the string by
using the Toolkit routine XmStringFree.
RETURN VALUES
A pointer to the compound string.
DXmCvtOStoCS(3X)
Check Out this Related Man Page
XmStringTableToXmString(library call) XmStringTableToXmString(library call)
NAME
XmStringTableToXmString -- A convenience function that converts a compound string table to a single compound string
SYNOPSIS
#include <Xm/Xm.h>
XmString XmStringTableToXmString(
XmStringTable table,
Cardinal count,
XmString break_component);
DESCRIPTION
XmStringTableToXmString takes as input table of compound strings and a specified string component (such as a tab) and returns a single com-
pound string consisting of each of the elements of table concatenated together with a single copy of break_component inserted between each
element.
table Specifies an XmStringTable containing the compound strings to be converted.
count Specifies the number of compound strings in table.
break_component
Specifies the XmStringComponent that will be inserted in the result to separate the individual elements of table. The most useful
types will be XmSTRING_COMPONENT_SEPARATOR and XmSTRING_COMPONENT_TAB. Refer to the XmStringComponentType(3) reference page for
a complete list of possible component types. Note, however, that the XmSTRING_COMPONENT_UNKNOWN component is not a possible type.
RETURN
Returns a new XmString. The function will allocate space to hold the returned compound string. When the application no longer needs the
returned compound string, the application should call XmStringFree.
RELATED XmString(3), XmStringComponentType(3), and XmStringFree(3).
XmStringTableToXmString(library call)
Hi Folks,
Today hasn't been the best one of my career in IT.
I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them.
At the... (3 Replies)