summary refs log tree commit diff stats
path: root/lib/posix/posix.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/posix/posix.nim')
-rw-r--r--lib/posix/posix.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim
index b96e88b6c..3059f88dc 100644
--- a/lib/posix/posix.nim
+++ b/lib/posix/posix.nim
@@ -2374,6 +2374,10 @@ proc pthread_sigmask*(a1: cint, a2, a3: var Sigset): cint {.
 proc `raise`*(a1: cint): cint {.importc, header: "<signal.h>".}
 proc sigaction*(a1: cint, a2, a3: var Sigaction): cint {.
   importc, header: "<signal.h>".}
+
+proc sigaction*(a1: cint, a2: var Sigaction; a3: pointer = nil): cint {.
+  importc, header: "<signal.h>".}
+
 proc sigaddset*(a1: var Sigset, a2: cint): cint {.importc, header: "<signal.h>".}
 proc sigaltstack*(a1, a2: var Stack): cint {.importc, header: "<signal.h>".}
 proc sigdelset*(a1: var Sigset, a2: cint): cint {.importc, header: "<signal.h>".}
t;rumpf_a@web.de> 2010-10-25 23:49:48 +0200 bugfix: typo in SMTP module; SCGI module finished' href='/ahoang/Nim/commit/.gitignore?h=devel&id=1dd9ec85b28335baae23d1e8d7bdb00a74c16cbf'>1dd9ec85b ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24