Riley S. Faelan on Nostr: WTF. #include <stdlib.h> div_t div(register int numer, register int denom) { div_t d; ...
WTF.
#include <stdlib.h>
div_t div(register int numer, register int denom)
{
div_t d;
d.quot = numer / denom;
d.rem = numer % denom;
return(d);
}
div_t ? Really?
Published at
2024-06-05 16:20:51Event JSON
{
"id": "9ad92cc74a83eff943e841346d570fcb3e999b6e5c86f702185a84ff142585bb",
"pubkey": "9d7797897e00c4bccae9481f2b8df785bb0d13277f6a54be432a3c59e2b21c00",
"created_at": 1717604451,
"kind": 1,
"tags": [
[
"t",
"include"
],
[
"proxy",
"https://toot.cat/users/riley/statuses/112564925333828642",
"activitypub"
]
],
"content": "WTF.\n\n\n#include \u003cstdlib.h\u003e\n\ndiv_t div(register int numer, register int denom)\n{\n div_t d;\n\n d.quot = numer / denom;\n d.rem = numer % denom;\n return(d);\n}\n\n\n\ndiv_t ? Really?",
"sig": "e26f058f5f40d5e26a974e09870884855ecbe7149b7fc1f65d83dad00470ffc3be7bb57f84c189f27147cbb8941ca74e74f77b1cd7ba10c354932a7f2672dcda"
}