Searched refs:srcLen (Results 1 – 2 of 2) sorted by relevance
119 int srcLen; in process() local122 srcLen = strlen(argv[i]); in process()123 src = malloc(srcLen+1); in process()124 memcpy(src, argv[i], srcLen+1); in process()126 if (src[srcLen-1] == FSSEP) in process()127 src[--srcLen] = '\0'; in process()
485 int srcLen, dstLen, nameLen; in copyDirectory() local498 srcLen = strlen(src); in copyDirectory()501 srcFile = malloc(srcLen +1 + nameLen +1); in copyDirectory()502 memcpy(srcFile, src, srcLen); in copyDirectory()503 srcFile[srcLen] = FSSEP; in copyDirectory()504 memcpy(srcFile + srcLen+1, ent->d_name, nameLen +1); in copyDirectory()