Is it possible to get the struct
info (that is, the keys) of any struct? Or is required that you go to the manual page to read up what the actual structure is for that object. Take the following example:
struct stat stats;
stat(filepath, &stats);
printf("Size: %lld\n", stats.st_size);
Is it possible to do something like stats.keys()
, or whatever a potentially equivalent operation would be to see the inner structure of a struct
?