Lines Matching refs:ret
58 int ret; in worker() local
78 ret = getpwuid_r (uid, &pwbuf, wbuf, wbufsz, &pw); in worker()
88 if (ret == ERANGE) in worker()
105 int ret; in do_test() local
130 ret = sem_wait (&started); in do_test()
131 if (ret == -1 && errno != EINTR) in do_test()
137 while (ret != 0); in do_test()
140 if ((ret = pthread_cancel (thread)) != 0) in do_test()
142 printf ("FAIL: Failed to cancel thread. Returned %d\n", ret); in do_test()
161 ret = getpwuid_r (geteuid (), &pwbuf, buf, bufsz, &pw); in do_test()
162 if (ret == ERANGE) in do_test()
170 while (ret == ERANGE); in do_test()