SHARE
TWEET

Help!

a guest Mar 5th, 2011 54 Never
  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';
RAW Paste Data
Top