Home
last modified time | relevance | path

Searched refs:errno (Results 1 – 25 of 174) sorted by relevance

1234567

/busybox-1.35.0/libbb/
Dperror_msg.c17 bb_verror_msg(s, p, errno ? strerror(errno) : NULL); in bb_perror_msg()
27 bb_verror_msg(s, p, errno ? strerror(errno) : NULL); in bb_perror_msg_and_die()
Dbb_strtonum.c34 errno = ERANGE; /* this ain't as small as it looks (on glibc) */ in ret_ERANGE()
45 if (isalnum(next_ch) || errno) in handle_errors()
48 errno = EINVAL; in handle_errors()
67 errno = 0; in bb_strtoull()
87 errno = 0; in bb_strtoll()
102 errno = 0; in bb_strtoul()
119 errno = 0; in bb_strtol()
135 errno = 0; in bb_strtou()
153 errno = 0; in bb_strtoi()
Dbb_strtod.c23 errno = 0;
29 if (isalnum(endptr[0]) || errno) {
31 errno = ERANGE;
35 errno = EINVAL;
61 if (errno != EINVAL)
Dduration.c53 errno = 0; in parse_duration_str()
55 if (errno || *pp) in parse_duration_str()
80 errno = 0; in sleep_for_duration()
82 } while (errno == EINTR); in sleep_for_duration()
Dptr_to_globals.c17 #ifdef errno
30 #ifdef errno
Dsafe_write.c17 if (n >= 0 || errno != EINTR) in safe_write()
23 errno = 0; in safe_write()
Dsafe_poll.c24 if (errno == EINTR) in safe_poll()
28 if (errno == ENOMEM) in safe_poll()
Dread_key.c121 errno = 0; in read_key()
131 errno = EAGAIN; in read_key()
181 errno = 0; in read_key()
185 if (errno != EAGAIN) { in read_key()
226 errno = 0; in read_key()
230 if (errno != EAGAIN) { in read_key()
Dxreadlink.c67 if (errno == EINVAL || errno == ENOENT) in xmalloc_follow_symlinks()
100 int err = errno; in xmalloc_readlink_or_warn()
130 errno = 0; in xmalloc_realpath_coreutils()
139 if (!buf && errno == ENOENT) { in xmalloc_realpath_coreutils()
Dloop.c121 return -errno; in set_loop()
145 IF_FEATURE_MOUNT_LOOP_CREATE(errno = 0;) in set_loop()
148 && errno == ENOENT in set_loop()
162 if (lfd < 0 && errno == EROFS) { in set_loop()
167 if (errno == ENXIO) { in set_loop()
178 if (rc && errno == ENXIO) { in set_loop()
Dselinux_common.c49 if (errno == ENODATA || errno == ENOTSUP) in selinux_preserve_fcontext()
Dget_console.c23 if (fd < 0 && errno == EACCES) in open_a_console()
27 if (fd < 0 && errno == EACCES) in open_a_console()
/busybox-1.35.0/procps/
Dpwdx.c46 if (errno) in pwdx_main()
54 printf("%s: %s\n", *argv, s ? s : strerror(errno == ENOENT ? ESRCH : errno)); in pwdx_main()
Dkill.c151 if (errno) { in kill_main()
249 if (errno) { in kill_main()
319 if (errno && (errno != EINVAL || *end != ' ')) { in kill_main()
332 if (errno) { in kill_main()
/busybox-1.35.0/coreutils/
Dseq.c56 errno = 0; in seq_main()
61 errno |= *pp; in seq_main()
64 errno |= *pp; in seq_main()
67 if (!errno && *pp == '\0') in seq_main()
Dtac.c81 errno = i = 0; in tac_main()
100 if (errno && errno != ENOENT) { in tac_main()
Dprintf.c87 errno = 0; in multiconvert()
89 if (errno) { in multiconvert()
110 if (errno) { in conv_strtoull()
128 errno = ERANGE; in conv_strtod()
204 errno = 0; in print_direc()
281 if (errno) { in get_width_prec()
385 *conv_err |= errno; in print_formatted()
/busybox-1.35.0/coreutils/libcoreutils/
Dcp_mv_stat.c27 if (errno != ENOENT) { in cp_mv_stat2()
29 if (errno == ENOTDIR) { in cp_mv_stat2()
/busybox-1.35.0/networking/
Dpscan.c117 if (errno != EAGAIN && errno != EINPROGRESS in pscan_main()
118 && errno != ECONNREFUSED in pscan_main()
125 if (errno == ECONNREFUSED) { in pscan_main()
131 DERR("port %u errno %d @%u", port, errno, diff); in pscan_main()
/busybox-1.35.0/shell/
Dshell_common.c55 errno = err = 0; in shell_builtin_read()
71 if (nchars < 0 || errno) in shell_builtin_read()
79 if (errno) in shell_builtin_read()
95 if (errno) { in shell_builtin_read()
97 if (errno != EINVAL || *p != '.') in shell_builtin_read()
115 if (fd < 0 || errno) in shell_builtin_read()
197 errno = 0; in shell_builtin_read()
201 err = errno; in shell_builtin_read()
206 err = errno; in shell_builtin_read()
315 errno = err; in shell_builtin_read()
[all …]
/busybox-1.35.0/util-linux/
Drenice.c105 if (errno) { in renice_main()
115 errno = 0; /* Needed for getpriority error detection. */ in renice_main()
117 if (errno) { in renice_main()
Dswaponoff.c159 quiet = (OPT_ALL && (errno == EINVAL || errno == ENOENT)); in swap_enable_disable()
173 quiet = (OPT_ALL && errno == EBUSY); in swap_enable_disable()
176 if (err && OPT_IFEXISTS && errno == ENOENT) in swap_enable_disable()
220 if (!errno) { in set_priority_flag()
/busybox-1.35.0/runit/
Dsv.c236 if (errno) { in out()
252 errno = 0; in failx()
263 errno = 0; in ok()
273 if (errno == ENODEV) { in svstatus_get()
296 errno = 0; in svstatus_get()
312 if (errno != ENOENT) { in svstatus_print()
352 if (errno != ENOENT) { in status()
375 if (errno == ENOENT) return 1; in checkscript()
467 if (errno != ENODEV) in control()
786 if (errno == ENOENT || errno == ENXIO) in svok_main()
/busybox-1.35.0/klibc-utils/
Dresume.c50 if (!errno) in name_to_dev_t()
53 if (!errno) in name_to_dev_t()
58 if (!errno) in name_to_dev_t()
/busybox-1.35.0/archival/libarchive/
Ddata_extract_all.c94 && errno != ENOENT in data_extract_all()
105 if (errno != ENOENT) { in data_extract_all()
117 else if ((unlink(dst_name) == -1) && (errno != EISDIR)) { in data_extract_all()
168 && (errno != EISDIR) /* btw, Linux doesn't return this */ in data_extract_all()
169 && (errno != EEXIST) in data_extract_all()

1234567