how to get a size_t for a struct in c code example
Example 1: what is size_t in c
/*
The datatype size_t is unsigned integral type.
It represents the size of any object in bytes and is returned by the
sizeof operator.
It can never be negative.
*/
Example 2: which library include size_t in C
#include <stddef.h>