The SEDRIS Data Representation Model
APPENDIX D - Functions
SE FuncSubtract
extern SE_DRM_Status_Code
SE_FuncSubtract
(
constSE_Literal_Fields *a_ptr,1
constSE_Literal_Fields *b_ptr,2
SE_Literal_Fields *result_out_ptr3
);

Definition

Subtracts the value in b_ptr from the value in a_ptr, places the result in result_out_ptr.


Returns

SE_DRM_STAT_CODE_SUCCESS and *result_out_ptr is set appropriately, if valid parameters were passed in and all operations succeeded.
SE_DRM_STAT_CODE_NULL_REQUIRED_PARAMETER and *result_out_ptr is left unchanged, if any of the parameters are NULL.
SE_DRM_STAT_CODE_FAILURE and *result_out_ptr is left unchanged, if a_ptr or b_ptr contains an invalid value field for this operation.

Parameters Notes

1 pointer to the first operand

2 pointer to the second operand

3 pointer to the result


Prev: SE_FuncNotEqual. Next: SE_GeneralClassCount. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS