Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmcvtxmstringtobytestream(3) [hpux man page]

XmCvtXmStringToByteStream(library call) 								   XmCvtXmStringToByteStream(library call)

NAME
XmCvtXmStringToByteStream -- A compound string function that converts a compound string to a Byte Stream format SYNOPSIS
#include <Xm/Xm.h> unsigned int XmCvtXmStringToByteStream( XmString string, unsigned char **prop_return); DESCRIPTION
XmCvtXmStringToByteStream converts a compound string to a string of bytes representing the compound string in Byte Stream format. This routine is typically used by the source of a data transfer operation to produce a Byte Stream representation for transferring a compound string to a destination. If prop_return is not NULL, this function creates a string of characters in Byte Stream format and returns it in prop_return. The function also returns the number of bytes in prop_return. If prop_return is NULL, the function does not return the Byte Stream format string, but it does calculate and return the number of bytes that would appear in the Byte Stream format string. string Specifies a compound string to be converted to Byte Stream format prop_return Specifies a pointer to a string in Byte Stream format that is created and returned by this function. If prop_return is NULL, no Byte Stream format string is returned. When a Byte Stream format string is returned, the function allocates space to hold it. The application is responsible for managing this allocated space. The application can recover the allocated space by calling XtFree. RETURN
Returns the number of bytes in the Byte Stream representation (whether or not the Byte Stream representation is returned). RELATED
XmString(3) and XmCvtByteStreamToXmString(3). XmCvtXmStringToByteStream(library call)

Check Out this Related Man Page

XmCvtXmStringToByteStream(library call) 								   XmCvtXmStringToByteStream(library call)

NAME
XmCvtXmStringToByteStream -- A compound string function that converts a compound string to a Byte Stream format SYNOPSIS
#include <Xm/Xm.h> unsigned int XmCvtXmStringToByteStream( XmString string, unsigned char **prop_return); DESCRIPTION
XmCvtXmStringToByteStream converts a compound string to a string of bytes representing the compound string in Byte Stream format. This routine is typically used by the source of a data transfer operation to produce a Byte Stream representation for transferring a compound string to a destination. If prop_return is not NULL, this function creates a string of characters in Byte Stream format and returns it in prop_return. The function also returns the number of bytes in prop_return. If prop_return is NULL, the function does not return the Byte Stream format string, but it does calculate and return the number of bytes that would appear in the Byte Stream format string. string Specifies a compound string to be converted to Byte Stream format prop_return Specifies a pointer to a string in Byte Stream format that is created and returned by this function. If prop_return is NULL, no Byte Stream format string is returned. When a Byte Stream format string is returned, the function allocates space to hold it. The application is responsible for managing this allocated space. The application can recover the allocated space by calling XtFree. RETURN
Returns the number of bytes in the Byte Stream representation (whether or not the Byte Stream representation is returned). RELATED
XmString(3) and XmCvtByteStreamToXmString(3). XmCvtXmStringToByteStream(library call)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Stream Read And Write Queues

Is there any possibility that a Stream Read and Write queues will interchange messages of any kind. If so what are the different possiblites and under what circumstances ? Thanks in advance. (4 Replies)
Discussion started by: S.P.Prasad
4 Replies

2. UNIX for Advanced & Expert Users

Byte Rate to/from a source/destination

is there a command in unix/linux that allows you to sample what the historic byte rate is from a local IP to a client IP. (1 Reply)
Discussion started by: cubs0729
1 Replies

3. Programming

Printing out Byte in C

Hi all, Can anyone advise on how to display the data in a byte variable, i.e can i use printf("%s", vairable_name);? Cheers (2 Replies)
Discussion started by: dwgi32
2 Replies

4. UNIX for Dummies Questions & Answers

Number of Bits in the Byte

Char BYTE=0XFE... How can we find the number of Bits in this Byte? Thanks, Harika (4 Replies)
Discussion started by: harikamamidala
4 Replies

5. UNIX for Advanced & Expert Users

Advanced I/O

What is Stream Devices and Stream pipes? Explain Advanced I/O ? (1 Reply)
Discussion started by: thangappan
1 Replies

6. UNIX for Dummies Questions & Answers

Byte to BIT conversion

I have a varchar column which contains the data at ‘bit' level.the data needs to be extract / transform at bit level and this will contain a Boolean value - 0/1. How can we handle using shell scripts At source level(DB2 Database) we have a column of length 250 char ie varchar(250) so each char... (2 Replies)
Discussion started by: Codesearcher
2 Replies