msiBytesBufToStr ( msParam_t *  buf_msp,
msParam_t *  str_msp,
ruleExecInfo_t *  rei 
)
Description:
Writes a bytesBuf_t into a character string
Module:
core
Since:
3.3
Author:
Arcot Rajasekar
Date:
2013-06-10
Remarks:
This may blow up if the buffer is not a character string. so be careful
Note:
The string can have length up to BUF_LEN_MS_T
Example Usage:

testrule||msiBytesBufToStr(*Buff, *St)#writeLine(stdout,*St)|nop ruleExecOut

Parameters:
[in] buf_msp - a BUF_LEN_MS_T
[out] str_msp - a STR_MS_T
[in,out] rei - The RuleExecInfo structure that is automatically handled by the rule engine. The user does not include rei as a parameter in the rule invocation.
Session Variables Used:
none
Session Variables Modified:
none
iCAT Attributes Used:
none
iCAT Attributes Modified:
none
Side Effect:
none
Returns:
integer
Return values:
0 on success
Precondition:
none
Postcondition:
none
See also:
none
Bug:
no known bugs

Definition at line 1501 of file nre.systemMS.c.

Generated on Sat Nov 16 22:18:04 2013 for iRODS Documentation by  doxygen 1.6.3