4.5.215. besRETURN_MEM(X,Y)

[<<<] [>>>]

Use this program to return a binary string value. The arguments of the macro should be a pointer to the binary string and the long length of the binary string.

The macro allocates the return string, copies the content of the string to the allocated space and returns from the function using the macro with no error (COMMAND_ERROR_SUCCESS).

If the return value can not be allocated the macro returns with COMMAND_ERROR_MEMORY_LOW.

The macro evaluates its argument twice.


[<<<] [>>>]