Skip to content

Instantly share code, notes, and snippets.

@AkhandMishratruth
Created July 29, 2018 22:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AkhandMishratruth/a826f9d9749f2d6853b5d01b773c0160 to your computer and use it in GitHub Desktop.
Save AkhandMishratruth/a826f9d9749f2d6853b5d01b773c0160 to your computer and use it in GitHub Desktop.
#include <stdlib.h>
#include <stdio.h>
int main(int argc, char* args[]) {
printf("Child process: getpid result: %d with arguments %s and %s\n", getpid(), args[1], args[2]);
sleep(5);
exit(52);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment