long long drms_segment_size ( DRMS_Segment_t seg,
int *  status 
)

Returns the total size of the seg data array, in bytes (product of the number of data elements and size of the datatype). If the segment data type is DRMS_TYPE_STRING, the size returned is only the number of data elements times the size of an address. So, for the DRMS_TYPE_STRING datatype, this function probably does not provide the desired information.

Parameters:
seg DRMS segment whose data size is being estimated.
status DRMS status (see drms_statuscodes.h). 0 if successful, non-0 otherwise.
Returns:
The esimated data size, in bytes.

Definition at line 480 of file drms_segment.c.


Generated on Mon Mar 26 07:00:50 2018 for JSOC_Documentation by  doxygen 1.5.7.1