3 ms·I would write something like: void someFunction( void* pvMyStruct ) { myStruct_s* myStruct = pvMyStruct;by cpeterso 15y agoI would write something like: void someFunction( void* pvMyStruct ) { myStruct_s* myStruct = pvMyStruct;blahedo 15y agoPlease explain why this is better.cpeterso 15y agoThe name "pvMyStruct" implies intention and suggests to the reader that the function parameter is a MyStruct pointer disguised as a void pointer. The name "data" does not provide any hints.