Open roscopeco opened 6 hours ago
Worth noting that, if called for a non-existent file on a valid filesystem, it returns NULL
as expected. E.g.
fopen("/sd/nonexistent.file", "r");
returns NULL
, however:
fopen("/nonexistent-filesystem/whatever.file", "r");
does not return NULL
.
When
fopen
is called for a file [edit on a filesystem] that doesn't exist, it does not returnNULL
.