Searched refs:wrbuf (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe02.c | 34 static char wrbuf[SIZE]; variable 40 SAFE_WRITE(1, fd[1], wrbuf, SIZE); in do_child() 44 SAFE_WRITE(1, fd[1], wrbuf, SIZE); in do_child() 54 memset(wrbuf, 'a', SIZE); in verify_pipe() 80 if (memcmp(wrbuf, rdbuf, SIZE) != 0) { in verify_pipe()
|
D | pipe10.c | 74 char wrbuf[BUFSIZ], rebuf[BUFSIZ]; in main() local 97 strcpy(wrbuf, "abcdefghijklmnopqrstuvwxyz"); in main() 98 length = strlen(wrbuf) + 1; in main() 100 written = write(fd[1], wrbuf, length); in main() 121 greater = strcmp(rebuf, wrbuf); in main()
|
D | pipe01.c | 31 char wrbuf[] = "abcdefghijklmnopqrstuvwxyz"; in verify_pipe() local 43 wr_size = SAFE_WRITE(1, fds[1], wrbuf, sizeof(wrbuf)); in verify_pipe() 52 if ((strncmp(rdbuf, wrbuf, wr_size)) != 0) { in verify_pipe()
|
D | pipe08.c | 68 char wrbuf[BUFSIZ]; in main() local 92 strcpy(wrbuf, "abcdefghijklmnopqrstuvwxyz\0"); in main() 93 length = strlen(wrbuf); in main() 100 written = write(pipefd[1], wrbuf, length); in main()
|