Lines Matching defs:error
53 int error = 0;
56 error = ESRCH;
66 error = EPERM;
70 error = errno;
81 return (error);
98 int error;
113 error = _thrp_create(ap->stkaddr, ap->stksize, start_routine, arg,
115 if (error == 0) {
124 error = _thr_setparam(tid, ap->policy, ap->prio);
125 if (error) {
127 * We couldn't determine this error before
148 if (error == ENOMEM)
149 error = EAGAIN;
150 return (error);
199 int error = 0;
202 error = ESRCH;
206 error = errno;
225 return (error);
234 int error;
236 if ((error = pthread_getschedparam(tid, &policy, ¶m)) == 0)
238 return (error);
257 int error;
263 if ((error = pthread_getschedparam(tid, &policy, ¶m)) != 0)
264 return (error);