aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-01-23 14:57:44 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-01-23 14:57:44 -0800
commit408def0b2f1f69bf25dc708942e4846076f7d664 (patch)
treebc14b191440c39a5ad34f711008241dbd3955d4a
parent52003dff628fe9cf13710f5dcdebd884046d70b5 (diff)
more library stubs
-rw-r--r--src/library.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index 06fab8ee..bad7c137 100644
--- a/src/library.js
+++ b/src/library.js
@@ -1040,6 +1040,8 @@ LibraryManager.library = {
return _chmod(allocate(pathArray, 'i8', ALLOC_STACK), mode);
}
},
+ lchmod: function() { throw 'TODO: lchmod' },
+
umask__deps: ['$FS'],
umask: function(newMask) {
// mode_t umask(mode_t cmask);
@@ -5952,6 +5954,8 @@ LibraryManager.library = {
return 0;
},
+ setitimer: function() { throw 'setitimer not implemented yet' },
+
// ==========================================================================
// sys/time.h
// ==========================================================================
@@ -6120,6 +6124,8 @@ LibraryManager.library = {
},
killpg: 'kill',
+ siginterrupt: function() { throw 'siginterrupt not implemented' },
+
// ==========================================================================
// sys/wait.h
// ==========================================================================
@@ -7157,6 +7163,15 @@ LibraryManager.library = {
return ret;
},
+ // pty.h
+
+ openpty: function() { throw 'openpty: TODO' },
+ forkpty: function() { throw 'forkpty: TODO' },
+
+ // grp.h
+
+ initgroups: function() { throw 'initgroups: TODO' },
+
// ==========================================================================
// emscripten.h
// ==========================================================================