File access in dirty NIFs?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

File access in dirty NIFs?

Joacim Grebenö
Hi,

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?

Cheers
/Joakim

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions