Lines Matching defs:error
122 * It returns 0 indicating success. A value != 0 indicates an error.
276 int error = 0;
287 while (error == 0) {
289 error = errno;
291 tcdp->tcd_port, error, strerror(error));
347 error = EINVAL;
349 error = sigev_add_work(tcdp, function, argument);
359 error = ENOMEM;
361 error = pthread_attr_clone(&local_attr, attrp);
363 if (error == 0) {
370 error = pthread_create(NULL, &local_attr,
374 if (error && stdp != NULL)
378 if (error) {
379 dprintf("Cannot add work, error=%d <%s>.\n",
380 error, strerror(error));
381 if (error == EAGAIN || error == ENOMEM) {
388 error = 0;
453 int error;
475 error = pthread_attr_clone(tcdp->tcd_attrp,
477 if (error) {
480 errno = error;
603 dprintf("Fail to cancel %u with error %d <%s>.\n",