[erlang-questions] File access in dirty NIFs?

Joacim Grebenö joagre@REDACTED
Fri Oct 12 03:06:41 CEST 2018


I tried to open some files from my dirty scheduler NIF code:

    FILE *file;
    if ((file = fopen(path, "r")) != NULL) {

It fails.

I know. This is probably something I should know about. I don't.

Any hints?


More information about the erlang-questions mailing list