This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Help!

By: a guest on Mar 5th, 2011  |  syntax: C  |  size: 0.14 KB  |  views: 45  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. char ** args = malloc(sizeof(char*)*nArgs+1);
  2.          memcpy(args,argv+5,sizeof(char*)*nArgs);
  3.          fprintf(stderr,"HERE");
  4.          args[nArgs+1] = '\0';
clone this paste RAW Paste Data