Lines Matching refs:errno
32 #include <errno.h>
169 olderrno = errno;
171 if (errno == ENOENT)
172 errno = olderrno;
390 * -1 if there was an error (described by errno)
411 olderrno = errno;
416 if (errno == ENOENT) {
418 /* avoid errno pollution */
419 errno = olderrno;
452 errno = EOPNOTSUPP;
540 errno = EINVAL;
556 * or NULL if there were some problem, as described by errno
659 * or NULL if there were some problem, as described by errno
764 * or NULL if there were some problem, as described by errno
780 * if some error occurred, as described by errno
781 * errno is EOPNOTSUPP if the reparse point is not a valid
898 errno = EOPNOTSUPP;
937 * -1 if failure, explained by errno
976 * -1 if failure, explained by errno
1005 errno = ENODATA;
1015 * or NULL if an error occurred (errno tells why)
1054 * -1 if failure, explained by errno
1086 errno = EIO;
1116 * -1 if failure, explained by errno
1173 errno = EINVAL;
1178 errno = ENODATA;
1180 return (attr_size ? (int)attr_size : -errno);
1228 errno = EOPNOTSUPP;
1232 errno = ENODATA;
1237 errno = EEXIST;
1254 errno = EINVAL;
1317 olderrno = errno;
1319 /* avoid errno pollution */
1320 if (errno == ENOENT)
1321 errno = olderrno;
1323 errno = ENODATA;
1328 errno = EINVAL;
1402 errno = EOPNOTSUPP;
1425 * NULL otherwise (with errno set according to the cause).
1442 errno = EINVAL;
1445 errno = EINVAL;