mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-25 12:00:31 +00:00
Auto-generate some documentation
This commit is contained in:
parent
117d0111ab
commit
13437dd19b
97 changed files with 2033 additions and 661 deletions
|
@ -26,8 +26,8 @@
|
|||
/**
|
||||
* Installs handler for kernel interrupt, e.g.:
|
||||
*
|
||||
* onctrlc(sig) { exit(128+sig); }
|
||||
* CHECK_NE(-1, xsigaction(SIGINT, onctrlc, SA_RESETHAND, 0, 0));
|
||||
* onctrlc(sig) { exit(128+sig); }
|
||||
* CHECK_NE(-1, xsigaction(SIGINT, onctrlc, SA_RESETHAND, 0, 0));
|
||||
*
|
||||
* @param sig can be SIGINT, SIGTERM, etc.
|
||||
* @param handler is SIG_DFL, SIG_IGN, or a pointer to a 0≤arity≤3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue