/* Test for correct arguments. */
if (htab == NULL)
{
- errno = EINVAL;
+ __set_errno (EINVAL);
return 0;
}
/* Test for correct arguments. */
if (htab == NULL)
{
- errno = EINVAL;
+ __set_errno (EINVAL);
return;
}
error. */
if (action == ENTER && htab->filled == htab->size)
{
- errno = ENOMEM;
+ __set_errno (ENOMEM);
*retval = NULL;
return 0;
}
return 1;
}
- errno = ESRCH;
+ __set_errno (ESRCH);
*retval = NULL;
return 0;
}