/external/ltp/testcases/kernel/syscalls/pipe/ |
pipe01.c | 31 char wrbuf[] = "abcdefghijklmnopqrstuvwxyz"; local 43 wr_size = SAFE_WRITE(1, fds[1], wrbuf, sizeof(wrbuf)); 52 if ((strncmp(rdbuf, wrbuf, wr_size)) != 0) {
|
pipe08.c | 68 char wrbuf[BUFSIZ]; local 92 strcpy(wrbuf, "abcdefghijklmnopqrstuvwxyz\0"); 93 length = strlen(wrbuf); 100 written = write(pipefd[1], wrbuf, length);
|
pipe02.c | 34 static char wrbuf[SIZE]; variable 40 SAFE_WRITE(1, fd[1], wrbuf, SIZE); 44 SAFE_WRITE(1, fd[1], wrbuf, SIZE); 54 memset(wrbuf, 'a', SIZE); 80 if (memcmp(wrbuf, rdbuf, SIZE) != 0) {
|
pipe10.c | 74 char wrbuf[BUFSIZ], rebuf[BUFSIZ]; local 97 strcpy(wrbuf, "abcdefghijklmnopqrstuvwxyz"); 98 length = strlen(wrbuf) + 1; 100 written = write(fd[1], wrbuf, length); 121 greater = strcmp(rebuf, wrbuf);
|
pipe11.c | 73 char *wrbuf, *rdbuf; variable 115 written = write(fd[1], wrbuf, szcharbuf); 221 if ((wrbuf = malloc(szcharbuf)) == NULL) { 229 /* initialize wrbuf */ 232 wrbuf[i++] = rawchars[j++];
|