Searched refs:srcLen (Results 1 – 2 of 2) sorted by relevance
118 int srcLen; in process() local121 srcLen = strlen(argv[i]); in process()122 src = malloc(srcLen+1); in process()123 memcpy(src, argv[i], srcLen+1); in process()125 if (src[srcLen-1] == FSSEP) in process()126 src[--srcLen] = '\0'; in process()
495 int srcLen, dstLen, nameLen; in copyDirectory() local508 srcLen = strlen(src); in copyDirectory()511 srcFile = malloc(srcLen +1 + nameLen +1); in copyDirectory()512 memcpy(srcFile, src, srcLen); in copyDirectory()513 srcFile[srcLen] = FSSEP; in copyDirectory()514 memcpy(srcFile + srcLen+1, ent->d_name, nameLen +1); in copyDirectory()