We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dad34c commit 796a446Copy full SHA for 796a446
Python/emscripten_syscalls.c
@@ -1,6 +1,10 @@
1
#include "emscripten.h"
2
#include "stdio.h"
3
4
+// All system calls: return nonnegative number on success, return -errno on
5
+// failure. Negative results get stored back into errno here:
6
+// https://github.com/emscripten-core/emscripten/blob/main/system/lib/libc/musl/src/internal/syscall_ret.c#L7
7
+
8
// If we're running in node, report the UID of the user in the native system as
9
// the UID of the user. Since the nodefs will report the uid correctly, if we
10
// don't make getuid report it correctly too we'll see some permission errors.
0 commit comments