Toot

Written by Christian Brauner 🦊🐺 on 2024-09-09 at 14:38

IOW, if I did:

struct foo meh = {

   .nr_entries = 1234,

   .p = some_array;

   .q = some_other_array;

};

can I rely on that no being undefined behavior. I think C11 guarantees this type punning.

=> More informations about this toot | View the thread | More toots from brauner@mastodon.social

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113108103987084069
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
225.649644 milliseconds
Gemini-to-HTML Time
0.694559 milliseconds

This content has been proxied by September (ba2dc).