3 ms·
> if (!chk_add(&x, a, b)) { > /* error! */ > } does it return non-zero on success???
by heywhatupboys 4y ago
> if (!chk_add(&x, a, b)) {
> /* error! */
> }
does it return non-zero on success???
- EdSchouten 4y agoIt returns a boolean.
- tinglymintyfrsh 4y agoThey're using a bool, so it violates the old-school C paradigm used for library calls. This is more of a macro rather than a syscall or standard library function call.