table of contents
other versions
- unstable 1.6.0-1
| MAT_SIZEOF(3) | Library Functions Manual | MAT_SIZEOF(3) |
NAME¶
Mat_SizeOf —
Returns the size in bytes of a matio data type.
SYNOPSIS¶
#include
<matio.h>
size_t
Mat_SizeOf(enum matio_types
data_type);
DESCRIPTION¶
The
Mat_SizeOf()
function returns the size in bytes associated with the matio data type
enumerator data_type. For example, it can be used to
size buffers for values described by MAT_T_DOUBLE or
MAT_T_UINT16.
RETURN VALUES¶
On success, the size in bytes for data_type is returned. If the type is not recognized, 0 is returned.
SEE ALSO¶
| April 23, 2026 | Nixpkgs |