Lines Matching refs:errno

36 #include <errno.h>
103 * error return NULL with errno set to the error code returned by malloc().
111 errno = EINVAL;
118 int eo = errno;
120 errno = eo;
136 * Return 0 on success or -1 on error with errno set to the error code. The
144 errno = EINVAL;
148 errno = EBUSY;
187 * On error and nothing has been read, return -1 with errno set appropriately
199 errno = EINVAL;
230 if (errno == ENOSYS && _pread != fake_pread) {
273 * On error and nothing has been written, return -1 with errno set
286 errno = EINVAL;
292 errno = EROFS;
328 if (errno == ENOSYS && _pwrite != fake_pwrite) {
358 * On error and nothing was read, return -1 with errno set appropriately to the
375 errno = EINVAL;
413 * On error and nothing has been written, return -1 with errno set
432 errno = EINVAL;
471 * with errno set to the error code.
479 errno = EINVAL;
483 errno = ESPIPE;
504 * error, with errno set to the error code.
512 errno = EINVAL;
516 errno = ESPIPE;
561 * On error return -1 with errno set to the error code.
568 errno = EINVAL;
627 * block device of @dev. On error return -1 with errno set to the error code.
637 errno = EINVAL;
650 errno = EOPNOTSUPP;
660 * -1 with errno set to the error code.
670 errno = EINVAL;
684 errno = EOPNOTSUPP;
694 * error return -1 with errno set to the error code.
704 errno = EINVAL;
718 errno = EOPNOTSUPP;
728 * On error return -1 with errno set to the error code.
738 errno = EINVAL;
752 errno = EOPNOTSUPP;
763 * On error return -1 with errno set to the error code.
774 errno = EINVAL;
793 errno = EOPNOTSUPP;