Next: SDDS_GetValue
Up: Manual Pages
Previous: SDDS_GetRow
Contents
SDDS_GetTypeSize
- name:
SDDS_GetTypeSize
- description:
Returns the size of the data type in bytes.
- synopsis: #include "SDDS.h"
long SDDS_GetTypeSize(long sdds_type);
- arguments:
- sdds_type: The SDDS data type for which the size is wanted. Must be one of the constants (defined in SDDS.h) SDDS_DOUBLE, SDDS_FLOAT, SDDS_LONG, SDDS_SHORT, SDDS_CHARACTER, or SDDS_STRING
- return value:
On success, returns a positive integer giving the size of the data type in bytes. On failure, returns -1 and records an error message.
Robert Soliday
2006-06-29