Minimal test case:
#include <stdio.h>
int main() {
FILE *err = fopen("/dev/stderr", "w");
fprintf(err, "Hello, stderr!\n");
return 0;
}
When I run this code in nodejs or spidermonkey, nothing is printed to stderr.
However, printing directly to the builtin stderr FILE* works.
Minimal test case:
When I run this code in nodejs or spidermonkey, nothing is printed to stderr.
However, printing directly to the builtin
stderrFILE*works.