Use core.stdc.stdlib instead of std.c.process for exit()

master v0.1.5
Les De Ridder 5 years ago
parent dc59816373
commit b0c0a8924e

@ -193,7 +193,7 @@ extern(System)
threads from the runtime because after fuse_main finishes the pthreads
are joined. We circumvent that problem by just exiting while our
threads still run. */
import std.c.process;
import core.stdc.stdlib : exit;
exit(0);
}
} /* extern(C) */

Loading…
Cancel
Save