TipcMsgUpdateNamedReal16Array


Name

TipcMsgUpdateNamedReal16Array — update a field containing an array of REAL16 fields in a message with new data

Synopsis

T_BOOL TipcMsgUpdateNamedReal16Array(msg, name, value, size) 
T_IPC_MSG msg; 
T_STR name; 
T_REAL16 *value; 
T_INT4 size; 

Arguments

msg — message to update field in

name — name of the field

value — value of the field

size — number of elements in the field

Return Values

TRUE if the update was successful, FALSE otherwise.

Diagnostics

If TipcMsgUpdateNamedReal16Array fails, it returns FALSE and sets the global SmartSockets error number to one of:

Description

TipcMsgUpdateNamedReal16Array updates a field containing an array of REAL16 fields in a message, associating that field with a name.

Not all platforms fully support the REAL16 type. While some platforms can manipulate them as uninterpreted bytes, they can neither manipulate nor interpret them as numbers.

See Also

TipcMsgAddNamedReal16Array, TipcMsgGetNamedReal16Array

Examples

This example changes the value of the named field "data":

T_REAL16 *data; 
T_INT4 size; 
if (!TipcMsgUpdateNamedReal16Array(msg, "data", data, size)) { 
  return;  /* error */ 
} 

TIBCO SmartSockets™ Application Programming Interface
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com