Show HN: Sabotage your C code(github.com) |
Show HN: Sabotage your C code(github.com) |
`p = (errno = SABOTAGE) ? NULL : malloc(size);`
Is this a typo in README, or does it actually assign and then check?
errno = SABOTAGE; // 0 or ENOMEM
p = errno ? NULL : malloc(size);
but this would have made the preprocessor code a bit trickier.