diff options
author | Charlie Birks <admin@daftgames.net> | 2014-03-17 19:05:39 +0000 |
---|---|---|
committer | Charlie Birks <admin@daftgames.net> | 2014-03-17 19:05:39 +0000 |
commit | 894cae2f02a24964841f807c75d93f5eee6059c2 (patch) | |
tree | b96226e22901dc349aa1c29fce8dd7258fce1448 /src | |
parent | a3d91774559fab5c78bbf88aaecc03176788267d (diff) |
Set errno and return -1
Diffstat (limited to 'src')
-rw-r--r-- | src/library.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js index 0de863ae..e711ee98 100644 --- a/src/library.js +++ b/src/library.js @@ -6402,9 +6402,11 @@ LibraryManager.library = { siginterrupt: function() { throw 'siginterrupt not implemented' }, + raise__deps: ['$ERRNO_CODES', '__setErrNo'], raise: function(sig) { // TODO: - return 1; + ___setErrNo(ERRNO_CODES.ENOSYS); + return -1; }, // ========================================================================== |