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:
Jacek Sieka 2017-05-16 20:45:10 +08:00 • committed by Dominik Picheta
commit 797301ace8
5 changed files with 27 additions and 2 deletions

View file

@ -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)