Clearer compilation process.
Simplify an #ifdef that was making clang-format and my code editor sweat.
Automatic formatting.
Standardize.
Provide necessary headers. Replace gets() with fgets().
Fix format specifiers.
Ignore backup files.
Simplify an #ifdef that was making clang-format and my code editor sweat.
Automatic formatting.
Standardize.
Fix format specifiers.
Include string.h to get strlen() prototype.
Comment out calls to deprecated sigblock().

I think I don't have to replace them with sigprocmask(), because due to the signal(..., SIG_IGN) calls, the signals will be ignored - delivered or not.
Simplify #ifdefs that make clang-format and my code editor sweat.
Automatic formatting.
Standardize.
Silence some warnings.
Simplify an #ifdef that makes clang-format and my code editor sweat.
Automatic formatting.
Comment out calls to deprecated sigblock().

I think I don't have to replace them with sigprocmask(), because due to the signal(..., SIG_IGN) calls, the signals will be ignored - delivered or not.