mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 00:08:30 +00:00
Write more tests and improve kill() on Windows
This commit is contained in:
parent
b81a1bd9a8
commit
d458642790
6 changed files with 183 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue