What does this do?Code:offsetof();
"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson
I want to point out that this is still C. The person you are replying to simply used a C++ reference site.
offsetof(3): offset of structure member - Linux man page
On the above linked page you will also see, among other information, what standards this conforms to: C89, C99, POSIX.
The reason you might not have encountered it would be it's not considered a beginner tool, i.e. it's reasonable you will write entire programs without it. I'm sure it's most common use is in the debugging area.