Home
last modified time | relevance | path

Searched refs:p2fd (Results 1 – 1 of 1) sorted by relevance

/external/ltp/testcases/kernel/containers/utsname/
Dutstest.c97 int p1fd[2], p2fd[2]; variable
126 close(p2fd[0]); in P1()
144 write(p2fd[1], "1", 1); in P1()
163 write(p2fd[1], "1", 1); in P1()
189 write(p2fd[1], "1", 1); /* tell p2 to go ahead and sethostname */ in P1()
208 write(p2fd[1], "1", 1); /* tell p2 to go ahead and sethostname */ in P1()
235 close(p2fd[1]); in P2()
246 len = read(p2fd[0], hostname, 1); in P2()
255 len = read(p2fd[0], hostname, 1); in P2()
306 if (pipe(p2fd) == -1) { in main()
[all …]