pdcomm_secs_info
Function
Reads the format, element count, and size of an item.
PdcommStatus pdcomm_secs_info(const PdcommSecsItem *handle, PdcommSecsInfo *info)Parameters
| Name | Description |
|---|---|
handle | Live item. |
info | Caller storage. Set info->struct_size to sizeof(PdcommSecsInfo) or larger before the call; on success every field is written and struct_size is set to the size written. |
Returns
#PDCOMM_OK on success; #PDCOMM_INVALID_ARGUMENT when handle or info is NULL or info->struct_size is too small; #PDCOMM_INTERNAL_ERROR when a panic was contained.
Notes
- Thread safety: read calls on the same item may run concurrently.