search for: write_fhead_char

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

2009 Jun 10
1
Weird behavior in receive_data function
...> printf("writting %s \n",buffer); > fd = open(buffer, O_RDWR|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR); > for(lll = 0; lll < nSize; lll++) > { > for(mmm = 0; mmm < nAdjust; mmm++) > { > for(nnn = 0; nnn < nBlock; nnn++) > { > write_fhead_char(fd, &ch, 1); > } > ch++; > } > } > } > printf("origin files done!\n"); > File 2: This is the second time backup. when transferring this file, I met the trouble. > printf("\nstart to build added data files!\n"); > ch =...