4 ms·
I love your simple demonstration of strace reverse engineering a UNIX command. Probably a very silly question but I get this compile error? mywho.c:8:13: error:
by peter_retief 6y ago
I love your simple demonstration of strace reverse engineering a UNIX command.
Probably a very silly question but I get this compile error?
mywho.c:8:13: error: use of undeclared identifier 'LC_ALL'
setlocale(LC_ALL, "");
I should solve it myself but since you are here?
- forgotpwd16 6y agoNot the author as I had the same issue, add `#include <locale.h>` after the other headers.
- peter_retief 6y agoThanks for the help! It works!