{
"id":"db3ad780cffb42c595857c0590648317822130eb88505f04a07fd48c2afc6f7f",
"pubkey":"b8007c6bc9c52404182c324845d964db20ce0a83f2207624bc225592b8444366",
"created_at":1710596774,
"kind":1,
"tags": [
[
"t",
"retroprotip"
],
[
"proxy",
"https://bitbang.social/users/loadhigh/statuses/112105670242458956",
"activitypub"
]
],
"content":"Turbo C \"Huh?\" moment of the day: There's an implicitly defined `memset()` that compiles/links fine with *any* number of parameters.\n\nPass only two arguments (destination and value) and it'll overwrite an undefined number of bytes.\n\nThe solution is to a) of course not forget to include \"mem.h\" or \"string.h\" (because then you *do* get errors) and b) don't forget any arguments.\n\n#retroprotip\n\nhttps://files.bitbang.social/media_attachments/files/112/105/666/931/277/300/original/affbe6823287a4d5.mp4",
"sig":"d88875bd8fa02405478185889645d38aca68ad8a85d2dbf43eebe3b569e2704cec06a575f0bdd2746a763181ce43245b13934c5de48a343d709aa8c1bbe4a659"
}