mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-02 17:28:30 +00:00
Perform minor fixups
One of those fixups is making sure that AF_LOCAL is equal to AF_UNIX on the New Technology. See #122
This commit is contained in:
parent
83d0c3b870
commit
807706a099
14 changed files with 76 additions and 134 deletions
|
@ -26,9 +26,10 @@
|
|||
/**
|
||||
* Changes program signal blocking state, e.g.:
|
||||
*
|
||||
* sigset_t oldmask;
|
||||
* sigprocmask(SIG_BLOCK, &kSigsetFull, &oldmask);
|
||||
* sigprocmask(SIG_SETMASK, &oldmask, NULL);
|
||||
* sigset_t neu,old;
|
||||
* sigfillset(&neu);
|
||||
* sigprocmask(SIG_BLOCK, &neu, &old);
|
||||
* sigprocmask(SIG_SETMASK, &old, NULL);
|
||||
*
|
||||
* @param how can be SIG_BLOCK (U), SIG_UNBLOCK (/), SIG_SETMASK (=)
|
||||
* @param set is the new mask content (optional)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue