yeah my bad. Does this look a bit better at all..?
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char* argv[])
Type: Posts; User: britty4
yeah my bad. Does this look a bit better at all..?
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char* argv[])
I've used fork() to create child processes for each command line argument. Within this, I want the child process to check if the argument is a valid filename/can read the file, if not it should...
I know I shouldn't post my whole problem here, but I'm just really stuck on even a starting point. I've done a fair bit of research but can't really come up with a plan for this, being very new to C...