TipcMsgGetNamedReal16 get a field with a REAL16 value from a message, using a name
T_BOOL TipcMsgGetNamedReal16(msg
,name
,value_return
) T_IPC_MSGmsg
; T_STRname
; T_REAL16 *value_return
;
msg
message to append field onto
name
name of the field
value_return
pointer to value of the field
TRUE
if the get was successful, FALSE
otherwise.
If TipcMsgGetNamedReal16 fails, it returns FALSE
and sets the global SmartSockets error number to:
TipcMsgGetNamedReal16 gets the field specified by the name. The function fails if:
If TipcMsgGetNamedReal16 returns FALSE
, it does not store a value in value_return
.
Do not modify the value in value_return
. It points directly into an internal data structure.
![]() |
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.
|
TipcMsgAddNamedReal16, TipcMsgUpdateNamedReal16, TipcMsgNextReal16
This example gets a REAL16 field from an existing message:
T_IPC_MSG msg; T_BOOL status; T_REAL16 value; status = TipcMsgGetNamedReal16(msg, "foo", &value); if (status == FALSE) {
return
; /* error */
}
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |