Skip to content
Start free evaluation

pdcomm_secs_info

Function

Reads the format, element count, and size of an item.

PdcommStatus pdcomm_secs_info(const PdcommSecsItem *handle, PdcommSecsInfo *info)

Declared in: #include <pdcomm.h>

Parameters

NameDescription
handleLive item.
infoCaller 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.