!= check on struct datatype

ingdemurtas:
Why I don't find memcmp() in the arduino reference?

Because it is not an Arduino function but part of the standard C library,
which is documented (for AVR) on the AVR Libc Home Page.

And I bet Google would point to a couple of other maybe better descriptions.