Lines Matching defs:child
31 * Parent process forks a child. Child pauses until parent has created
33 * time child gets the shared memory segment id, attaches to it at two
62 int child();
82 child();
92 * kill the child if parent failed to do the attach
104 /* kill the child if parent failed to do the attch */
121 tst_resm(TFAIL, "Waited on the wrong child");
144 int child(void)
154 perror("shmget:child process");
162 perror("shmat:child process");
168 tst_resm(TFAIL, "child: not A");
171 tst_resm(TFAIL, "child: not B");
174 tst_resm(TFAIL, "child: not C");
177 tst_resm(TFAIL, "child: not 0");
188 perror("shmat:child process");
194 tst_resm(TFAIL, "child: not A");
197 tst_resm(TFAIL, "child: not B");
200 tst_resm(TFAIL, "child: not C");
203 tst_resm(TFAIL, "child: not 0");