add back SIG_IGN, SIG_DFL and friends to posix.nim (#5820)
* add back SIG_IGN, SIG_DFL and friends to posix.nim
accidentally wiped by ce86b4ad78
* move deprecated sig_hold after consts include
This commit is contained in:
parent
224eec595a
commit
797301ace8
5 changed files with 27 additions and 2 deletions
|
|
@ -399,6 +399,9 @@ const SS_ONSTACK* = cint(1)
|
|||
const SS_DISABLE* = cint(2)
|
||||
const MINSIGSTKSZ* = cint(2048)
|
||||
const SIGSTKSZ* = cint(8192)
|
||||
const SIG_DFL* = cast[Sighandler](0)
|
||||
const SIG_ERR* = cast[Sighandler](-1)
|
||||
const SIG_IGN* = cast[Sighandler](1)
|
||||
|
||||
# <sys/ipc.h>
|
||||
const IPC_CREAT* = cint(512)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue