Lines Matching refs:errno
21 #include <errno.h>
72 return errno == ENOENT ? 0 : -errno;
80 errno = 0;
83 if (errno > 0 && ret == 0)
84 ret = -errno;
94 if (ret == 0 && errno != ENOENT)
95 ret = -errno;
112 if (ret == 0 && errno != ENOENT)
113 ret = -errno;
163 if (ret == 0 && errno != ENOENT)
164 ret = -errno;
170 if (ret == 0 && errno != ENOENT)
171 ret = -errno;
206 if (errno != ENOTDIR && errno != ELOOP)
207 return -errno;
211 return -errno;
220 if (unlink(path) < 0 && errno != ENOENT)
221 return -errno;
230 if (r == 0 && errno != ENOENT)
231 r = -errno;