Write more tests and improve kill() on Windows

This commit is contained in:
Justine Tunney 2023-10-13 02:22:48 -07:00
parent b81a1bd9a8
commit d458642790
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
6 changed files with 183 additions and 13 deletions

View file

@ -29,7 +29,13 @@
#include "libc/str/str.h"
/**
* Prints miniature crash report.
* Prints miniature crash report, e.g.
*
* struct sigaction sa = {
* .sa_sigaction = __minicrash,
* .sa_flags = SA_SIGINFO | SA_RESETHAND,
* };
* sigaction(SIGSEGV, &sa, 0);
*
* This function may be called from a signal handler to print vital
* information about the cause of a crash. Only vital number values