Skip to content

Printing to /dev/stderr doesn't work #980

@CruzR

Description

@CruzR

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions