Detail: The structure definition includes an initial slot for a type, so the length calculation should subtract 1 when using sizeof().
Attach a file by drag & drop or click to upload