(which, varargs)
| 4953 | } |
| 4954 | |
| 4955 | function ___syscall94(which, varargs) {SYSCALLS.varargs = varargs; |
| 4956 | try { |
| 4957 | // fchmod |
| 4958 | var fd = SYSCALLS.get(), mode = SYSCALLS.get(); |
| 4959 | FS.fchmod(fd, mode); |
| 4960 | return 0; |
| 4961 | } catch (e) { |
| 4962 | if (typeof FS === 'undefined' || !(e instanceof FS.ErrnoError)) abort(e); |
| 4963 | return -e.errno; |
| 4964 | } |
| 4965 | } |
| 4966 | |
| 4967 | |
| 4968 |