Searched refs:wrbuf (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe02.c | 22 static char wrbuf[SIZE]; variable 28 SAFE_WRITE(1, fd[1], wrbuf, SIZE); in do_child() 32 SAFE_WRITE(1, fd[1], wrbuf, SIZE); in do_child() 42 memset(wrbuf, 'a', SIZE); in verify_pipe() 68 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 | 19 char wrbuf[] = "abcdefghijklmnopqrstuvwxyz"; in verify_pipe() local 31 wr_size = SAFE_WRITE(1, fds[1], wrbuf, sizeof(wrbuf)); in verify_pipe() 40 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()
|