int main() { pid_t pid ; FILE *inp = fopen("test.log","w"); pid = fork(); if(pid == 0) writeFile(inp); else writeFile(inp); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)