[ref] add PERROR macro
commit37ab1418b07893eb7bd44cb469bdc8c551ad41ba
authorafify <hassan@afify.dev>
Sun, 6 Jun 2021 14:32:13 +0000 (6 17:32 +0300)
committerafify <hassan@afify.dev>
Sun, 6 Jun 2021 14:32:13 +0000 (6 17:32 +0300)
tree938b45191891a38a52beb63b37b669419dbfc708
parent15adffc609a2d55b816d7720f85198d3e92e5629
[ref] add PERROR macro

- convert if (exp) {print_error(strerror(errno));} to macro
sfm.c
util.h