#include <stdio.h>
#include <stdlib.h>
+#include <errno.h>
#ifndef REGTEST
#include <_PDCLIB_glue.h>
previous = current;
current = current->next;
}
- /* See the comments on implementation-defined errno values in
- <_PDCLIB_config.h>.
- */
- _PDCLIB_errno = _PDCLIB_ERROR;
+
+ errno = EINVAL;
return -1;
}