[vala/staging] posix: Add strsignal(3) and psignal(3)
- From: Dr. Michael Lauer <mlauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] posix: Add strsignal(3) and psignal(3)
- Date: Sun, 11 Mar 2018 13:03:41 +0000 (UTC)
commit 4923f2a6c91e5e11464ce41ee2c8d9f3a4dcfc33
Author: Dr. Michael Lauer <mickey vanille-media de>
Date: Sun Mar 11 12:46:41 2018 +0100
posix: Add strsignal(3) and psignal(3)
vapi/posix.vapi | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 31d402d..3ff93d3 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1257,6 +1257,8 @@ namespace Posix {
[CCode (cheader_filename = "signal.h")]
public int raise (int signum);
[CCode (cheader_filename = "signal.h")]
+ public void psignal (int signum, string message);
+ [CCode (cheader_filename = "signal.h")]
public int sigemptyset (out sigset_t sigset);
[CCode (cheader_filename = "signal.h")]
public int sigfillset (out sigset_t sigset);
@@ -1396,6 +1398,8 @@ namespace Posix {
[CCode (cheader_filename = "string.h")]
public unowned string? strrchr (string s, int c);
[CCode (cheader_filename = "string.h")]
+ public unowned string? strsignal (int signum);
+ [CCode (cheader_filename = "string.h")]
public size_t strspn (string s1, string s2);
[CCode (cheader_filename = "string.h")]
public unowned string? strstr (string s1, string s2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]