search for: strpcpy

Displaying 1 result from an estimated 1 matches for "strpcpy".

Did you mean: strcpy
2009 Mar 13
1
[PATCH 1/1] cmd.c32: allow an option for clearing the screen
...rgst++; + for (i = 0; i < NUM_NL; i++) + printf("\n"); + } - for (i = 1; i < argc; i++) + for (i = argst; i < argc; i++) len += strlen(argv[i]) + 1; tmp = cmd = alloca(len); - for (i = 1; i < argc; i++) { + for (i = argst; i < argc; i++) { tmp = strpcpy(tmp, argv[i]); if (i != argc-1) *tmp++ = ' ';