Searched refs:child (Results 1 - 6 of 6) sorted by relevance

/system/extras/tests/bionic/libc/common/
H A Dtest_clone.c62 int pid,child; local
72 printf ("child pid %d\n", pid);
75 child = waitpid (pid, &status, 0);
76 printf("waitpid returned %d\n", child);
77 if (child < 0) {
81 printf ("child %d, status 0x%x\n", child, status);
/system/extras/ext4_utils/
H A Dsetup_fs.c15 pid_t child; local
46 child = fork();
47 if (child < 0) {
51 if (child == 0) {
56 while ((pid=waitpid(-1, &status, 0)) != child) {
/system/core/logwrapper/
H A Dlogwrapper.c95 if (wait(&status) != -1) { // Wait for child
112 void child(int argc, char* argv[]) { function
164 fatal("Problem with child ptty\n");
173 child(argc - 1, &argv[1]);
/system/vold/
H A Dlogwrapper.c74 if (wait(&status) != -1) { // Wait for child
93 void child(int argc, const char**argv) { function
141 ALOG(LOG_ERROR, "logwrapper", "Problem with child ptty");
159 child(argc, argv);
/system/netd/
H A Dlogwrapper.c73 if (wait(&status) != -1) { // Wait for child
92 void child(int argc, const char**argv) { function
140 ALOG(LOG_ERROR, "logwrapper", "Problem with child ptty");
150 child(argc, argv);
217 case 0: /* child */
/system/core/sdcard/
H A Dsdcard.c104 struct node *child; /* first contained file by this dir */ member in struct:node
181 node->next = parent->child;
182 parent->child = node;
189 if (node->parent->child == node) {
190 node->parent->child = node->parent->child->next;
193 node2 = node->parent->child;
398 for (node = node->child; node; node = node->next) {
414 struct node* child = lookup_child_by_name_locked(parent, name); local
415 if (child) {
[all...]

Completed in 540 milliseconds