diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-03-17 14:04:09 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-03-17 14:04:09 -0700 |
commit | e8df5b5c42b4fae78d67cd62acc02daf306ec7e5 (patch) | |
tree | bcf6c70dd289bbd1f7d4aa2e46d683fbae335da3 /src | |
parent | 6470a3033d466c6b0a7bc58ef638da6513142bef (diff) | |
parent | 894cae2f02a24964841f807c75d93f5eee6059c2 (diff) |
Merge pull request #2228 from Daft-Freak/patch-1
Add stub for raise
Diffstat (limited to 'src')
-rw-r--r-- | src/library.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js index f7155e9d..e711ee98 100644 --- a/src/library.js +++ b/src/library.js @@ -6402,6 +6402,13 @@ LibraryManager.library = { siginterrupt: function() { throw 'siginterrupt not implemented' }, + raise__deps: ['$ERRNO_CODES', '__setErrNo'], + raise: function(sig) { + // TODO: + ___setErrNo(ERRNO_CODES.ENOSYS); + return -1; + }, + // ========================================================================== // sys/wait.h // ========================================================================== |