Is this code correct? It runs as expected, but is this code correctly using the pointers and dot notation for the struct?
struct someStruct { unsigned int t
That's correct usage of the struct. There are questions about your return values.
Also, because you are printfing a unsigned int, you should use %u instead of %d.
%u
%d