POSIX Shared memory with struct

The POSIX shared memory sample is using a struct as a shared memory
segment