Symbol: errno
bin/chmod/chmod.c
226
if (errno) {
bin/cp/cp.c
241
if (r == -1 && errno != ENOENT) {
bin/cp/cp.c
488
errno = ENOTDIR;
bin/cp/cp.c
558
if (errno) {
bin/cp/utils.c
380
if (errno != EPERM) {
bin/cp/utils.c
401
errno = 0;
bin/cp/utils.c
404
if (errno != EOPNOTSUPP || fs->st_flags != 0) {
bin/cp/utils.c
427
} else if (ret < 0 && errno != EINVAL) {
bin/cp/utils.c
436
} else if (ret < 0 && errno != EINVAL) {
bin/cp/utils.c
482
} else if (ret < 0 && errno != EINVAL) {
bin/cp/utils.c
491
} else if (ret < 0 && errno != EINVAL) {
bin/csh/csh.c
1242
stderror(ERR_SYSTEM, (char *)buf, strerror(errno));
bin/csh/csh.c
463
stderror(ERR_SYSTEM, tempv[0], strerror(errno));
bin/csh/csh.c
483
stderror(ERR_SYSTEM, tempv[0], strerror(errno));
bin/csh/csh.c
495
errno = EACCES;
bin/csh/csh.c
497
stderror(ERR_SYSTEM, "csh", strerror(errno));
bin/csh/csh.c
585
strerror(errno));
bin/csh/dir.c
357
stderror(ERR_SYSTEM, tmp, strerror(errno));
bin/csh/dir.c
437
serrno = errno;
bin/csh/dir.c
494
stderror(ERR_SYSTEM, tmp, strerror(errno));
bin/csh/dir.c
508
stderror(ERR_SYSTEM, tmp, strerror(errno));
bin/csh/dir.c
579
stderror(ERR_SYSTEM, tmp, strerror(errno));
bin/csh/dir.c
86
(void)fprintf(csherr, "csh: %s\n", strerror(errno));
bin/csh/dol.c
830
if (errno == EEXIST) {
bin/csh/dol.c
840
stderror(ERR_SYSTEM, tmp, strerror(errno));
bin/csh/exec.c
280
errno = 0; /* don't use a previous error */
bin/csh/exec.c
284
switch (errno) {
bin/csh/exec.c
298
stderror(ERR_ARCH, f, strerror(errno));
bin/csh/exec.c
341
stderror(ERR_SYSTEM, f, strerror(errno));
bin/csh/exec.c
349
exerr = strerror(errno);
bin/csh/func.c
1320
hard ? " hard" : "", strerror(errno));
bin/csh/glob.c
724
while (icnt == -1 && errno == EINTR);
bin/csh/lex.c
1440
while (c < 0 && errno == EINTR);
bin/csh/lex.c
1518
if (errno == EWOULDBLOCK) {
bin/csh/lex.c
1523
else if (errno != EINTR)
bin/csh/lex.c
1626
if (lseek(SHIN, (off_t) 0, SEEK_CUR) < 0 || errno == ESPIPE)
bin/csh/proc.c
102
if (errno == EINTR) {
bin/csh/proc.c
103
errno = 0;
bin/csh/proc.c
1068
strerror(errno));
bin/csh/proc.c
1084
(void)fprintf(csherr, "%d: %s\n", pid, strerror(errno));
bin/csh/proc.c
97
errno = 0; /* reset, just in case */
bin/csh/sem.c
546
stderror(ERR_SYSTEM, tmp, strerror(errno));
bin/csh/sem.c
588
stderror(ERR_SYSTEM, tmp, strerror(errno));
bin/csh/sem.c
594
stderror(ERR_SYSTEM, tmp, strerror(errno));
bin/date/date.c
121
errno = 0;
bin/date/date.c
123
if (tval == -1 && errno != 0) {
bin/date/date.c
145
errno = 0;
bin/date/date.c
147
if (errno) {
bin/date/netdate.c
102
if (errno != EAFNOSUPPORT)
bin/date/netdate.c
134
if (errno != ECONNREFUSED)
bin/date/netdate.c
157
errno = error;
bin/date/netdate.c
168
if (errno != ECONNREFUSED)
bin/dd/dd.c
330
&& errno == ESPIPE)
bin/dd/dd.c
505
&& errno != EINVAL) {
bin/dd/dd.c
569
if (errno != EINTR)
bin/dd/dd.c
627
oerrno = errno;
bin/dd/dd.c
629
errno = oerrno;
bin/ed/buf.c
100
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/buf.c
116
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/buf.c
127
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/buf.c
250
fprintf(stderr, "%s: %s\n", sfn, strerror(errno));
bin/ed/buf.c
72
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/buf.c
80
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/cbc.c
255
seterrmsg("%s", s ? s : strerror(errno));
bin/ed/ed.h
115
errno = 0 ; \
bin/ed/ed.h
117
errno == ERANGE) { \
bin/ed/ed.h
131
fprintf(stderr, "%s\n", strerror(errno)); \
bin/ed/glbl.c
163
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/io.c
138
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/io.c
159
fprintf(stderr, "%s: %s\n", fn, strerror(errno));
bin/ed/io.c
165
fprintf(stderr, "%s: %s\n", fn, strerror(errno));
bin/ed/io.c
210
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/io.c
282
fprintf(stderr, "stdin: %s\n", strerror(errno));
bin/ed/io.c
52
fprintf(stderr, "%s: %s\n", fn, strerror(errno));
bin/ed/io.c
58
fprintf(stderr, "%s: %s\n", fn, strerror(errno));
bin/ed/main.c
1316
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/re.c
79
fprintf(stderr, "%s\n", strerror(errno));
bin/expr/expr.y
163
errno = 0;
bin/expr/expr.y
165
if (errno == ERANGE) {
bin/getfacl/getfacl.c
213
} else if (ret < 0 && errno != EINVAL) {
bin/getfacl/getfacl.c
232
if (errno != EOPNOTSUPP) {
bin/getfacl/getfacl.c
236
errno = 0;
bin/kill/kill.c
236
errno = 0;
bin/kill/kill.c
241
(pid_t)n != n || errno != 0) {
bin/ksh/c_ksh.c
128
bi_errorf("%s - %s", try, strerror(errno));
bin/ksh/c_ksh.c
1280
bi_errorf("%s: %s", p, strerror(errno));
bin/ksh/c_ksh.c
209
strerror(errno));
bin/ksh/c_ksh.c
395
if (errno == EINTR) {
bin/ksh/c_sh.c
215
bi_errorf("%s: %s", cp, strerror(errno));
bin/ksh/c_ulimit.c
206
strerror(errno));
bin/ksh/c_ulimit.c
238
bi_errorf("can't get limit: %s", strerror(errno));
bin/ksh/c_ulimit.c
247
if (errno == EPERM)
bin/ksh/c_ulimit.c
251
strerror(errno));
bin/ksh/c_ulimit.c
269
bi_errorf("bad limit: %s", strerror(errno));
bin/ksh/edit.c
164
while ((n = blocking_read(0, &c, 1)) < 0 && errno == EINTR)
bin/ksh/exec.c
1026
err = errno; /* File exists, but we can't access it */
bin/ksh/exec.c
1202
"open" : "create", cp, strerror(errno));
bin/ksh/exec.c
1227
strerror(errno));
bin/ksh/exec.c
1279
h->name, strerror(errno));
bin/ksh/exec.c
1312
strerror(errno));
bin/ksh/exec.c
421
if (errno == ENOEXEC)
bin/ksh/exec.c
424
errorf("%s: %s", s, strerror(errno));
bin/ksh/exec.c
616
cp, tp->u.fpath, strerror(errno));
bin/ksh/exec.c
769
errorf("%s: %s: %s", tp->str, shellv, strerror(errno));
bin/ksh/history.c
238
tf->name, strerror(errno));
bin/ksh/history.c
245
bi_errorf("error writing temporary file - %s", strerror(errno));
bin/ksh/io.c
238
if (ret < 0 && errno != EBADF && !errok)
bin/ksh/io.c
258
if (errno == EBADF)
bin/ksh/io.c
483
if (errno != EINTR
bin/ksh/io.c
485
&& errno != EEXIST
bin/ksh/io.c
488
&& errno != EISDIR
bin/ksh/jobs.c
1170
strerror(errno));
bin/ksh/jobs.c
1248
int errno_ = errno;
bin/ksh/jobs.c
1308
errno = errno_;
bin/ksh/jobs.c
348
strerror(errno));
bin/ksh/jobs.c
361
strerror(errno));
bin/ksh/jobs.c
377
strerror(errno));
bin/ksh/jobs.c
383
strerror(errno));
bin/ksh/jobs.c
397
strerror(errno));
bin/ksh/jobs.c
502
while ((i = fork()) < 0 && errno == EAGAIN && forksleep < 32) {
bin/ksh/jobs.c
575
&& errno == EINTR)
bin/ksh/jobs.c
792
bi_errorf("%s: %s", cp, strerror(errno));
bin/ksh/jobs.c
801
bi_errorf("%s: %s", cp, strerror(errno));
bin/ksh/jobs.c
874
tty_fd, (int) ((j->flags & JF_SAVEDTTYPGRP) ? j->saved_ttypgrp : j->pgrp), strerror(errno));
bin/ksh/jobs.c
886
int err = errno;
bin/ksh/jobs.c
898
strerror(errno));
bin/ksh/main.c
301
errorf("%s: %s", s->file, strerror(errno));
bin/ksh/misc.c
1226
if (!tried_reset && (errno == EAGAIN
bin/ksh/misc.c
1228
|| errno == EWOULDBLOCK
bin/ksh/misc.c
1232
int oerrno = errno;
bin/ksh/misc.c
1237
errno = oerrno;
bin/ksh/misc.c
1322
errno = EACCES;
bin/ksh/misc.c
1332
errno = ERANGE;
bin/ksh/path.c
266
if (errno != EINVAL)
bin/ksh/shf.c
309
errno = shf->errno_;
bin/ksh/shf.c
341
errno = shf->errno_;
bin/ksh/shf.c
378
if (errno == EINTR
bin/ksh/shf.c
382
shf->errno_ = errno;
bin/ksh/shf.c
424
errno = shf->errno_;
bin/ksh/shf.c
437
if (shf->rnleft < 0 && errno == EINTR
bin/ksh/shf.c
445
shf->errno_ = errno;
bin/ksh/shf.c
466
errno = EINVAL;
bin/ksh/shf.c
471
errno = shf->errno_;
bin/ksh/shf.c
494
shf->errno_ = errno;
bin/ksh/shf.c
658
errno = shf->errno_;
bin/ksh/shf.c
663
if (errno == EINTR
bin/ksh/shf.c
667
shf->errno_ = errno;
bin/ksh/shf.c
736
if (errno == EINTR
bin/ksh/shf.c
740
shf->errno_ = errno;
bin/ksh/trap.c
133
int errno_ = errno;
bin/ksh/trap.c
145
errno = errno_;
bin/ksh/trap.c
76
int errno_ = errno;
bin/ksh/trap.c
87
errno = errno_;
bin/ksh/tty.c
117
devtty, strerror(errno));
bin/ksh/tty.c
134
strerror(errno));
bin/ksh/tty.c
137
strerror(errno));
bin/ln/ln.c
171
errno = ENOTDIR;
bin/ln/ln.c
247
errno = EISDIR;
bin/ln/ln.c
264
errno = ENAMETOOLONG;
bin/ls/ls.c
479
error = errno;
bin/ls/ls.c
481
errno = error;
bin/ls/ls.c
482
if (errno)
bin/ls/print.c
496
(void)fprintf(stderr, "\nls: %s: %s\n", name, strerror(errno));
bin/ls/print.c
549
} else if (ret < 0 && errno != EINVAL) {
bin/ls/print.c
558
} else if (ret < 0 && errno != EINVAL) {
bin/mkdir/mkdir.c
176
sverrno = errno;
bin/mkdir/mkdir.c
179
errno = sverrno;
bin/mkdir/mkdir.c
185
errno = ENOTDIR;
bin/mv/mv.c
237
if (errno != EXDEV) {
bin/mv/mv.c
352
if (errno != EPERM)
bin/mv/mv.c
358
if (fchflags(to_fd, sbp->st_flags) && (errno != EOPNOTSUPP))
bin/pax/ar_io.c
1097
syswarn(1, errno, "Forward positioning operation on archive failed");
bin/pax/ar_io.c
1153
syswarn(1, errno,
bin/pax/ar_io.c
1179
syswarn(1, errno, "Unable to seek archive backwards");
bin/pax/ar_io.c
1236
syswarn(1, errno, "Unable to backspace tape %ld blocks.",
bin/pax/ar_io.c
1289
syswarn(1, errno, "Unable to locate tape filemark.");
bin/pax/ar_io.c
1307
syswarn(1, errno, "Unable to backspace over tape filemark.");
bin/pax/ar_io.c
1324
syswarn(1, errno, "Unable to backspace over last tape block.");
bin/pax/ar_io.c
1334
syswarn(1, errno, "Cannot determine archive tape blocksize.");
bin/pax/ar_io.c
1351
syswarn(1, errno, "Unable to locate tape filemark.");
bin/pax/ar_io.c
1363
syswarn(1, errno, "Unable to backspace over tape filemark.");
bin/pax/ar_io.c
1400
syswarn(1, errno,
bin/pax/ar_io.c
1432
syswarn(0, errno, "Unable to set signal mask");
bin/pax/ar_io.c
1435
syswarn(0, errno, "Unable to restore signal mask");
bin/pax/ar_io.c
147
syswarn(0, errno, "Failed open on %s", name);
bin/pax/ar_io.c
171
syswarn(0, errno, "Failed open to read on %s", name);
bin/pax/ar_io.c
180
syswarn(0, errno, "Failed open to write on %s", name);
bin/pax/ar_io.c
191
syswarn(0, errno, "Failed open to read/write on %s",
bin/pax/ar_io.c
212
syswarn(0, errno, "Failed stat on %s", arcname);
bin/pax/ar_io.c
236
else if ((lseek(arfd, (off_t)0L, SEEK_CUR) == -1) && (errno == ESPIPE))
bin/pax/ar_io.c
542
syswarn(1, errno, "Unable to truncate archive file");
bin/pax/ar_io.c
588
while (((r = read(fd, buf, bsz)) < 0) && errno == EINTR)
bin/pax/ar_io.c
606
while (((r = rmtread(fd, buf, bsz)) < 0) && errno == EINTR)
bin/pax/ar_io.c
658
while (((r = write(fd, buf, bsz)) < 0) && errno == EINTR)
bin/pax/ar_io.c
677
while (((r = rmtwrite(fd, buf, bsz)) < 0) && errno == EINTR)
bin/pax/ar_io.c
798
syswarn(1, errno, "Failed read on archive volume %d", arvol);
bin/pax/ar_io.c
863
if ((errno == ENOSPC) || (errno == EFBIG))
bin/pax/ar_io.c
866
if (errno == EDQUOT)
bin/pax/ar_io.c
878
if (errno == EACCES) {
bin/pax/ar_io.c
888
if ((errno == ENOSPC) || (errno == EIO) || (errno == ENXIO))
bin/pax/ar_io.c
926
syswarn(1, errno, "Failed write to archive volume: %d", arvol);
bin/pax/ar_subs.c
102
syswarn(1, errno, "Cannot chdir to `.'");
bin/pax/ar_subs.c
112
syswarn(1, errno, "Cannot chdir to `%s'", name);
bin/pax/ar_subs.c
1121
syswarn(1, errno, "Unable to open %s to read",
bin/pax/ar_subs.c
121
syswarn(1, errno, "Can't fchroot to \".\"");
bin/pax/ar_subs.c
141
switch (errno) {
bin/pax/ar_subs.c
148
error = errno;
bin/pax/ar_subs.c
151
errno = error;
bin/pax/ar_subs.c
263
syswarn(1, errno, "Listing incomplete.");
bin/pax/ar_subs.c
622
syswarn(1, errno, "Unable to open %s to read",
bin/pax/ar_subs.c
91
syswarn(1, errno, "Cannot get working directory");
bin/pax/ar_subs.c
958
syswarn(1, errno, "Cannot access destination directory %s",
bin/pax/buf_subs.c
627
syswarn(1, errno, "Failed stat on %s", arcn->org_name);
bin/pax/buf_subs.c
650
syswarn(1, errno, "Read fault on %s", arcn->org_name);
bin/pax/buf_subs.c
654
syswarn(1, errno, "Failed stat on %s", arcn->org_name);
bin/pax/buf_subs.c
705
syswarn(0, errno,
bin/pax/buf_subs.c
809
syswarn(1, errno, "Failed stat on %s", arcn->org_name);
bin/pax/buf_subs.c
821
syswarn(0, errno,
bin/pax/buf_subs.c
844
syswarn(1, errno, "Failed write during copy of %s to %s",
bin/pax/buf_subs.c
852
syswarn(1, errno, "Failed stat of %s", arcn->org_name);
bin/pax/file_subs.c
1020
syswarn(1, errno, "File seek on %s",
bin/pax/file_subs.c
1061
syswarn(1, errno, "Failed write to file %s", name);
bin/pax/file_subs.c
1094
syswarn(1, errno, "Failed seek on file %s", fname);
bin/pax/file_subs.c
1099
syswarn(1, errno, "Failed write to file %s", fname);
bin/pax/file_subs.c
1182
syswarn(1, errno, "Failed stat on %s", arcn->org_name);
bin/pax/file_subs.c
1186
syswarn(1, errno, "File rewind failed on: %s", arcn->org_name);
bin/pax/file_subs.c
149
syswarn(1, errno, "Cannot malloc %d bytes", arcn->nlen + 8);
bin/pax/file_subs.c
168
oerrno = errno;
bin/pax/file_subs.c
198
syswarn(0, errno, "Cannot close file descriptor on %s",
bin/pax/file_subs.c
207
syswarn(0, errno, "Cannot unlink %s", arcn->tmp_name);
bin/pax/file_subs.c
233
syswarn(0, errno, "Cannot close file descriptor on %s",
bin/pax/file_subs.c
271
syswarn(0, errno, "Cannot rename %s to %s",
bin/pax/file_subs.c
419
syswarn(1, errno, "Cannot remove %s", from);
bin/pax/file_subs.c
424
syswarn(1, errno, "Cannot remove %s", from);
bin/pax/file_subs.c
439
oerrno = errno;
bin/pax/file_subs.c
499
syswarn(0, errno,
bin/pax/file_subs.c
561
oerrno = errno;
bin/pax/file_subs.c
615
syswarn(0, errno,"Cannot access %s (stat)",
bin/pax/file_subs.c
690
syswarn(1, errno, "Cannot remove directory %s", name);
bin/pax/file_subs.c
701
syswarn(1, errno, "Cannot unlink %s", name);
bin/pax/file_subs.c
848
syswarn(0, errno, "Cannot obtain file stats %s", fnm);
bin/pax/file_subs.c
857
if (errno != ENOSYS) /* XXX linux: lutimes is per-FS */
bin/pax/file_subs.c
866
syswarn(1, errno, "Access/modification time set failed on: %s", fnm);
bin/pax/file_subs.c
882
syswarn(1, errno, "Cannot set file uid/gid of %s",
bin/pax/file_subs.c
900
syswarn(1, errno, "Cannot set permissions on %s", fnm);
bin/pax/file_subs.c
914
if (chflags(fnm, flags) < 0 && errno != EOPNOTSUPP)
bin/pax/file_subs.c
915
syswarn(1, errno, "Cannot set file flags on %s", fnm);
bin/pax/ftree.c
695
syswarn(1, errno, "Unable to read symlink %s",
bin/pax/options.c
1430
syswarn(1, errno, "Cannot create directory `%s'", path);
bin/pax/options.c
2117
errno = 0;
bin/pax/options.c
2118
if ((when = parsedate(b, NULL, NULL)) == -1 && errno != 0)
bin/pax/options.c
2121
errno = 0;
bin/pax/options.c
2123
if (b == eb || *eb || errno)
bin/pax/pax.c
272
syswarn(1, errno,
bin/pax/pax.c
499
syswarn(1, errno, "Unable to set up signal handler");
bin/pax/tables.c
356
syswarn(1, errno, "Unable to create temporary file: %s",
bin/pax/tables.c
409
syswarn(1, errno,
bin/pax/tables.c
414
syswarn(1, errno,
bin/pax/tables.c
466
syswarn(1, errno, "Failed write to file time table");
bin/pax/tables.c
468
syswarn(1, errno, "Failed seek on file time table");
bin/pax/tar.c
1413
strerror(errno));
bin/ps/ps.c
184
serrno = errno;
bin/ps/ps.c
193
errno = serrno;
bin/rcp/rcp.c
348
syserr: run_err("%s: %s", name, strerror(errno));
bin/rcp/rcp.c
405
haderr = errno;
bin/rcp/rcp.c
413
haderr = errno;
bin/rcp/rcp.c
420
haderr = errno;
bin/rcp/rcp.c
437
run_err("%s: %s", name, strerror(errno));
bin/rcp/rcp.c
613
run_err("%s", strerror(errno));
bin/rcp/rcp.c
627
errno = ENOTDIR;
bin/rcp/rcp.c
651
bad: run_err("%s: %s", np, strerror(errno));
bin/rcp/rcp.c
667
wrerrno = errno; \
bin/rcp/rcp.c
683
run_err("%s", strerror(errno));
bin/rcp/util.c
156
run_err("fstat: %s", strerror(errno));
bin/rcp/util.c
168
run_err("%s", strerror(errno));
bin/rcp/util.c
95
errno = ENOTDIR;
bin/rcp/util.c
97
run_err("%s: %s", cp, strerror(errno));
bin/rm/rm.c
246
if (rval != 0 && fflag && errno == ENOENT)
bin/rm/rm.c
252
if (rval != 0 && fflag && errno == ENOENT)
bin/rm/rm.c
262
if (rval != 0 && fflag && NONEXISTENT(errno))
bin/rm/rm.c
274
if (errno)
bin/rm/rm.c
296
if (!fflag || !NONEXISTENT(errno)) {
bin/rm/rm.c
326
if (rval && (!fflag || !NONEXISTENT(errno))) {
bin/rm/rm.c
415
errno = EPERM;
bin/rm/rm.c
537
!(access(name, W_OK) && (errno != ETXTBSY)))
bin/setfacl/setfacl.c
229
} else if (ret < 0 && errno != EINVAL && errno != ENOENT) {
bin/sh/arithmetic.c
129
errno = 0;
bin/sh/arithmetic.c
131
if (errno != 0 || *p != '\0') {
bin/sh/arithmetic.c
132
if (errno == 0) {
bin/sh/cd.c
147
if (err_set < 0 && errno != ENOENT) {
bin/sh/cd.c
148
err = errno;
bin/sh/cd.c
169
if (err_set <= 0 && errno != ENOENT) {
bin/sh/cd.c
170
err = errno;
bin/sh/cd.c
407
error("stdout: %s", strerror(errno));
bin/sh/cd.c
502
if (errno == ERANGE)
bin/sh/cd.c
505
error("getcwd() failed: %s", strerror(errno));
bin/sh/cd.c
530
|| (i == -1 && errno == EINTR)) {
bin/sh/error.c
235
exvwarning(errno, fmt, ap);
bin/sh/error.c
243
exvwarning(errno, fmt, ap);
bin/sh/error.c
271
exvwarning(errno, fmt, ap);
bin/sh/error.c
278
exvwarning(errno, fmt, ap);
bin/sh/eval.c
1138
serrno = errno;
bin/sh/eval.c
725
error("Pipe call failed: %s", strerror(errno));
bin/sh/exec.c
1206
strerror(errno));
bin/sh/exec.c
135
e = errno;
bin/sh/exec.c
153
errno != ENOENT && errno != ENOTDIR) {
bin/sh/exec.c
166
if (errno == EACCES) {
bin/sh/exec.c
175
e = errno;
bin/sh/exec.c
229
} while (errno == EINTR);
bin/sh/exec.c
233
e = errno;
bin/sh/exec.c
259
errno = e;
bin/sh/exec.c
583
if (errno == EINTR)
bin/sh/exec.c
586
if (errno != ENOENT && errno != ENOTDIR)
bin/sh/exec.c
587
e = errno;
bin/sh/exec.c
670
if (errno == EINTR)
bin/sh/exec.c
673
if (errno != ENOENT && errno != ENOTDIR)
bin/sh/exec.c
674
e = errno;
bin/sh/expand.c
1175
errno = 0;
bin/sh/expand.c
1177
if (errno != 0 || (*ap != '\0' && *ap != '='))
bin/sh/expand.c
1323
errno = 0;
bin/sh/expand.c
1325
if (errno != 0 || (*p != '\0' && *p != '='))
bin/sh/expand.c
700
errno == EINTR)
bin/sh/histedit.c
397
errno = EINVAL;
bin/sh/histedit.c
415
errno = EINVAL;
bin/sh/histedit.c
423
errno = EINVAL;
bin/sh/histedit.c
449
fd, errno));
bin/sh/histedit.c
477
VTRACE(DBG_HISTORY, (" [%d]\n", errno));
bin/sh/histedit.c
493
VTRACE(DBG_HISTORY, ("; funopen2 failed[%d]\n", errno));
bin/sh/input.c
221
if (errno == EINTR)
bin/sh/input.c
223
if (parsefile->fd == 0 && errno == EWOULDBLOCK) {
bin/sh/jobs.c
1361
serrno = errno;
bin/sh/jobs.c
1462
strerror(errno), __LINE__);
bin/sh/jobs.c
1539
strerror(errno), __LINE__);
bin/sh/jobs.c
1621
err = errno;
bin/sh/jobs.c
217
strerror(errno), __LINE__);
bin/sh/jobs.c
220
strerror(errno), __LINE__);
bin/sh/jobs.c
224
strerror(errno), __LINE__);
bin/sh/jobs.c
227
strerror(errno), __LINE__);
bin/sh/jobs.c
273
strerror(errno), __LINE__);
bin/sh/jobs.c
395
e = errno;
bin/sh/jobs.c
619
strerror(errno), __LINE__);
bin/sh/miscbltin.c
123
if (lseek(fd, 0, SEEK_CUR) == -1 && errno == ESPIPE) {
bin/sh/miscbltin.c
124
errno = 0;
bin/sh/miscbltin.c
159
if (len == -1 && errno == EINTR)
bin/sh/miscbltin.c
171
if (errno != EINTR)
bin/sh/miscbltin.c
202
if (len == -1 && errno == EINTR)
bin/sh/miscbltin.c
536
strerror(errno));
bin/sh/miscbltin.c
749
error("error getting limit (%s)", strerror(errno));
bin/sh/miscbltin.c
756
error("error setting limit (%s)", strerror(errno));
bin/sh/output.c
622
} else if (errno != EINTR) {
bin/sh/redir.c
1084
if ((cloexec > 0 && fd <= 2 && (errno = EINVAL)) ||
bin/sh/redir.c
1086
error("Can't set status for fd=%d (%s)", fd, strerror(errno));
bin/sh/redir.c
1095
error("Can't set flags for fd=%d (%s)", fd, strerror(errno));
bin/sh/redir.c
296
error("fd %d: %s", fd, strerror(errno));
bin/sh/redir.c
327
switch (errno) {
bin/sh/redir.c
338
if (errno == EMFILE || errno == EINVAL)
bin/sh/redir.c
345
error("%d: %s", fd, strerror(errno));
bin/sh/redir.c
416
int serrno = errno;
bin/sh/redir.c
418
errno = serrno;
bin/sh/redir.c
422
errno = EEXIST;
bin/sh/redir.c
455
redir->ndup.dupfd, fd, strerror(errno));
bin/sh/redir.c
481
int e = errno;
bin/sh/redir.c
495
error("cannot create %s: %s", fname, errmsg(errno, E_CREAT));
bin/sh/redir.c
498
error("cannot open %s: %s", fname, errmsg(errno, E_OPEN));
bin/sh/redir.c
659
strerror(errno));
bin/sh/redir.c
694
int e = errno;
bin/sh/redir.c
753
if (errno != EMFILE && errno != EINVAL)
bin/sh/redir.c
993
error("Can't get status for fd=%d (%s)", fd, strerror(errno));
bin/sh/redir.c
998
error("Can't get flags for fd=%d (%s)", fd, strerror(errno));
bin/sh/show.c
151
error("Can't open tracefile: %s (%s)\n", s, strerror(errno));
bin/sh/trap.c
569
VTRACE(DBG_TRAP, (" getsigaction (%d)\n", errno));
bin/sh/trap.c
719
int sav_err = errno;
bin/sh/trap.c
756
errno = sav_err;
bin/sh/trap.c
776
errno = sav_err;
bin/sh/trap.c
797
errno = sav_err;
bin/sleep/sleep.c
151
errno = 0;
bin/sleep/sleep.c
155
if (errno == ERANGE)
bin/sleep/sleep.c
158
else if (errno != 0)
bin/sleep/sleep.c
195
errno = e;
bin/test/test.c
858
errno = 0;
bin/test/test.c
861
if (errno != 0)
bin/test/test.c
862
if (errno == ERANGE && (r == LLONG_MAX || r == LLONG_MIN))
common/dist/zlib/examples/gun.c
579
errno = 0;
common/dist/zlib/examples/gun.c
610
outname, strerror(errno));
common/dist/zlib/examples/gun.c
612
else if (errno) {
common/dist/zlib/examples/gun.c
614
inname, strerror(errno));
common/dist/zlib/examples/gzlog.c
355
if (errno != EEXIST)
common/dist/zlib/examples/gzlog.c
590
if (ret && errno != ENOENT)
common/dist/zlib/examples/gznorm.c
454
BYE("i/o error: %s", strerror(errno));
common/dist/zlib/gzguts.h
134
# define zstrerror() strerror(errno)
common/dist/zlib/gzread.c
24
errno = 0;
common/dist/zlib/gzread.c
36
if (errno == EAGAIN || errno == EWOULDBLOCK) {
common/dist/zlib/gzwrite.c
113
errno = 0;
common/dist/zlib/gzwrite.c
119
if (errno == EAGAIN || errno == EWOULDBLOCK)
common/dist/zlib/gzwrite.c
79
errno = 0;
common/dist/zlib/gzwrite.c
84
if (errno == EAGAIN || errno == EWOULDBLOCK)
common/dist/zlib/zutil.c
150
int errno = 0;
common/lib/libc/cdb/cdbr.c
71
#define SET_ERRNO(val) errno = (val)
common/lib/libc/stdlib/_strtoi.h
101
serrno = errno;
common/lib/libc/stdlib/_strtoi.h
102
errno = 0;
common/lib/libc/stdlib/_strtoi.h
114
if (errno != EINVAL)
common/lib/libc/stdlib/_strtoi.h
115
*rstatus = errno;
common/lib/libc/stdlib/_strtoi.h
116
errno = serrno;
common/lib/libc/stdlib/_strtol.h
167
errno = ERANGE;
common/lib/libc/stdlib/_strtol.h
182
errno = ERANGE;
common/lib/libc/stdlib/_strtol.h
69
errno = EINVAL;
common/lib/libc/stdlib/_strtoul.h
144
errno = ERANGE;
common/lib/libc/stdlib/_strtoul.h
69
errno = EINVAL;
common/lib/libc/stdlib/heapsort.c
201
errno = EINVAL;
common/lib/libc/sys/cpuset.c
109
errno = EINVAL;
common/lib/libc/sys/cpuset.c
122
errno = EINVAL;
common/lib/libc/sys/cpuset.c
97
errno = EINVAL;
common/lib/libprop/prop_data.c
658
errno = 0;
common/lib/libprop/prop_data.c
662
if (len == ULONG_MAX && errno == ERANGE)
common/lib/libprop/prop_extern.c
583
errno = EFBIG;
common/lib/libprop/prop_extern.c
593
errno = ENAMETOOLONG;
common/lib/libprop/prop_extern.c
625
save_errno = errno;
common/lib/libprop/prop_extern.c
632
errno = save_errno;
common/lib/libprop/prop_extern.c
649
int save_errno = errno;
common/lib/libprop/prop_extern.c
651
errno = save_errno;
common/lib/libprop/prop_kern.c
101
return errno;
common/lib/libprop/prop_kern.c
122
error = errno;
common/lib/libprop/prop_kern.c
138
errno = rv; /* pass up error value in errno */
common/lib/libprop/prop_kern.c
195
errno = rv; /* pass up error value in errno */
common/lib/libprop/prop_kern.c
222
return errno;
common/lib/libprop/prop_kern.c
262
return errno;
common/lib/libprop/prop_kern.c
266
errno = rv; /* pass up error value in errno */
common/lib/libprop/prop_kern.c
308
errno = error;
common/lib/libprop/prop_kern.c
313
error = errno;
common/lib/libprop/prop_kern.c
324
errno = error; /* pass up error value in errno */
common/lib/libprop/prop_kern.c
83
errno = rv; /* pass up error value in errno */
common/lib/libprop/prop_number.c
638
errno = 0;
common/lib/libprop/prop_number.c
642
if (pnv->pnv_unsigned == UINT64_MAX && errno == ERANGE)
common/lib/libprop/prop_number.c
660
errno = 0;
common/lib/libprop/prop_number.c
665
errno == ERANGE)
common/lib/libutil/snprintb.c
307
errno = EINVAL;
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1166
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1335
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1523
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1603
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1674
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1729
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1777
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1833
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1878
if (errno == EINTR)
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1880
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1893
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1898
if (errno == EINTR)
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1900
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1932
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
197
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
428
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
636
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/libipsec/policy_parse.y
171
errno = 0;
crypto/dist/ipsec-tools/src/libipsec/policy_parse.y
172
if (errno != 0 || p_priority_offset < INT32_MIN)
crypto/dist/ipsec-tools/src/libipsec/policy_parse.y
189
errno = 0;
crypto/dist/ipsec-tools/src/libipsec/policy_parse.y
192
if (errno != 0 || p_priority_offset > INT32_MAX)
crypto/dist/ipsec-tools/src/libipsec/policy_parse.y
222
errno = 0;
crypto/dist/ipsec-tools/src/libipsec/policy_parse.y
225
if (errno != 0 || p_priority_offset > PRIORITY_OFFSET_NEGATIVE_MAX)
crypto/dist/ipsec-tools/src/libipsec/policy_parse.y
244
errno = 0;
crypto/dist/ipsec-tools/src/libipsec/policy_parse.y
247
if (errno != 0 || p_priority_offset > PRIORITY_OFFSET_POSITIVE_MAX)
crypto/dist/ipsec-tools/src/libipsec/policy_parse.y
384
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/libipsec/policy_parse.y
391
__ipsec_set_strerror(strerror(errno));
crypto/dist/ipsec-tools/src/racoon/admin.c
115
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/admin.c
122
if (errno == EINTR)
crypto/dist/ipsec-tools/src/racoon/admin.c
126
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/admin.c
146
if (errno == EINTR)
crypto/dist/ipsec-tools/src/racoon/admin.c
150
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/admin.c
390
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/admin.c
399
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/admin.c
670
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/admin.c
712
"socket: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/admin.c
722
sunaddr.sun_path, strerror(errno));
crypto/dist/ipsec-tools/src/racoon/admin.c
731
adminsock_group, strerror(errno));
crypto/dist/ipsec-tools/src/racoon/admin.c
739
sunaddr.sun_path, adminsock_mode, strerror(errno));
crypto/dist/ipsec-tools/src/racoon/admin.c
747
sunaddr.sun_path, strerror(errno));
crypto/dist/ipsec-tools/src/racoon/cfparse.y
2989
errno = 0;
crypto/dist/ipsec-tools/src/racoon/cfparse.y
2991
isnum = !errno;
crypto/dist/ipsec-tools/src/racoon/cfparse.y
3003
errno = 0;
crypto/dist/ipsec-tools/src/racoon/cfparse.y
3005
isnum = !errno;
crypto/dist/ipsec-tools/src/racoon/dump.c
112
return errno;
crypto/dist/ipsec-tools/src/racoon/dump.c
179
return errno;
crypto/dist/ipsec-tools/src/racoon/dump.c
181
return errno;
crypto/dist/ipsec-tools/src/racoon/dump.c
196
return errno;
crypto/dist/ipsec-tools/src/racoon/dump.c
208
return errno;
crypto/dist/ipsec-tools/src/racoon/dump.c
218
return errno;
crypto/dist/ipsec-tools/src/racoon/dump.c
222
return errno;
crypto/dist/ipsec-tools/src/racoon/dump.c
99
return errno;
crypto/dist/ipsec-tools/src/racoon/evt.c
144
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/evt.c
150
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/evt.c
204
"evt_dump failed: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/evt.c
226
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/evt.c
273
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/evt.c
347
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/evt.c
348
return errno;
crypto/dist/ipsec-tools/src/racoon/getcertsbyname.c
178
printf("getnewci: %s", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/getcertsbyname.c
225
printf("realloc: %s", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/getcertsbyname.c
316
printf("getnewci: %s", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
572
if (errno == EINTR)
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
574
if (errno == EAGAIN)
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
600
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
650
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
666
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
674
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
792
if (len < 0 && errno != EWOULDBLOCK && errno != EAGAIN)
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
794
"routing socket error: %s", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
821
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
829
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
858
"sysctl() error: %s", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
874
"sysctl() error: %s", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/gssapi.c
142
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2797
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
2809
"%s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
635
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
658
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1604
"socket(%s)\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1624
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1644
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1668
pktinfo, strerror(errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1677
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1694
saddr2str(addr), strerror(errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1704
saddr2str(addr), strerror(errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
228
if (errno == EINTR)
crypto/dist/ipsec-tools/src/racoon/isakmp.c
232
strerror (errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
243
strerror (errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
282
strerror (errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
295
strerror (errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
310
strerror (errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
3107
"Cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
3116
"Cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
3143
argv[0], strerror(errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
3147
"Cannot fork: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/isakmp.c
318
if (errno == EINTR)
crypto/dist/ipsec-tools/src/racoon/isakmp.c
322
strerror (errno));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1554
"uname failed: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1560
"gethostbyname failed: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
2029
isakmp_cfg_config.pool_size, size, strerror(errno));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
462
"Cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
1366
return errno;
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
582
return errno;
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
645
return errno;
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
778
return errno;
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
825
return errno;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
717
"cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/kmpstat.c
152
errno = h.ac_errno;
crypto/dist/ipsec-tools/src/racoon/main.c
321
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/main.c
331
"cannot clear logname: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/nattraversal.c
380
strerror (errno));
crypto/dist/ipsec-tools/src/racoon/oakley.c
2777
"vdup (%s)\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/oakley.c
2854
plog(LLV_ERROR, LOCATION, NULL, "vdup (%s)\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/pfkey.c
220
if (errno == EAGAIN)
crypto/dist/ipsec-tools/src/racoon/pfkey.c
225
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/pfkey.c
3620
while (*lenp < 0 && errno == EAGAIN && retry < 3);
crypto/dist/ipsec-tools/src/racoon/pfkey.c
3631
errno = EIO;
crypto/dist/ipsec-tools/src/racoon/pfkey.c
861
errno = EINVAL;
crypto/dist/ipsec-tools/src/racoon/plainrsa-gen.c
258
if (errno == EEXIST)
crypto/dist/ipsec-tools/src/racoon/plainrsa-gen.c
261
fprintf(stderr, "%s: %s\n", fname, strerror(errno));
crypto/dist/ipsec-tools/src/racoon/plainrsa-gen.c
266
fprintf(stderr, "%s: %s\n", fname, strerror(errno));
crypto/dist/ipsec-tools/src/racoon/plainrsa-gen.c
276
if (errno == ELOOP)
crypto/dist/ipsec-tools/src/racoon/plainrsa-gen.c
284
fprintf(stderr, "%s: %s\n", fname, strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
1031
errno = msg->hdr.ac_errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
1055
"Cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
1077
errno = msg->hdr.ac_errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
1114
"Cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
113
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
1141
errno = msg->hdr.ac_errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
1168
if ((err == 0) || (saved_errno = errno) != EACCES || geteuid() == 0) {
crypto/dist/ipsec-tools/src/racoon/privsep.c
1172
errno = saved_errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
1180
"Cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
1211
errno = msg->hdr.ac_errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
1239
(saved_errno = errno) != EACCES ||
crypto/dist/ipsec-tools/src/racoon/privsep.c
1246
errno = saved_errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
1254
"Cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
1289
errno = msg->hdr.ac_errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
1315
"Cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
136
if (errno == EINTR)
crypto/dist/ipsec-tools/src/racoon/privsep.c
1367
"Cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
138
if (errno == ECONNRESET)
crypto/dist/ipsec-tools/src/racoon/privsep.c
1398
errno = msg->hdr.ac_errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
143
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
1607
"Cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
161
"failed to allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
1633
errno = msg->hdr.ac_errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
1664
"Cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
168
if (errno == EINTR)
crypto/dist/ipsec-tools/src/racoon/privsep.c
1699
errno = msg->hdr.ac_errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
170
if (errno == ECONNRESET)
crypto/dist/ipsec-tools/src/racoon/privsep.c
1729
"Cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
174
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
1752
errno = msg->hdr.ac_errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
223
"Cannot allocate privsep_sock: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
230
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
240
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
246
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
254
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
261
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
268
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
275
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
360
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
394
reply->hdr.ac_errno = errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
404
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
458
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
524
reply->hdr.ac_errno = errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
534
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
571
reply->hdr.ac_errno = errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
631
reply->hdr.ac_errno = errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
685
reply->hdr.ac_errno = errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
719
errno = 0;
crypto/dist/ipsec-tools/src/racoon/privsep.c
722
if (errno == 0)
crypto/dist/ipsec-tools/src/racoon/privsep.c
725
reply->hdr.ac_errno = errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
742
errno = 0;
crypto/dist/ipsec-tools/src/racoon/privsep.c
744
if (errno == 0)
crypto/dist/ipsec-tools/src/racoon/privsep.c
747
reply->hdr.ac_errno = errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
779
errno = 0;
crypto/dist/ipsec-tools/src/racoon/privsep.c
781
if (errno == 0)
crypto/dist/ipsec-tools/src/racoon/privsep.c
784
reply->hdr.ac_errno = errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
823
errno = 0;
crypto/dist/ipsec-tools/src/racoon/privsep.c
826
if (errno == 0)
crypto/dist/ipsec-tools/src/racoon/privsep.c
829
reply->hdr.ac_errno = errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
901
"Cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
917
errno = msg->hdr.ac_errno;
crypto/dist/ipsec-tools/src/racoon/privsep.c
947
"Cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/privsep.c
998
"Cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
323
if (errno == EEXIST)
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
350
errno = EINVAL;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
482
errno = EPROTONOSUPPORT;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
545
errx(1, "getpass() failed: %s", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
585
errno = EPROTONOSUPPORT;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
756
errno = EPROTONOSUPPORT;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
768
errno = EINVAL;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
778
errno = EINVAL;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
788
errno = EINVAL;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
811
errno = EAFNOSUPPORT;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
826
errno = EINVAL;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
966
errno = EINVAL;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
976
errno = EINVAL;
crypto/dist/ipsec-tools/src/racoon/remoteconf.c
1088
"Cannot allocate memory: %s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/schedule.c
291
switch (errno) {
crypto/dist/ipsec-tools/src/racoon/session.c
263
syslog(LOG_ERR, "%s", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/session.c
302
switch (errno) {
crypto/dist/ipsec-tools/src/racoon/session.c
308
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/session.c
502
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
161
"socket (%s)\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
169
"connect (%s)\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
176
"getsockname (%s)\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
217
"getsockname (%s)\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
233
"recvmsg (%s)\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
347
"getsockname (%s)\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
425
"sendmsg (%s)\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
483
"sendmsg (%s)\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
516
"socket (%s)\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
528
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
538
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
551
"bind 1 (%s)\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
562
"sendto (%s)\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
618
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
637
strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
652
"%s\n", strerror(errno));
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
677
"%s\n", strerror(errno));
crypto/dist/ipsec-tools/src/setkey/setkey.c
856
errno = EINVAL;
dist/pf/libexec/tftp-proxy/filter.c
121
errno = EINVAL;
dist/pf/libexec/tftp-proxy/filter.c
219
errno = EINVAL;
dist/pf/libexec/tftp-proxy/filter.c
238
errno = EPROTONOSUPPORT;
dist/pf/libexec/tftp-proxy/filter.c
260
errno = EINVAL;
dist/pf/libexec/tftp-proxy/filter.c
321
errno = EINVAL;
dist/pf/libexec/tftp-proxy/filter.c
340
errno = EPROTONOSUPPORT;
dist/pf/libexec/tftp-proxy/filter.c
67
errno = EINVAL;
dist/pf/libexec/tftp-proxy/filter.c
88
errno = EINVAL;
dist/pf/libexec/tftp-proxy/tftp-proxy.c
274
((struct sockaddr *)&server)->sa_len) < 0 && errno != EINPROGRESS) {
dist/pf/sbin/pfctl/parse.y
4159
if (errno)
dist/pf/sbin/pfctl/parse.y
4161
ti->file, strerror(errno));
dist/pf/sbin/pfctl/parse.y
4170
strerror(errno));
dist/pf/sbin/pfctl/parse.y
4181
pfr_strerror(errno));
dist/pf/sbin/pfctl/parse.y
5435
errno = 0;
dist/pf/sbin/pfctl/parse.y
5439
if (errno == ERANGE && ulval == ULONG_MAX)
dist/pf/sbin/pfctl/pfctl.c
1326
if (errno == ENXIO)
dist/pf/sbin/pfctl/pfctl.c
1328
else if (errno == ENODEV)
dist/pf/sbin/pfctl/pfctl.c
1497
errno = EISDIR;
dist/pf/sbin/pfctl/pfctl.c
1636
if (errno == EBUSY)
dist/pf/sbin/pfctl/pfctl.c
1891
if (errno == ENODEV) {
dist/pf/sbin/pfctl/pfctl.c
1911
if (errno == EINVAL)
dist/pf/sbin/pfctl/pfctl.c
245
if (errno == EEXIST)
dist/pf/sbin/pfctl/pfctl.c
254
if (errno != EEXIST)
dist/pf/sbin/pfctl/pfctl.c
264
if (errno == ENOENT)
dist/pf/sbin/pfctl/pfctl.c
273
if (errno != ENOENT)
dist/pf/sbin/pfctl/pfctl_osfp.c
309
if (errno == EBUSY)
dist/pf/sbin/pfctl/pfctl_osfp.c
640
if ((errno = pf_osfp_add(fp)))
dist/pf/sbin/pfctl/pfctl_osfp.c
645
if (errno == EEXIST) {
dist/pf/sbin/pfctl/pfctl_parser.c
1654
errno = 0;
dist/pf/sbin/pfctl/pfctl_parser.c
1694
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_parser.c
1699
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
101
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
123
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
146
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
168
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
188
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
211
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
234
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
265
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
288
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
310
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
332
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
354
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
380
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
403
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
430
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
437
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
467
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
512
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
530
errno = ENOMEM;
dist/pf/sbin/pfctl/pfctl_radix.c
614
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_radix.c
80
errno = EINVAL;
dist/pf/sbin/pfctl/pfctl_table.c
414
if (errno)
dist/pf/sbin/pfctl/pfctl_table.c
490
fprintf(stderr, "%s: %s.\n", __progname, pfr_strerror(errno));
dist/pf/sbin/pfctl/pfctl_table.c
91
(errno != EPERM)) { \
dist/pf/sbin/pflogd/pflogd.c
270
logmsg(LOG_ERR, "BIOCLOCK: %s", strerror(errno));
dist/pf/sbin/pflogd/pflogd.c
338
logmsg(LOG_ERR, "Error: %s: %s", filename, strerror(errno));
dist/pf/sbin/pflogd/pflogd.c
343
logmsg(LOG_ERR, "Error: %s: %s", filename, strerror(errno));
dist/pf/sbin/pflogd/pflogd.c
517
logmsg(LOG_ERR, "Logging suspended: fwrite: %s", strerror(errno));
dist/pf/sbin/pflogd/pflogd.c
533
strerror(errno));
dist/pf/sbin/pflogd/pflogd.c
540
strerror(errno));
dist/pf/sbin/pflogd/pflogd.c
687
strerror(errno));
dist/pf/sbin/pflogd/privsep.c
167
olderrno = errno;
dist/pf/sbin/pflogd/privsep.c
230
if (errno != EEXIST && errno != EINTR) {
dist/pf/sbin/pflogd/privsep.c
232
strerror(errno));
dist/pf/sbin/pflogd/privsep.c
239
name, ren, strerror(errno));
dist/pf/sbin/pflogd/privsep.c
309
int oerrno = errno;
dist/pf/sbin/pflogd/privsep.c
313
errno = oerrno;
dist/pf/sbin/pflogd/privsep.c
334
if (errno == EINTR || errno == EAGAIN)
dist/pf/sbin/pflogd/privsep.c
358
if (errno == EINTR || errno == EAGAIN)
dist/pf/sbin/pflogd/privsep.c
381
if (errno == EINTR || errno == EAGAIN)
dist/pf/sbin/pflogd/privsep_fdpass.c
122
errno = result;
dist/pf/sbin/pflogd/privsep_fdpass.c
71
result = errno;
dist/pf/usr.sbin/authpf/authpf.c
206
strerror(errno));
dist/pf/usr.sbin/authpf/authpf.c
212
save_errno = errno;
dist/pf/usr.sbin/authpf/authpf.c
259
syslog(LOG_INFO, "setgroups: %s", strerror(errno));
dist/pf/usr.sbin/authpf/authpf.c
267
syslog(LOG_INFO, "setresuid: %s", strerror(errno));
dist/pf/usr.sbin/authpf/authpf.c
273
syslog(LOG_INFO, "setresuid: %s", strerror(errno));
dist/pf/usr.sbin/authpf/authpf.c
453
if (errno == ENOENT) {
dist/pf/usr.sbin/authpf/authpf.c
467
PATH_ALLOWFILE, strerror(errno));
dist/pf/usr.sbin/authpf/authpf.c
534
if (errno == ENOENT) {
dist/pf/usr.sbin/authpf/authpf.c
547
tmp, strerror(errno));
dist/pf/usr.sbin/authpf/authpf.c
587
if (errno == EINVAL)
dist/pf/usr.sbin/authpf/authpf.c
602
errno = 0;
dist/pf/usr.sbin/authpf/authpf.c
608
if (!prs.name[0] || errno ||
dist/pf/usr.sbin/authpf/authpf.c
611
if (kill(pid, 0) && errno != EPERM) {
dist/pf/usr.sbin/authpf/authpf.c
629
errno != EINVAL)
dist/pf/usr.sbin/authpf/authpf.c
763
errno != ESRCH) {
dist/pf/usr.sbin/authpf/authpf.c
766
strerror(errno));
dist/pf/usr.sbin/ftp-proxy/filter.c
112
errno = EINVAL;
dist/pf/usr.sbin/ftp-proxy/filter.c
146
errno = EINVAL;
dist/pf/usr.sbin/ftp-proxy/filter.c
241
errno = EINVAL;
dist/pf/usr.sbin/ftp-proxy/filter.c
260
errno = EPROTONOSUPPORT;
dist/pf/usr.sbin/ftp-proxy/filter.c
282
errno = EINVAL;
dist/pf/usr.sbin/ftp-proxy/filter.c
344
errno = EINVAL;
dist/pf/usr.sbin/ftp-proxy/filter.c
364
errno = EPROTONOSUPPORT;
dist/pf/usr.sbin/ftp-proxy/filter.c
90
errno = EINVAL;
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
1083
if (errno != EBUSY)
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
1097
logmsg(LOG_CRIT, "#%d pf operation failed: %s", s->id, strerror(errno));
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
320
error = errno;
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
322
error = errno;
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
407
logmsg(LOG_CRIT, "accept failed: %s", strerror(errno));
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
446
strerror(errno));
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
467
strerror(errno));
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
473
s->id, strerror(errno));
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
481
s->id, strerror(errno));
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
485
errno != EINPROGRESS) {
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
487
s->id, sock_ntop(server_sa), strerror(errno));
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
494
strerror(errno));
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
798
logmsg(LOG_ERR, "cannot drop privileges: %s", strerror(errno));
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
821
logmsg(LOG_ERR, "event_dispatch error: %s", strerror(errno));
dist/pf/usr.sbin/ftp-proxy/ipf.c
117
errno = EINVAL;
dist/pf/usr.sbin/ftp-proxy/ipf.c
202
errno = EINVAL;
dist/pf/usr.sbin/ftp-proxy/ipf.c
230
errno = ENOENT;
dist/pf/usr.sbin/ftp-proxy/ipf.c
236
errno = EINVAL;
dist/pf/usr.sbin/ftp-proxy/ipf.c
242
errno = ENOMEM;
dist/pf/usr.sbin/ftp-proxy/ipf.c
354
errno = EPROTONOSUPPORT;
dist/pf/usr.sbin/ftp-proxy/npf.c
241
errno = EINVAL;
dist/pf/usr.sbin/ftp-proxy/npf.c
250
errno = ENOMEM;
dist/pf/usr.sbin/ftp-proxy/npf.c
255
errno = npf_rule_setcode(rl, NPF_CODE_BPF, insns, sizeof(insns));
dist/pf/usr.sbin/ftp-proxy/npf.c
256
if (errno) {
dist/pf/usr.sbin/ftp-proxy/npf.c
280
errno = EINVAL;
dist/pf/usr.sbin/ftp-proxy/npf.c
291
errno = ENOMEM;
dist/pf/usr.sbin/ftp-proxy/npf.c
294
errno = npf_nat_setaddr(nt, AF_INET, &addr, 0);
dist/pf/usr.sbin/ftp-proxy/npf.c
295
if (errno) {
dist/pf/usr.sbin/ftp-proxy/npf.c
300
errno = npf_rule_setcode(nt, NPF_CODE_BPF, insns, sizeof(insns));
dist/pf/usr.sbin/ftp-proxy/npf.c
301
if (errno) {
dist/pf/usr.sbin/ftp-proxy/npf.c
324
errno = EINVAL;
dist/pf/usr.sbin/ftp-proxy/npf.c
335
errno = ENOMEM;
dist/pf/usr.sbin/ftp-proxy/npf.c
338
errno = npf_nat_setaddr(nt, AF_INET, &addr, 0);
dist/pf/usr.sbin/ftp-proxy/npf.c
339
if (errno) {
dist/pf/usr.sbin/ftp-proxy/npf.c
342
errno = npf_nat_setport(nt, htons(rdr_port));
dist/pf/usr.sbin/ftp-proxy/npf.c
343
if (errno) {
dist/pf/usr.sbin/ftp-proxy/npf.c
348
errno = npf_rule_setcode(nt, NPF_CODE_BPF, insns, sizeof(insns));
dist/pf/usr.sbin/ftp-proxy/npf.c
349
if (errno) {
dist/pf/usr.sbin/ftp-proxy/npf.c
381
errno = ENOMEM;
dist/pf/usr.sbin/ftp-proxy/npf.c
388
errno = ENOMEM;
dist/pf/usr.sbin/ftp-proxy/npf.c
407
errno = npf_config_submit(ncf, npf_fd, NULL);
dist/pf/usr.sbin/ftp-proxy/npf.c
408
if (errno != 0)
distrib/utils/edlabel/edlabel.c
389
if (errno == ESRCH)
distrib/utils/libhack/getgrent.c
93
#include <errno.h>
distrib/utils/libhack/gethost.c
148
errno = EINVAL;
distrib/utils/libhack/gethost.c
229
errno = ENOSPC;
distrib/utils/libhack/opendir.c
67
errno = ENOTDIR;
distrib/utils/libhack/perror.c
55
s, separator, strerror(errno));
distrib/utils/libhack/syslog.c
51
(void)fprintf(stderr, " (%s)", strerror(errno));
distrib/utils/more/main.c
124
strerror(errno));
distrib/utils/more/os.c
265
strerror(errno));
games/adventure/setup.c
87
strerror(errno));
games/atc/graphics.c
81
errno = 0;
games/atc/graphics.c
82
while ((c = getchar()) == EOF && errno == EINTR) {
games/atc/graphics.c
83
errno = 0;
games/backgammon/common_source/save.c
94
if ((fdesc = open(fname, O_RDWR)) == -1 && errno == ENOENT) {
games/caesar/caesar.c
115
errno = 0;
games/caesar/caesar.c
117
if (errno == 0 && (arg[0] == '\0' || *endp != '\0'))
games/caesar/caesar.c
118
errno = EINVAL;
games/caesar/caesar.c
119
if (errno == 0 && (rot < 0 || rot > INT_MAX))
games/caesar/caesar.c
120
errno = ERANGE;
games/caesar/caesar.c
121
if (errno)
games/cribbage/instr.c
94
} while (pid == -1 && errno == EINTR);
games/factor/factor.c
418
errno = 0;
games/factor/factor.c
420
return (errno == 0 ? 1 : 0); /* OpenSSL returns 0 on error! */
games/factor/factor.c
428
errno = 0;
games/factor/factor.c
430
return (errno == 0 ? 1 : 0); /* OpenSSL returns 0 on error! */
games/hack/hack.unix.c
255
if (!(kill(lockedpid, 0) == -1 && errno == ESRCH))
games/hack/hack.unix.c
278
int errnosv = errno;
games/hack/hack.unix.c
309
if (errno == ENOENT)
games/hunt/hunt/hunt.c
305
errno = 0;
games/hunt/hunt/hunt.c
308
if (errno != ECONNREFUSED) {
games/hunt/hunt/hunt.c
333
if (errno != ENOENT) {
games/hunt/hunt/hunt.c
627
int serrno = errno;
games/hunt/hunt/hunt.c
632
errno = serrno;
games/hunt/hunt/playit.c
103
errno = 0;
games/hunt/hunt/playit.c
215
errno = 0;
games/hunt/hunt/playit.c
217
} while (nfds <= 0 && errno == EINTR);
games/hunt/hunt/server.c
283
errno = 0;
games/hunt/hunt/server.c
289
if (errno == EINTR) {
games/hunt/hunt/server.c
302
if (errno == EINTR) {
games/hunt/huntd/answer.c
78
if (errno == EINTR)
games/hunt/huntd/driver.c
140
errno = 0;
games/hunt/huntd/driver.c
142
if (errno || *t != '\0') {
games/hunt/huntd/driver.c
245
errno = 0;
games/hunt/huntd/driver.c
248
if (errno != EINTR)
games/hunt/huntd/driver.c
250
errno = 0;
games/hunt/huntd/driver.c
440
if (errno == EADDRINUSE)
games/hunt/huntd/driver.c
456
if (errno == EADDRINUSE)
games/hunt/huntd/driver.c
907
if (pp->p_nchar < 0 && errno == EINTR) {
games/hunt/huntd/driver.c
910
if (errno == EINTR)
games/hunt/huntd/driver.c
967
if (errno == EINTR)
games/hunt/huntd/support.c
47
int serrno = errno;
games/larn/io.c
474
strerror(errno));
games/mille/save.c
116
error("%s", strerror(errno));
games/mille/varpush.c
101
error("%s", strerror(errno));
games/mille/varpush.c
73
error("%s", strerror(errno));
games/mille/varpush.c
78
error("%s", strerror(errno));
games/monop/execute.c
662
errno = 0;
games/monop/execute.c
672
if (errno) {
games/monop/execute.c
727
errno = 0;
games/monop/execute.c
729
if (errno || strlen(s)>0) {
games/monop/misc.c
113
errno = 0;
games/monop/misc.c
115
if (errno || strlen(sp) > 0 || num < 0 || num >= INT_MAX) {
games/phantasia/misc.c
949
(*funcp) ("An unrecoverable error has occurred reading %s. (%s)\n", whichfile, strerror(errno));
games/primes/primes.c
135
errno = 0;
games/primes/primes.c
137
if (errno)
games/primes/primes.c
142
errno = 0;
games/primes/primes.c
144
if (errno)
games/primes/primes.c
154
errno = 0;
games/primes/primes.c
156
if (errno)
games/primes/primes.c
195
errno = 0;
games/primes/primes.c
197
if (errno)
games/rain/rain.c
86
if (errno == ERANGE && val == ULONG_MAX)
games/random/random.c
93
errno = 0;
games/random/random.c
95
if (errno == ERANGE)
games/robots/main.c
126
score_err = errno;
games/robots/main.c
148
errno = score_err;
games/robots/main.c
75
score_err = errno;
games/sail/lo_main.c
80
mvprintw(5, 10, "%s: %s", _PATH_LOGFILE, strerror(errno));
games/sail/lo_main.c
94
mvprintw(5, 10, "%s: %s", _PATH_LOGFILE, strerror(errno));
games/sail/pl_7.c
1075
oops(21, 10, "syncfile: %s", strerror(errno));
games/sail/pl_7.c
339
errsave = errno;
games/sail/pl_7.c
345
errno = errsave;
games/sail/sync.c
337
if (errno != EWOULDBLOCK)
games/sail/sync.c
348
if (errno != EEXIST)
games/tetris/input.c
96
if (errno == EINTR)
games/tetris/scores.c
405
serrno = errno;
games/tetris/scores.c
416
errno = serrno;
games/tetris/scores.c
417
if (fdp != NULL || errno != ENOENT) {
games/tetris/scores.c
584
if (errno == EINTR) {
games/warp/score.c
607
(logfd==NULL?"log":"tmp"),errno);
games/warp/score.c
676
int e = errno;
games/warp/term.c
718
errno = 0;
games/warp/term.c
719
if (read_tty(wbuf,1) < 0 && !errno)
games/warp/term.c
720
errno = EINTR;
games/warp/term.c
730
if (errno && errno != EINTR) {
games/warp/util.c
172
errno = EACCES;
include/errno.h
54
#ifndef errno
lib/libbluetooth/bt_dev.c
108
errno = ENXIO;
lib/libbluetooth/bt_dev.c
123
errno = EINVAL;
lib/libbluetooth/bt_dev.c
141
errno = ENXIO;
lib/libbluetooth/bt_dev.c
206
errno = EINVAL;
lib/libbluetooth/bt_dev.c
221
if (errno == EINTR)
lib/libbluetooth/bt_dev.c
240
errno = EINVAL;
lib/libbluetooth/bt_dev.c
255
if (errno == EINTR)
lib/libbluetooth/bt_dev.c
265
errno = ETIMEDOUT;
lib/libbluetooth/bt_dev.c
271
if (errno == EINTR)
lib/libbluetooth/bt_dev.c
314
errno = EIO;
lib/libbluetooth/bt_dev.c
333
return errno;
lib/libbluetooth/bt_dev.c
343
return errno;
lib/libbluetooth/bt_dev.c
408
errno = EINVAL;
lib/libbluetooth/bt_dev.c
428
errno = error;
lib/libbluetooth/bt_dev.c
441
errno = EINVAL;
lib/libbluetooth/bt_dev.c
589
errno = EINVAL;
lib/libbluetooth/bt_dev.c
660
errno = EIO;
lib/libbluetooth/bt_dev.c
679
errno = EIO;
lib/libbluetooth/bt_dev.c
766
errno = ETIMEDOUT;
lib/libbluetooth/bt_dev.c
831
errno = EINVAL;
lib/libbluetooth/bt_dev.c
84
errno = EINVAL;
lib/libbluetooth/sdp_compat.c
112
sc->error = errno;
lib/libbluetooth/sdp_compat.c
131
sc->error = errno;
lib/libbluetooth/sdp_compat.c
211
sc->error = errno;
lib/libbluetooth/sdp_compat.c
277
sc->error = errno;
lib/libbluetooth/sdp_compat.c
283
sc->error = errno;
lib/libbluetooth/sdp_compat.c
321
sc->error = errno;
lib/libbluetooth/sdp_compat.c
327
sc->error = errno;
lib/libbluetooth/sdp_compat.c
353
sc->error = errno;
lib/libbluetooth/sdp_compat.c
359
sc->error = errno;
lib/libbluetooth/sdp_record.c
105
errno = _sdp_errno(ec);
lib/libbluetooth/sdp_record.c
140
errno = EINVAL;
lib/libbluetooth/sdp_record.c
165
errno = EIO;
lib/libbluetooth/sdp_record.c
173
errno = _sdp_errno(ec);
lib/libbluetooth/sdp_record.c
206
errno = EIO;
lib/libbluetooth/sdp_record.c
215
errno = _sdp_errno(ec);
lib/libbluetooth/sdp_record.c
71
errno = EINVAL;
lib/libbluetooth/sdp_record.c
96
errno = EIO;
lib/libbluetooth/sdp_service.c
105
errno = EINVAL;
lib/libbluetooth/sdp_service.c
122
errno = EINVAL;
lib/libbluetooth/sdp_service.c
208
errno = EIO;
lib/libbluetooth/sdp_service.c
242
errno = EINVAL;
lib/libbluetooth/sdp_service.c
333
errno = EIO;
lib/libbluetooth/sdp_service.c
353
errno = EINVAL;
lib/libbluetooth/sdp_service.c
378
errno = EINVAL;
lib/libbluetooth/sdp_service.c
469
errno = EIO;
lib/libbluetooth/sdp_service.c
71
errno = 0;
lib/libbluetooth/sdp_service.c
76
if (errno == ERANGE && v == ULONG_MAX)
lib/libbluetooth/sdp_session.c
180
errno = EMSGSIZE;
lib/libbluetooth/sdp_session.c
195
} while (nw == -1 && errno == EINTR);
lib/libbluetooth/sdp_session.c
198
errno = EIO;
lib/libbluetooth/sdp_session.c
226
} while (nr == -1 && errno == EINTR);
lib/libbluetooth/sdp_session.c
232
errno = EIO;
lib/libbluetooth/sdp_session.c
244
errno = _sdp_errno(be16dec(ss->ibuf));
lib/libbluetooth/sdp_session.c
246
errno = EIO;
lib/libbsdmalloc/malloc.c
535
errno = EINVAL;
lib/libbsdmalloc/malloc.c
551
errno = ENOMEM;
lib/libc/arch/powerpc64/SYS.h
28
#define _DO_CERROR() lwz %r4,_C_LABEL(errno)@got(%r2) ;\
lib/libc/citrus/citrus_ctype.c
165
return (errno);
lib/libc/citrus/citrus_db.c
85
return errno;
lib/libc/citrus/citrus_db_factory.c
153
return errno;
lib/libc/citrus/citrus_db_factory.c
167
return errno;
lib/libc/citrus/citrus_db_factory.c
182
return errno;
lib/libc/citrus/citrus_db_factory.c
197
return errno;
lib/libc/citrus/citrus_db_factory.c
212
return errno;
lib/libc/citrus/citrus_db_factory.c
83
return errno;
lib/libc/citrus/citrus_esdb.c
109
ret = errno;
lib/libc/citrus/citrus_esdb.c
120
ret = errno;
lib/libc/citrus/citrus_esdb.c
146
ret = errno;
lib/libc/citrus/citrus_esdb.c
164
ret = errno;
lib/libc/citrus/citrus_esdb.c
296
ret = errno;
lib/libc/citrus/citrus_esdb.c
308
ret = errno;
lib/libc/citrus/citrus_esdb.c
329
ret = errno;
lib/libc/citrus/citrus_iconv.c
183
ret = errno;
lib/libc/citrus/citrus_iconv.c
206
ret = errno;
lib/libc/citrus/citrus_iconv.c
365
ret = errno;
lib/libc/citrus/citrus_lookup_factory.c
124
return errno;
lib/libc/citrus/citrus_lookup_factory.c
93
return errno;
lib/libc/citrus/citrus_mapper.c
100
ret = errno;
lib/libc/citrus/citrus_mapper.c
106
ret = errno;
lib/libc/citrus/citrus_mapper.c
220
return errno;
lib/libc/citrus/citrus_mapper.c
243
ret = errno;
lib/libc/citrus/citrus_mapper.c
262
ret = errno;
lib/libc/citrus/citrus_mapper.c
354
ret = errno;
lib/libc/citrus/citrus_mmap.c
65
return errno;
lib/libc/citrus/citrus_mmap.c
68
ret = errno;
lib/libc/citrus/citrus_mmap.c
79
ret = errno;
lib/libc/citrus/citrus_pivot_factory.c
228
return errno;
lib/libc/citrus/citrus_pivot_factory.c
76
return errno;
lib/libc/citrus/citrus_pivot_factory.c
79
ret = errno;
lib/libc/citrus/citrus_stdenc.c
109
ret = errno;
lib/libc/citrus/citrus_stdenc.c
139
ret = errno;
lib/libc/citrus/citrus_stdenc.c
85
ret = errno;
lib/libc/citrus/citrus_stdenc_template.h
75
return errno;
lib/libc/citrus/modules/citrus_iconv_std.c
223
return errno;
lib/libc/citrus/modules/citrus_iconv_std.c
244
ret = errno;
lib/libc/citrus/modules/citrus_iconv_std.c
279
return errno;
lib/libc/citrus/modules/citrus_iconv_std.c
292
ret = errno;
lib/libc/citrus/modules/citrus_iconv_std.c
365
ret = errno;
lib/libc/citrus/modules/citrus_iconv_std.c
457
return errno;
lib/libc/citrus/modules/citrus_mapper_646.c
186
return errno;
lib/libc/citrus/modules/citrus_mapper_serial.c
147
return errno;
lib/libc/citrus/modules/citrus_mapper_serial.c
185
return errno;
lib/libc/citrus/modules/citrus_mapper_std.c
376
ret = errno;
lib/libc/citrus/modules/citrus_mapper_zone.c
331
return errno;
lib/libc/compat-43/getwd.c
62
(void)strlcpy(buf, strerror(errno), MAXPATHLEN);
lib/libc/compat-43/killpg.c
55
errno = ESRCH;
lib/libc/compat/gen/compat_ldexp_ieee754.c
51
errno = ERANGE;
lib/libc/compat/gen/compat_ldexp_ieee754.c
59
errno = ERANGE;
lib/libc/compat/gen/compat_readdir.c
31
errno = ERANGE;
lib/libc/compat/gen/compat_sigsetops.c
108
errno = EINVAL;
lib/libc/compat/gen/compat_sigsetops.c
86
errno = EINVAL;
lib/libc/compat/gen/compat_sigsetops.c
97
errno = EINVAL;
lib/libc/compat/stdlib/compat_putenv.c
71
errno = EINVAL;
lib/libc/compat/sys/compat___sigaction14_sigtramp.c
67
int sav = errno;
lib/libc/compat/sys/compat___sigaction14_sigtramp.c
70
if (rv >= 0 || errno != EINVAL)
lib/libc/compat/sys/compat___sigaction14_sigtramp.c
72
errno = sav;
lib/libc/compat/sys/compat_getfh.c
65
errno = EINVAL;
lib/libc/compat/sys/compat_socket.c
24
if (errno == EAFNOSUPPORT)
lib/libc/compat/sys/compat_socket.c
25
errno = EPROTONOSUPPORT;
lib/libc/db/btree/bt_close.c
135
errno = EINVAL;
lib/libc/db/btree/bt_delete.c
123
errno = EINVAL;
lib/libc/db/btree/bt_delete.c
82
errno = EPERM;
lib/libc/db/btree/bt_get.c
82
errno = EINVAL;
lib/libc/db/btree/bt_open.c
327
einval: errno = EINVAL;
lib/libc/db/btree/bt_open.c
330
eftype: errno = EFTYPE;
lib/libc/db/btree/bt_open.c
363
errno = EINVAL;
lib/libc/db/btree/bt_open.c
369
if (errno != EINVAL) /* It's OK to not exist. */
lib/libc/db/btree/bt_open.c
371
errno = 0;
lib/libc/db/btree/bt_open.c
425
errno = ENOENT;
lib/libc/db/btree/bt_put.c
111
errno = EINVAL;
lib/libc/db/btree/bt_put.c
92
errno = EPERM;
lib/libc/db/btree/bt_seq.c
117
errno = EINVAL;
lib/libc/db/btree/bt_seq.c
174
errno = EINVAL;
lib/libc/db/db/db.c
80
errno = EINVAL;
lib/libc/db/db/dbfile.c
115
serrno = errno;
lib/libc/db/db/dbfile.c
118
errno = serrno;
lib/libc/db/db/dbfile.c
71
serrno = errno;
lib/libc/db/db/dbfile.c
73
errno = serrno;
lib/libc/db/db/dbfile.c
95
errno = ENAMETOOLONG;
lib/libc/db/hash/hash.c
108
errno = EINVAL;
lib/libc/db/hash/hash.c
126
(stat(file, &statbuf) && (errno == ENOENT))) {
lib/libc/db/hash/hash.c
127
if (errno == ENOENT)
lib/libc/db/hash/hash.c
128
errno = 0; /* Just in case someone looks at errno */
lib/libc/db/hash/hash.c
133
RETURN_ERROR(errno, error0);
lib/libc/db/hash/hash.c
138
RETURN_ERROR(errno, error1);
lib/libc/db/hash/hash.c
151
RETURN_ERROR(errno, error1);
lib/libc/db/hash/hash.c
197
save_errno = errno;
lib/libc/db/hash/hash.c
199
errno = save_errno;
lib/libc/db/hash/hash.c
242
errno = save_errno;
lib/libc/db/hash/hash.c
271
errno = ENOENT;
lib/libc/db/hash/hash.c
311
errno = EINVAL;
lib/libc/db/hash/hash.c
324
errno = EINVAL;
lib/libc/db/hash/hash.c
414
save_errno = errno;
lib/libc/db/hash/hash.c
423
save_errno = errno;
lib/libc/db/hash/hash.c
435
errno = save_errno;
lib/libc/db/hash/hash.c
453
errno = EINVAL;
lib/libc/db/hash/hash.c
500
errno = EFTYPE;
lib/libc/db/hash/hash.c
501
hashp->err = errno;
lib/libc/db/hash/hash.c
528
hashp->err = errno = EINVAL;
lib/libc/db/hash/hash.c
541
hashp->err = errno = EINVAL;
lib/libc/db/hash/hash.c
545
hashp->err = errno = EPERM;
lib/libc/db/hash/hash.c
560
hashp->err = errno = EINVAL;
lib/libc/db/hash/hash.c
564
hashp->err = errno = EPERM;
lib/libc/db/hash/hash.c
732
hashp->err = errno = EINVAL;
lib/libc/db/hash/hash.c
923
save_errno = errno;
lib/libc/db/hash/hash.c
925
errno = save_errno;
lib/libc/db/hash/hash.c
934
save_errno = errno;
lib/libc/db/hash/hash.c
936
errno = save_errno;
lib/libc/db/hash/hash_bigkey.c
460
errno = EINVAL; /* OUT OF BUFFERS */
lib/libc/db/hash/hash_bigkey.c
515
errno = EINVAL; /* Out of buffers. */
lib/libc/db/hash/hash_bigkey.c
567
errno = EINVAL; /* MIS -- OUT OF BUFFERS */
lib/libc/db/hash/hash_page.c
562
errno = EFTYPE;
lib/libc/db/hash/hash_page.c
629
errno = EFTYPE;
lib/libc/db/hash/hash_page.c
726
errno = EFBIG;
lib/libc/db/hash/hash_page.c
740
errno = EFBIG;
lib/libc/db/hash/hash_page.c
766
errno = EFBIG;
lib/libc/db/hash/hash_page.c
812
errno = EFBIG;
lib/libc/db/mpool/mpool.c
205
errno = EINVAL;
lib/libc/db/mpool/mpool.c
250
errno = E2BIG;
lib/libc/db/mpool/mpool.c
256
errno = EFTYPE;
lib/libc/db/mpool/mpool.c
434
errno = E2BIG;
lib/libc/db/mpool/mpool.c
90
errno = ESPIPE;
lib/libc/db/recno/rec_delete.c
100
einval: errno = EINVAL;
lib/libc/db/recno/rec_get.c
83
errno = EINVAL;
lib/libc/db/recno/rec_open.c
126
errno = 0;
lib/libc/db/recno/rec_open.c
127
if (lseek(rfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) {
lib/libc/db/recno/rec_open.c
215
einval: errno = EINVAL;
lib/libc/db/recno/rec_open.c
216
err: sverrno = errno;
lib/libc/db/recno/rec_open.c
221
errno = sverrno;
lib/libc/db/recno/rec_open.c
240
errno = ENOENT;
lib/libc/db/recno/rec_put.c
134
einval: errno = EINVAL;
lib/libc/db/recno/rec_search.c
113
err: sverrno = errno;
lib/libc/db/recno/rec_search.c
124
errno = sverrno;
lib/libc/db/recno/rec_seq.c
107
einval: errno = EINVAL;
lib/libc/gdtoa/gethex.c
248
errno = ERANGE;
lib/libc/gdtoa/gethex.c
274
errno = ERANGE;
lib/libc/gdtoa/gethex.c
283
errno = ERANGE;
lib/libc/gdtoa/strtod.c
1089
errno = ERANGE;
lib/libc/gdtoa/strtod.c
489
errno = ERANGE;
lib/libc/gdtoa/strtodg.c
1081
errno = ERANGE;
lib/libc/gdtoa/strtodg.c
1094
errno = ERANGE;
lib/libc/gdtoa/strtodg.c
1103
errno = ERANGE;
lib/libc/gdtoa/strtodg.c
286
errno = ERANGE;
lib/libc/gdtoa/strtodnrp.c
57
errno = ERANGE;
lib/libc/gdtoa/strtof.c
61
errno = ERANGE;
lib/libc/gdtoa/strtof_vaxf.c
57
errno = ERANGE;
lib/libc/gdtoa/test/dt.c
174
errno = 0;
lib/libc/gdtoa/test/dt.c
176
if (errno)
lib/libc/gdtoa/test/dt.c
227
errno = 0;
lib/libc/gdtoa/test/dt.c
233
if (errno)
lib/libc/gen/_errno.c
48
return &errno;
lib/libc/gen/_errno.c
52
return &errno;
lib/libc/gen/asysctl.c
60
errno = ENOMEM;
lib/libc/gen/asysctl.c
63
if (errno == ENOMEM && *len != SIZE_MAX) {
lib/libc/gen/confstr.c
76
sverrno = errno;
lib/libc/gen/confstr.c
78
errno = sverrno;
lib/libc/gen/confstr.c
91
errno = EINVAL;
lib/libc/gen/dehumanize_number.c
105
errno = 0;
lib/libc/gen/dehumanize_number.c
108
errno = EINVAL;
lib/libc/gen/dehumanize_number.c
111
else if (errno == ERANGE && (tmp == LLONG_MAX || tmp == LLONG_MIN))
lib/libc/gen/dehumanize_number.c
117
errno = ERANGE;
lib/libc/gen/dehumanize_number.c
71
errno = EINVAL;
lib/libc/gen/dehumanize_number.c
97
errno = EINVAL;
lib/libc/gen/errno.c
11
int errno;
lib/libc/gen/errno_private.h
29
extern int errno;
lib/libc/gen/execl.c
68
errno = ENOMEM;
lib/libc/gen/execvp.c
120
switch (errno) {
lib/libc/gen/execvp.c
150
errno = EACCES;
lib/libc/gen/execvp.c
151
else if (!errno)
lib/libc/gen/execvp.c
152
errno = ENOENT;
lib/libc/gen/execvp.c
73
errno = ENOENT;
lib/libc/gen/extattr.c
112
if (errno == EOPNOTSUPP)
lib/libc/gen/extattr.c
182
if (errno == EOPNOTSUPP)
lib/libc/gen/extattr.c
252
if (errno == EOPNOTSUPP)
lib/libc/gen/extattr.c
75
errno = EINVAL;
lib/libc/gen/extattr.c
93
errno = EINVAL;
lib/libc/gen/fts.c
1018
errno = reallocarr(&sp->fts_array,
lib/libc/gen/fts.c
1020
if (errno)
lib/libc/gen/fts.c
1150
errno = ENAMETOOLONG;
lib/libc/gen/fts.c
1229
errno = ENOENT;
lib/libc/gen/fts.c
1237
int save_errno = errno;
lib/libc/gen/fts.c
1239
errno = save_errno;
lib/libc/gen/fts.c
131
errno = EINVAL;
lib/libc/gen/fts.c
161
errno = ENOENT;
lib/libc/gen/fts.c
294
saved_errno = errno;
lib/libc/gen/fts.c
301
errno = saved_errno;
lib/libc/gen/fts.c
372
p->fts_errno = errno;
lib/libc/gen/fts.c
416
p->fts_errno = errno;
lib/libc/gen/fts.c
473
p->fts_errno = errno;
lib/libc/gen/fts.c
497
errno = 0;
lib/libc/gen/fts.c
516
saved_errno = errno;
lib/libc/gen/fts.c
518
errno = saved_errno;
lib/libc/gen/fts.c
548
errno = EINVAL;
lib/libc/gen/fts.c
564
errno = EINVAL;
lib/libc/gen/fts.c
575
errno = 0;
lib/libc/gen/fts.c
676
cur->fts_errno = errno;
lib/libc/gen/fts.c
721
cur->fts_errno = errno;
lib/libc/gen/fts.c
724
cderrno = errno;
lib/libc/gen/fts.c
753
errno = ENAMETOOLONG;
lib/libc/gen/fts.c
782
mem1: saved_errno = errno;
lib/libc/gen/fts.c
787
errno = saved_errno;
lib/libc/gen/fts.c
815
errno = ENAMETOOLONG;
lib/libc/gen/fts.c
952
saved_errno = errno;
lib/libc/gen/fts.c
954
errno = 0;
lib/libc/gen/fts.c
961
p->fts_errno = errno;
lib/libc/gen/ftw.c
49
errno = EINVAL;
lib/libc/gen/ftw.c
81
errno = ELOOP;
lib/libc/gen/ftw.c
92
sverrno = errno;
lib/libc/gen/ftw.c
96
errno = sverrno;
lib/libc/gen/getcap.c
1073
errno = ENOMEM;
lib/libc/gen/getcap.c
124
errno = ENOMEM;
lib/libc/gen/getcap.c
285
errno = ENOMEM;
lib/libc/gen/getcap.c
298
errno = ENOMEM;
lib/libc/gen/getcap.c
338
errno = ENOMEM;
lib/libc/gen/getcap.c
343
int serrno = errno;
lib/libc/gen/getcap.c
346
errno = serrno;
lib/libc/gen/getcap.c
399
int serrno = errno;
lib/libc/gen/getcap.c
402
errno = serrno;
lib/libc/gen/getcap.c
465
errno = ENOMEM;
lib/libc/gen/getcap.c
612
errno = ENOMEM;
lib/libc/gen/getcap.c
650
errno = ENOMEM;
lib/libc/gen/getcap.c
938
errno = ENOMEM;
lib/libc/gen/getcwd.c
107
errno = ENOENT;
lib/libc/gen/getcwd.c
160
errno = ENAMETOOLONG;
lib/libc/gen/getcwd.c
181
errno = ELOOP;
lib/libc/gen/getcwd.c
188
errno = ENOENT;
lib/libc/gen/getcwd.c
194
errno = ENAMETOOLONG;
lib/libc/gen/getcwd.c
207
errno = ENOTDIR;
lib/libc/gen/getcwd.c
231
errno = EINVAL;
lib/libc/gen/getcwd.c
249
} while (size <= MAXPATHLEN * 4 && errno == ERANGE);
lib/libc/gen/getcwd.c
82
errno = EINVAL;
lib/libc/gen/getdevmajor.c
103
errno = ENOENT;
lib/libc/gen/getdevmajor.c
75
errno = EINVAL;
lib/libc/gen/getdevmajor.c
82
if (errno != ENOMEM)
lib/libc/gen/getdomainname.c
65
olderrno = errno;
lib/libc/gen/getdomainname.c
67
if (errno == ENOMEM) {
lib/libc/gen/getdomainname.c
68
errno = olderrno;
lib/libc/gen/getentropy.c
57
errno = EFAULT;
lib/libc/gen/getentropy.c
62
errno = EINVAL;
lib/libc/gen/getgrent.c
1060
*retval = errno;
lib/libc/gen/getgrent.c
1504
*retval = errno;
lib/libc/gen/getgrent.c
151
errno = ERANGE;
lib/libc/gen/getgrent.c
394
*retval = errno;
lib/libc/gen/getgrent.c
686
if (errno != ENOENT) {
lib/libc/gen/getgrent.c
715
*retval = errno;
lib/libc/gen/getgroupmembership.c
176
if (errno != ENOENT) { /* wasn't "not found"*/
lib/libc/gen/getlogin.c
119
rv = errno;
lib/libc/gen/getpass.c
159
errno = ETIMEDOUT;
lib/libc/gen/getpass.c
240
errno = ENODATA;
lib/libc/gen/getpass.c
293
c = errno;
lib/libc/gen/getpass.c
295
errno = c;
lib/libc/gen/getpass.c
301
c = errno;
lib/libc/gen/getpass.c
303
errno = c;
lib/libc/gen/getpass.c
312
errno = EINTR;
lib/libc/gen/getpass.c
98
errno = EINVAL;
lib/libc/gen/getpwent.c
1319
*retval = errno;
lib/libc/gen/getpwent.c
204
int serrno = errno;
lib/libc/gen/getpwent.c
206
errno = serrno;
lib/libc/gen/getpwent.c
2176
*retval = errno;
lib/libc/gen/getpwent.c
267
errno = ERANGE;
lib/libc/gen/getpwent.c
322
errno = ERANGE;
lib/libc/gen/getpwent.c
533
*retval = errno;
lib/libc/gen/getpwent.c
805
if (errno != ENOENT) {
lib/libc/gen/getpwent.c
822
*retval = errno;
lib/libc/gen/getpwent.c
895
if (errno == ENOENT)
lib/libc/gen/getpwent.c
959
if (errno == ENOENT)
lib/libc/gen/getttyent.c
100
errno = 0;
lib/libc/gen/getttyent.c
103
if (errno != 0)
lib/libc/gen/getusershell.c
303
if (errno == ENOENT)
lib/libc/gen/glob.c
247
errno = 0;
lib/libc/gen/glob.c
640
errno = 0;
lib/libc/gen/glob.c
714
errno = 0;
lib/libc/gen/glob.c
753
if (pglob->gl_errfunc(buf, errno) ||
lib/libc/gen/glob.c
782
errno = 0;
lib/libc/gen/glob.c
869
if ((error || errno) && (pglob->gl_flags & GLOB_ERR))
lib/libc/gen/glob.c
937
errno = 0;
lib/libc/gen/initdir.c
117
return errno;
lib/libc/gen/initdir.c
131
if (n == -1 && errno == EINVAL &&
lib/libc/gen/initdir.c
158
return errno;
lib/libc/gen/initdir.c
248
return errno;
lib/libc/gen/initgroups.c
74
if (rval == -1 && errno == EINVAL) {
lib/libc/gen/lockf.c
76
errno = EAGAIN;
lib/libc/gen/lockf.c
80
errno = EINVAL;
lib/libc/gen/nftw.c
110
sverrno = errno;
lib/libc/gen/nftw.c
112
errno = sverrno;
lib/libc/gen/nftw.c
51
errno = EINVAL;
lib/libc/gen/nftw.c
97
errno = ELOOP;
lib/libc/gen/nice.c
60
errno = 0;
lib/libc/gen/nice.c
62
if (prio == -1 && errno)
lib/libc/gen/nice.c
65
if (errno == EACCES)
lib/libc/gen/nice.c
66
errno = EPERM;
lib/libc/gen/nlist_aout.c
120
errno = EFBIG;
lib/libc/gen/nlist_coff.c
110
errno = EFBIG;
lib/libc/gen/nlist_ecoff.c
95
errno = EFBIG;
lib/libc/gen/nlist_elf32.c
117
errno = EFBIG;
lib/libc/gen/nlist_elf32.c
172
} else if (error && errno == ENOTTY) {
lib/libc/gen/opendir.c
103
errno = ENOTDIR;
lib/libc/gen/opendir.c
157
errno = error;
lib/libc/gen/opendir.c
163
serrno = errno;
lib/libc/gen/opendir.c
174
errno = serrno;
lib/libc/gen/opendir.c
86
int serrno = errno;
lib/libc/gen/opendir.c
88
errno = serrno;
lib/libc/gen/popen.c
112
serrno = errno;
lib/libc/gen/popen.c
115
errno = serrno;
lib/libc/gen/popen.c
203
serrno = errno;
lib/libc/gen/popen.c
207
errno = serrno;
lib/libc/gen/popen.c
241
serrno = errno;
lib/libc/gen/popen.c
244
errno = serrno;
lib/libc/gen/popen.c
283
errno = ESRCH;
lib/libc/gen/popen.c
299
} while (pid == -1 && errno == EINTR);
lib/libc/gen/posix_spawnp.c
134
err = errno;
lib/libc/gen/pthread_atfork.c
255
ret = __locked_fork(&errno);
lib/libc/gen/pw_scan.c
111
if (errno == ERANGE && ul == ULONG_MAX) {
lib/libc/gen/pw_scan.c
112
ep = strerror(errno);
lib/libc/gen/pw_scan.c
79
if (errno == ERANGE && (l == LLONG_MAX || l == LLONG_MIN)) {
lib/libc/gen/pw_scan.c
80
vp = strerror(errno);
lib/libc/gen/randomid.c
263
errno = EINVAL;
lib/libc/gen/randomid.c
274
errno = ENOTSUP;
lib/libc/gen/readdir.c
101
errno = saved_errno;
lib/libc/gen/readdir.c
59
const int saved_errno = errno;
lib/libc/gen/readdir.c
77
errno = EIO;
lib/libc/gen/readdir.c
85
errno = EIO;
lib/libc/gen/readdir.c
90
errno = EIO;
lib/libc/gen/scandir.c
109
errno = reallocarr(&names, arraysz, sizeof(*names));
lib/libc/gen/scandir.c
110
if (errno)
lib/libc/gen/scandir.c
125
errno = reallocarr(&names, arraysz, sizeof(*names));
lib/libc/gen/scandir.c
126
if (errno)
lib/libc/gen/scandir.c
152
serrno = errno;
lib/libc/gen/scandir.c
156
errno = serrno;
lib/libc/gen/scandir.c
158
serrno = errno;
lib/libc/gen/scandir.c
160
errno = serrno;
lib/libc/gen/setmode.c
167
errno = reallocarr(&newset, setlen, sizeof(*newset)); \
lib/libc/gen/setmode.c
168
if (errno) \
lib/libc/gen/setmode.c
192
errno = EINVAL;
lib/libc/gen/setmode.c
210
errno = reallocarr(&set, setlen, sizeof(*set));
lib/libc/gen/setmode.c
211
if (errno)
lib/libc/gen/setmode.c
221
errno = 0;
lib/libc/gen/setmode.c
224
errno = EINVAL;
lib/libc/gen/setmode.c
227
if (errno == ERANGE && (lval == LONG_MAX || lval == LONG_MIN))
lib/libc/gen/setmode.c
230
errno = EINVAL;
lib/libc/gen/setmode.c
265
errno = EINVAL;
lib/libc/gen/setmode.c
362
serrno = errno;
lib/libc/gen/setmode.c
364
errno = serrno;
lib/libc/gen/sigset.c
67
errno = EINVAL;
lib/libc/gen/stringlist.c
72
errno = reallocarr(&sl->sl_str, sl->sl_max, sizeof(*sl->sl_str));
lib/libc/gen/stringlist.c
73
if (errno) {
lib/libc/gen/stringlist.c
74
int serrno = errno;
lib/libc/gen/stringlist.c
76
errno = serrno;
lib/libc/gen/stringlist.c
95
errno = reallocarr(&new, (sl->sl_max + _SL_CHUNKSIZE),
lib/libc/gen/stringlist.c
97
if (errno)
lib/libc/gen/sysconf.c
449
errno = EINVAL;
lib/libc/gen/sysctl.c
90
errno = error;
lib/libc/gen/sysctl.c
97
errno = ENOMEM;
lib/libc/gen/sysctlgetmibinfo.c
155
if (rc == -1 && errno != ENOMEM)
lib/libc/gen/sysctlgetmibinfo.c
280
errno = EINVAL;
lib/libc/gen/sysctlgetmibinfo.c
302
serrno = errno;
lib/libc/gen/sysctlgetmibinfo.c
304
errno = serrno;
lib/libc/gen/sysctlgetmibinfo.c
312
errno = EINVAL;
lib/libc/gen/sysctlgetmibinfo.c
313
if (errno != ENOMEM)
lib/libc/gen/sysctlgetmibinfo.c
325
serrno = errno;
lib/libc/gen/sysctlgetmibinfo.c
327
errno = serrno;
lib/libc/gen/sysctlgetmibinfo.c
341
errno = EINVAL;
lib/libc/gen/sysctlgetmibinfo.c
425
errno = EINVAL;
lib/libc/gen/sysctlgetmibinfo.c
435
errno = EINVAL;
lib/libc/gen/sysctlgetmibinfo.c
442
errno = EINVAL;
lib/libc/gen/sysctlgetmibinfo.c
493
errno = ENAMETOOLONG;
lib/libc/gen/sysctlgetmibinfo.c
499
errno = ENAMETOOLONG;
lib/libc/gen/sysctlgetmibinfo.c
510
errno = 0;
lib/libc/gen/sysctlgetmibinfo.c
513
if (errno != 0 || *t != '\0')
lib/libc/gen/sysctlgetmibinfo.c
529
errno = ENOTDIR;
lib/libc/gen/sysctlgetmibinfo.c
541
errno = ENOENT;
lib/libc/gen/sysctlgetmibinfo.c
555
errno = ENOENT;
lib/libc/gen/sysctlgetmibinfo.c
578
errno = ERANGE;
lib/libc/gen/sysctlgetmibinfo.c
586
errno = EINVAL;
lib/libc/gen/ttyname.c
78
return errno;
lib/libc/gen/ttyname.c
81
return errno;
lib/libc/gen/ttyname.c
98
errno = rv;
lib/libc/gen/ulimit.c
64
errno = EINVAL;
lib/libc/gen/uname.c
84
if (errno == ENOMEM) {
lib/libc/gen/unvis.c
516
errno = ENOSPC; \
lib/libc/gen/unvis.c
536
errno = EINVAL;
lib/libc/gen/unvis.c
540
errno = EINVAL;
lib/libc/gen/utmpx.c
364
saved_errno = errno;
lib/libc/gen/utmpx.c
366
errno = saved_errno;
lib/libc/gen/utmpx.c
447
errno = EFTYPE;
lib/libc/gen/verr.c
53
verrc(eval, errno, fmt, ap);
lib/libc/gen/vis.c
443
errno = ENOMEM;
lib/libc/gen/vis.c
539
errno = ENOSPC;
lib/libc/gen/vis.c
559
errno = ENOSPC;
lib/libc/gen/vis.c
577
errno = ENOSPC;
lib/libc/gen/vis.c
582
errno = ENOSPC;
lib/libc/gen/vis.c
610
errno = ENOSPC;
lib/libc/gen/vis.c
633
errno = ENOSPC;
lib/libc/gen/vwarn.c
53
vwarnc(errno, fmt, ap);
lib/libc/gen/xsyslog.c
171
saved_errno = errno;
lib/libc/gen/xsyslog.c
341
if (errno != ENOBUFS) {
lib/libc/hash/hashhl.c
120
save_errno = errno;
lib/libc/hash/hashhl.c
122
errno = save_errno;
lib/libc/hash/hashhl.c
54
#include <errno.h>
lib/libc/iconv/iconv.c
101
errno = err;
lib/libc/iconv/iconv.c
116
errno = EBADF;
lib/libc/iconv/iconv.c
126
errno = err;
lib/libc/iconv/iconv.c
140
errno = ret;
lib/libc/iconv/iconv.c
66
errno = ret == ENOENT? EINVAL : ret;
lib/libc/iconv/iconv.c
77
errno = EBADF;
lib/libc/iconv/iconv.c
93
errno = EBADF;
lib/libc/inet/inet_cidr_ntop.c
116
errno = EINVAL;
lib/libc/inet/inet_cidr_ntop.c
142
errno = EMSGSIZE;
lib/libc/inet/inet_cidr_ntop.c
161
errno = EINVAL;
lib/libc/inet/inet_cidr_ntop.c
242
errno = EMSGSIZE;
lib/libc/inet/inet_cidr_ntop.c
77
errno = EAFNOSUPPORT;
lib/libc/inet/inet_cidr_pton.c
150
errno = ENOENT;
lib/libc/inet/inet_cidr_pton.c
154
errno = EMSGSIZE;
lib/libc/inet/inet_cidr_pton.c
253
errno = ENOENT;
lib/libc/inet/inet_cidr_pton.c
257
errno = EMSGSIZE;
lib/libc/inet/inet_cidr_pton.c
83
errno = EAFNOSUPPORT;
lib/libc/inet/inet_net_ntop.c
127
errno = EMSGSIZE;
lib/libc/inet/inet_net_ntop.c
162
errno = EINVAL;
lib/libc/inet/inet_net_ntop.c
249
errno = EMSGSIZE;
lib/libc/inet/inet_net_ntop.c
70
errno = EAFNOSUPPORT;
lib/libc/inet/inet_net_ntop.c
96
errno = EINVAL;
lib/libc/inet/inet_net_pton.c
185
errno = ENOENT;
lib/libc/inet/inet_net_pton.c
189
errno = EMSGSIZE;
lib/libc/inet/inet_net_pton.c
380
errno = ENOENT;
lib/libc/inet/inet_net_pton.c
384
errno = EMSGSIZE;
lib/libc/inet/inet_net_pton.c
410
errno = EAFNOSUPPORT;
lib/libc/inet/inet_neta.c
93
errno = EMSGSIZE;
lib/libc/inet/inet_ntop.c
110
errno = ENOSPC;
lib/libc/inet/inet_ntop.c
229
errno = ENOSPC;
lib/libc/inet/inet_ntop.c
81
errno = EAFNOSUPPORT;
lib/libc/inet/inet_pton.c
82
errno = EAFNOSUPPORT;
lib/libc/isc/assertions.c
96
(print_errno) ? strerror(errno) : "");
lib/libc/isc/ev_streams.c
128
save = errno;
lib/libc/isc/ev_streams.c
130
errno = save;
lib/libc/isc/ev_streams.c
216
errno = ENOMEM;
lib/libc/isc/ev_streams.c
282
if (bytes < 0 && errno != EINTR) {
lib/libc/isc/ev_streams.c
284
str->ioErrno = errno;
lib/libc/isc/ev_streams.c
308
if (errno != EINTR) {
lib/libc/isc/ev_streams.c
310
str->ioErrno = errno;
lib/libc/isc/ev_streams.c
94
save = errno;
lib/libc/isc/ev_streams.c
96
errno = save;
lib/libc/isc/eventlib_p.h
49
#define EV_ERR(e) return (errno = (e), -1)
lib/libc/isc/eventlib_p.h
50
#define OK(x) if ((x) < 0) EV_ERR(errno); else (void)NULL
lib/libc/isc/eventlib_p.h
51
#define OKFREE(x, y) if ((x) < 0) { FREE((y)); EV_ERR(errno); } \
lib/libc/isc/eventlib_p.h
59
errno = ENOMEM; \
lib/libc/locale/_wcstol.h
126
errno = ERANGE;
lib/libc/locale/_wcstol.h
136
errno = ERANGE;
lib/libc/locale/_wcstol.h
71
errno = EINVAL;
lib/libc/locale/_wcstoul.h
111
errno = ERANGE;
lib/libc/locale/_wcstoul.h
65
errno = EINVAL;
lib/libc/locale/c16rtomb.c
175
errno = EILSEQ;
lib/libc/locale/c16rtomb.c
198
errno = EILSEQ;
lib/libc/locale/c32rtomb.c
109
errno_save = errno;
lib/libc/locale/c32rtomb.c
143
errno = EILSEQ;
lib/libc/locale/c32rtomb.c
154
errno = EIO; /* XXX? */
lib/libc/locale/c32rtomb.c
170
errno = error;
lib/libc/locale/c32rtomb.c
184
errno = EILSEQ;
lib/libc/locale/c32rtomb.c
223
errno = errno_save;
lib/libc/locale/c32rtomb.c
225
out: errno_save = errno;
lib/libc/locale/c32rtomb.c
227
errno = errno_save;
lib/libc/locale/c8rtomb.c
208
errno = EILSEQ;
lib/libc/locale/iswctype_mb.c
150
errno = EINVAL;
lib/libc/locale/iswctype_mb.c
171
errno = EINVAL;
lib/libc/locale/mbrtoc32.c
122
errno_save = errno;
lib/libc/locale/mbrtoc32.c
167
errno = EIO; /* XXX? */
lib/libc/locale/mbrtoc32.c
210
errno = error;
lib/libc/locale/mbrtoc32.c
230
errno = EILSEQ;
lib/libc/locale/mbrtoc32.c
251
errno = errno_save;
lib/libc/locale/mbrtoc32.c
253
out: errno_save = errno;
lib/libc/locale/mbrtoc32.c
255
errno = errno_save;
lib/libc/locale/mbrtoc8.c
218
errno = EILSEQ;
lib/libc/locale/multibyte_amd1.c
113
errno = err0;
lib/libc/locale/multibyte_amd1.c
136
errno = err0;
lib/libc/locale/multibyte_amd1.c
159
errno = err0;
lib/libc/locale/multibyte_amd1.c
181
errno = err0;
lib/libc/locale/multibyte_amd1.c
204
errno = err0;
lib/libc/locale/multibyte_amd1.c
223
errno = err0;
lib/libc/locale/multibyte_amd1.c
242
errno = err0;
lib/libc/locale/multibyte_amd1.c
61
errno = err0;
lib/libc/locale/multibyte_amd1.c
91
errno = err0;
lib/libc/locale/multibyte_c90.c
116
errno = err0;
lib/libc/locale/multibyte_c90.c
139
errno = err0;
lib/libc/locale/multibyte_c90.c
158
errno = err0;
lib/libc/locale/multibyte_c90.c
58
errno = err0;
lib/libc/locale/multibyte_c90.c
78
errno = err0;
lib/libc/locale/multibyte_c90.c
97
errno = err0;
lib/libc/locale/wcsftime.c
111
sverrno = errno;
lib/libc/locale/wcsftime.c
114
errno = sverrno;
lib/libc/locale/wcsftime.c
93
errno = EINVAL;
lib/libc/md/mdXhl.c
40
#include <errno.h>
lib/libc/md/mdXhl.c
89
j = errno;
lib/libc/md/mdXhl.c
91
errno = j;
lib/libc/nameser/ns_name.c
114
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
119
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
125
errno = EMSGSIZE; /*%< XXX */
lib/libc/nameser/ns_name.c
129
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
137
errno = EINVAL;
lib/libc/nameser/ns_name.c
142
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
152
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
159
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
168
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
177
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
183
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
235
errno = EINVAL; /*%< ??? */
lib/libc/nameser/ns_name.c
241
errno = e;
lib/libc/nameser/ns_name.c
249
errno = EINVAL;
lib/libc/nameser/ns_name.c
258
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
264
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
269
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
281
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
285
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
293
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
299
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
307
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
314
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
321
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
326
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
332
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
338
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
370
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
376
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
381
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
385
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
436
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
447
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
451
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
463
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
472
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
483
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
489
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
551
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
555
errno = EINVAL;
lib/libc/nameser/ns_name.c
560
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
609
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
704
errno = EMSGSIZE; /*%< XXX */
lib/libc/nameser/ns_name.c
713
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
719
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
737
errno = EISDIR;
lib/libc/nameser/ns_name.c
741
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
759
errno = EISDIR;
lib/libc/nameser/ns_name.c
763
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
812
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
820
errno = EISDIR;
lib/libc/nameser/ns_name.c
826
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
837
errno = ENAMETOOLONG;
lib/libc/nameser/ns_name.c
857
errno = EISDIR;
lib/libc/nameser/ns_name.c
861
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
980
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
988
errno = ENOENT;
lib/libc/nameser/ns_parse.c
52
#define RETERR(err) do { errno = (err); return (-1); } while (/*NOTREACHED*//*CONSTCOND*/0)
lib/libc/nameser/ns_parse.c
55
do { errno = (err); if (errno == errno) return (-1); } while (0)
lib/libc/nameser/ns_print.c
1117
errno = ENOSPC;
lib/libc/nameser/ns_print.c
1196
errno = ENOSPC;
lib/libc/nameser/ns_print.c
1241
errno = ENOSPC;
lib/libc/nameser/ns_print.c
1257
errno = ENOSPC;
lib/libc/nameser/ns_samedomain.c
179
errno = EMSGSIZE;
lib/libc/nameser/ns_ttl.c
146
errno = EINVAL;
lib/libc/net/ethers.c
132
errno = ENOENT;
lib/libc/net/ethers.c
185
errno = ENOENT;
lib/libc/net/ethers.c
219
errno = EINVAL;
lib/libc/net/getaddrinfo.c
1149
errno = EAFNOSUPPORT; /* is this a good error? */
lib/libc/net/getaddrinfo.c
1246
if (errno != EMFILE)
lib/libc/net/getaddrinfo.c
1687
errno = 0;
lib/libc/net/getaddrinfo.c
1690
if (errno == 0 && ep && *ep == '\0' && *scopeid == lscopeid)
lib/libc/net/getaddrinfo.c
2696
errno = 0;
lib/libc/net/getaddrinfo.c
2757
if (errno == ECONNREFUSED) {
lib/libc/net/getaddrinfo.c
445
errno = 0;
lib/libc/net/getaddrinfo.c
447
if (errno == 0 && ep && *ep == '\0' && v <= INT_MAX)
lib/libc/net/gethnamaddr.c
1225
errno = ENOSPC;
lib/libc/net/gethnamaddr.c
186
int save = errno;
lib/libc/net/gethnamaddr.c
193
errno = save;
lib/libc/net/gethnamaddr.c
517
errno = ENOSPC;
lib/libc/net/gethnamaddr.c
589
errno = EAFNOSUPPORT;
lib/libc/net/gethnamaddr.c
655
errno = ENOSPC;
lib/libc/net/gethnamaddr.c
719
errno = EAFNOSUPPORT;
lib/libc/net/gethnamaddr.c
724
errno = EINVAL;
lib/libc/net/gethnamaddr.c
753
errno = EINVAL;
lib/libc/net/gethnamaddr.c
833
errno = ENOSPC;
lib/libc/net/getpeereid.c
55
errno = EOPNOTSUPP;
lib/libc/net/getprotoent_r.c
116
errno = reallocarr(&pd->aliases,
lib/libc/net/getprotoent_r.c
118
if (errno)
lib/libc/net/getprotoent_r.c
131
errno = reallocarr(&q,
lib/libc/net/getprotoent_r.c
133
if (errno)
lib/libc/net/getprotoent_r.c
148
serrno = errno;
lib/libc/net/getprotoent_r.c
150
errno = serrno;
lib/libc/net/getservent_r.c
158
oerrno = errno;
lib/libc/net/getservent_r.c
160
errno = oerrno;
lib/libc/net/getservent_r.c
177
oerrno = errno;
lib/libc/net/getservent_r.c
179
errno = oerrno;
lib/libc/net/getservent_r.c
296
errno = reallocarr(&sd->aliases,
lib/libc/net/getservent_r.c
298
if (errno)
lib/libc/net/getservent_r.c
309
errno = reallocarr(&q, sd->maxaliases, sizeof(*q));
lib/libc/net/getservent_r.c
310
if (errno)
lib/libc/net/getservent_r.c
322
oerrno = errno;
lib/libc/net/getservent_r.c
324
errno = oerrno;
lib/libc/net/hesiod.c
146
errno = ENOMEM;
lib/libc/net/hesiod.c
151
errno = ENOMEM;
lib/libc/net/hesiod.c
153
serrno = errno;
lib/libc/net/hesiod.c
159
errno = serrno;
lib/libc/net/hesiod.c
198
errno = EMSGSIZE;
lib/libc/net/hesiod.c
216
errno = ENOENT;
lib/libc/net/hesiod.c
231
errno = EMSGSIZE;
lib/libc/net/hesiod.c
254
errno = ENOMEM;
lib/libc/net/hesiod.c
278
if (retvec == NULL && errno == ENOENT && ctx->classes[1])
lib/libc/net/hesiod.c
329
errno = ENOMEM;
lib/libc/net/hesiod.c
367
errno = ENOMEM;
lib/libc/net/hesiod.c
398
errno = ENOEXEC;
lib/libc/net/hesiod.c
427
errno = EMSGSIZE;
lib/libc/net/hesiod.c
436
errno = ECONNREFUSED;
lib/libc/net/hesiod.c
453
errno = EMSGSIZE;
lib/libc/net/hesiod.c
462
errno = ENOMEM;
lib/libc/net/hesiod.c
477
errno = EMSGSIZE;
lib/libc/net/hesiod.c
488
errno = ENOMEM;
lib/libc/net/hesiod.c
498
errno = EMSGSIZE;
lib/libc/net/hesiod.c
506
errno = EMSGSIZE;
lib/libc/net/hesiod.c
523
errno = ENOENT;
lib/libc/net/hesiod.c
616
switch (errno) {
lib/libc/net/if_indextoname.c
99
errno = error;
lib/libc/net/if_nametoindex.c
109
errno = ENXIO;
lib/libc/net/rcmd.c
221
if (errno == EAGAIN)
lib/libc/net/rcmd.c
237
if (errno == EADDRINUSE) {
lib/libc/net/rcmd.c
240
} else if (errno == ECONNREFUSED)
lib/libc/net/rcmd.c
243
int oerrno = errno;
lib/libc/net/rcmd.c
252
errno = oerrno;
lib/libc/net/rcmd.c
271
strerror(errno));
lib/libc/net/rcmd.c
298
errno = 0;
lib/libc/net/rcmd.c
301
if (errno != 0)
lib/libc/net/rcmd.c
552
errno = EAFNOSUPPORT;
lib/libc/net/rcmd.c
565
int sverr = errno;
lib/libc/net/rcmd.c
568
errno = sverr;
lib/libc/net/rcmd.c
582
if (errno != EADDRINUSE) {
lib/libc/net/rcmd.c
589
errno = EAGAIN; /* close */
lib/libc/net/sctp_sys_calls.c
161
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
169
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
192
errno = EFAULT;
lib/libc/net/sctp_sys_calls.c
199
errno = ENOMEM;
lib/libc/net/sctp_sys_calls.c
209
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
239
errno = EOPNOTSUPP;
lib/libc/net/sctp_sys_calls.c
256
errno = EFAULT;
lib/libc/net/sctp_sys_calls.c
269
errno = ENOMEM;
lib/libc/net/sctp_sys_calls.c
315
errno = EFAULT;
lib/libc/net/sctp_sys_calls.c
325
errno = ENOTCONN;
lib/libc/net/sctp_sys_calls.c
332
errno = ENOMEM;
lib/libc/net/sctp_sys_calls.c
412
errno = EAFNOSUPPORT;
lib/libc/net/sctp_sys_calls.c
450
errno = 0;
lib/libc/net/sctp_sys_calls.c
466
errno = 0;
lib/libc/net/sctp_sys_calls.c
506
errno = 0;
lib/libc/net/sctp_sys_calls.c
535
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
544
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
560
errno = ENOENT;
lib/libc/net/sctp_sys_calls.c
564
saved_errno = errno;
lib/libc/net/sctp_sys_calls.c
568
errno = saved_errno;
lib/libc/net/sctp_sys_calls.c
620
errno = 0;
lib/libc/net/sctp_sys_calls.c
669
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
768
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
776
errno = ENOMEM;
lib/libc/net/sctp_sys_calls.c
787
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
794
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
808
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
821
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
834
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
866
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
880
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
895
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
905
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
920
errno = EINVAL;
lib/libc/net/sctp_sys_calls.c
927
errno = EINVAL;
lib/libc/net/sethostent.c
168
errno = EINVAL;
lib/libc/net/sethostent.c
258
errno = ENOSPC;
lib/libc/nls/catclose.c
54
errno = EBADF;
lib/libc/nls/catgets.c
112
errno = ENOMSG;
lib/libc/nls/catgets.c
59
errno = EBADF;
lib/libc/posix1e/acl_branding.c
169
errno = EINVAL;
lib/libc/posix1e/acl_calc_mask.c
113
errno = ENOMEM;
lib/libc/posix1e/acl_calc_mask.c
127
errno = EINVAL;
lib/libc/posix1e/acl_calc_mask.c
68
errno = EINVAL;
lib/libc/posix1e/acl_calc_mask.c
73
errno = EINVAL;
lib/libc/posix1e/acl_calc_mask.c
80
errno = EINVAL;
lib/libc/posix1e/acl_copy.c
54
errno = EINVAL;
lib/libc/posix1e/acl_copy.c
62
errno = EINVAL;
lib/libc/posix1e/acl_copy.c
82
errno = ENOSYS;
lib/libc/posix1e/acl_copy.c
91
errno = ENOSYS;
lib/libc/posix1e/acl_delete_entry.c
126
errno = EINVAL;
lib/libc/posix1e/acl_delete_entry.c
137
errno = EINVAL;
lib/libc/posix1e/acl_delete_entry.c
144
errno = EINVAL;
lib/libc/posix1e/acl_delete_entry.c
150
errno = EINVAL;
lib/libc/posix1e/acl_delete_entry.c
87
errno = EINVAL;
lib/libc/posix1e/acl_delete_entry.c
92
errno = EINVAL;
lib/libc/posix1e/acl_delete_entry.c
98
errno = EINVAL;
lib/libc/posix1e/acl_entry.c
100
errno = EINVAL;
lib/libc/posix1e/acl_entry.c
133
errno = EINVAL;
lib/libc/posix1e/acl_entry.c
149
errno = EINVAL;
lib/libc/posix1e/acl_entry.c
53
errno = EINVAL;
lib/libc/posix1e/acl_entry.c
64
errno = EINVAL;
lib/libc/posix1e/acl_entry.c
88
errno = EINVAL;
lib/libc/posix1e/acl_entry.c
95
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
107
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
125
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
130
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
144
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
149
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
49
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
59
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
76
errno = EINVAL;
lib/libc/posix1e/acl_flag.c
90
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
112
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
120
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
128
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
134
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
144
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
158
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
255
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
289
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
303
errno = EINVAL;
lib/libc/posix1e/acl_from_text.c
97
errno = EINVAL;
lib/libc/posix1e/acl_from_text_nfs4.c
288
errno = EINVAL;
lib/libc/posix1e/acl_get.c
149
errno = EINVAL;
lib/libc/posix1e/acl_get.c
168
errno = EINVAL;
lib/libc/posix1e/acl_get.c
182
errno = EINVAL;
lib/libc/posix1e/acl_get.c
195
errno = EINVAL;
lib/libc/posix1e/acl_get.c
209
errno = EINVAL;
lib/libc/posix1e/acl_get.c
214
errno = EINVAL;
lib/libc/posix1e/acl_id_to_name.c
81
errno = ENOMEM;
lib/libc/posix1e/acl_id_to_name.c
97
errno = ENOMEM;
lib/libc/posix1e/acl_init.c
59
errno = ENOMEM;
lib/libc/posix1e/acl_init.c
63
errno = EINVAL;
lib/libc/posix1e/acl_init.c
70
errno = error;
lib/libc/posix1e/acl_perm.c
105
errno = EINVAL;
lib/libc/posix1e/acl_perm.c
122
errno = EINVAL;
lib/libc/posix1e/acl_perm.c
52
errno = EINVAL;
lib/libc/posix1e/acl_perm.c
66
errno = EINVAL;
lib/libc/posix1e/acl_perm.c
87
errno = EINVAL;
lib/libc/posix1e/acl_set.c
115
errno = EINVAL;
lib/libc/posix1e/acl_set.c
120
errno = EINVAL;
lib/libc/posix1e/acl_set.c
140
errno = EINVAL;
lib/libc/posix1e/acl_set.c
146
errno = EINVAL;
lib/libc/posix1e/acl_set.c
150
errno = EINVAL;
lib/libc/posix1e/acl_set.c
170
errno = EINVAL;
lib/libc/posix1e/acl_set.c
179
errno = EINVAL;
lib/libc/posix1e/acl_set.c
195
errno = EINVAL;
lib/libc/posix1e/acl_set.c
203
errno = EINVAL;
lib/libc/posix1e/acl_set.c
210
errno = EINVAL;
lib/libc/posix1e/acl_set.c
229
errno = EINVAL;
lib/libc/posix1e/acl_set.c
238
errno = EINVAL;
lib/libc/posix1e/acl_set.c
242
errno = EINVAL;
lib/libc/posix1e/acl_set.c
256
errno = EINVAL;
lib/libc/posix1e/acl_set.c
63
errno = EINVAL;
lib/libc/posix1e/acl_set.c
68
errno = EINVAL;
lib/libc/posix1e/acl_set.c
84
errno = EINVAL;
lib/libc/posix1e/acl_set.c
89
errno = EINVAL;
lib/libc/posix1e/acl_strip.c
143
errno = EINVAL;
lib/libc/posix1e/acl_strip.c
162
errno = EINVAL;
lib/libc/posix1e/acl_strip.c
219
errno = EINVAL;
lib/libc/posix1e/acl_strip.c
52
errno = ENOMEM;
lib/libc/posix1e/acl_support.c
286
errno = ENOMEM;
lib/libc/posix1e/acl_support.c
291
errno = EINVAL;
lib/libc/posix1e/acl_support.c
360
errno = ENOMEM;
lib/libc/posix1e/acl_to_text.c
226
errno = EINVAL;
lib/libc/posix1e/acl_to_text.c
247
errno = EINVAL;
lib/libc/posix1e/acl_to_text.c
257
errno = EINVAL;
lib/libc/posix1e/acl_to_text_nfs4.c
258
errno = EINVAL;
lib/libc/posix1e/acl_valid.c
104
errno = EINVAL;
lib/libc/posix1e/acl_valid.c
119
errno = EINVAL;
lib/libc/posix1e/acl_valid.c
67
errno = EINVAL;
lib/libc/posix1e/acl_valid.c
71
errno = EINVAL;
lib/libc/posix1e/acl_valid.c
77
errno = error;
lib/libc/posix1e/acl_valid.c
89
errno = EINVAL;
lib/libc/resolv/mtctxres.c
73
errno = ENOMEM;
lib/libc/resolv/mtctxres.c
81
errno = ret;
lib/libc/resolv/res_debug.c
1217
errno = 0;
lib/libc/resolv/res_debug.c
1219
if (errno == 0 && *endptr == '\0' && result <= 0xffffU)
lib/libc/resolv/res_debug.c
1240
errno = 0;
lib/libc/resolv/res_debug.c
1242
if (errno == 0 && *endptr == '\0' && result <= 0xffffU)
lib/libc/resolv/res_debug.c
184
if (errno != ENODEV)
lib/libc/resolv/res_debug.c
186
strerror(errno));
lib/libc/resolv/res_debug.c
258
if (errno == ENOSPC) {
lib/libc/resolv/res_debug.c
271
strerror(errno));
lib/libc/resolv/res_debug.c
295
fprintf(file, ";; ns_initparse: %s\n", strerror(errno));
lib/libc/resolv/res_query.c
259
errno = 0;
lib/libc/resolv/res_query.c
325
if (errno == ECONNREFUSED) {
lib/libc/resolv/res_send.c
1026
if (errno == EINTR)
lib/libc/resolv/res_send.c
1028
Perror(statp, stderr, fun, errno);
lib/libc/resolv/res_send.c
1036
errno = 0;
lib/libc/resolv/res_send.c
1041
Perror(statp, stderr, "recvfrom", errno);
lib/libc/resolv/res_send.c
1146
int save = errno;
lib/libc/resolv/res_send.c
1162
errno = save;
lib/libc/resolv/res_send.c
1167
int save = errno;
lib/libc/resolv/res_send.c
1172
errno = save;
lib/libc/resolv/res_send.c
354
errno = ESRCH;
lib/libc/resolv/res_send.c
358
errno = EINVAL;
lib/libc/resolv/res_send.c
600
errno = ECONNREFUSED; /*%< no nameservers found */
lib/libc/resolv/res_send.c
602
errno = ETIMEDOUT; /*%< no answer obtained */
lib/libc/resolv/res_send.c
604
errno = terrno;
lib/libc/resolv/res_send.c
709
errno = ENOTSOCK;
lib/libc/resolv/res_send.c
713
switch (errno) {
lib/libc/resolv/res_send.c
719
Perror(statp, stderr, "socket(vc)", errno);
lib/libc/resolv/res_send.c
722
*terrno = errno;
lib/libc/resolv/res_send.c
723
Perror(statp, stderr, "socket(vc)", errno);
lib/libc/resolv/res_send.c
738
errno = 0;
lib/libc/resolv/res_send.c
740
*terrno = errno;
lib/libc/resolv/res_send.c
741
Aerror(statp, stderr, "connect/vc", errno, nsap,
lib/libc/resolv/res_send.c
757
*terrno = errno;
lib/libc/resolv/res_send.c
758
Perror(statp, stderr, "write failed", errno);
lib/libc/resolv/res_send.c
774
*terrno = errno;
lib/libc/resolv/res_send.c
775
Perror(statp, stderr, "read failed", errno);
lib/libc/resolv/res_send.c
819
*terrno = errno;
lib/libc/resolv/res_send.c
820
Perror(statp, stderr, "read(vc)", errno);
lib/libc/resolv/res_send.c
903
errno = ENOTSOCK;
lib/libc/resolv/res_send.c
907
switch (errno) {
lib/libc/resolv/res_send.c
913
Perror(statp, stderr, "socket(dg)", errno);
lib/libc/resolv/res_send.c
916
*terrno = errno;
lib/libc/resolv/res_send.c
917
Perror(statp, stderr, "socket(dg)", errno);
lib/libc/resolv/res_send.c
942
Aerror(statp, stderr, "connect(dg)", errno, nsap,
lib/libc/resolv/res_send.c
956
Aerror(statp, stderr, "sendto", errno, nsap, nsaplen);
lib/libc/resolv/res_send.c
961
Perror(statp, stderr, "send", errno);
lib/libc/resolv/res_send.c
968
Aerror(statp, stderr, "sendto", errno, nsap, nsaplen);
lib/libc/rpc/bindresvport.c
125
errno = EPFNOSUPPORT;
lib/libc/rpc/bindresvport.c
146
int saved_errno = errno;
lib/libc/rpc/bindresvport.c
151
errno = saved_errno;
lib/libc/rpc/bindresvport.c
158
errno = saved_errno;
lib/libc/rpc/clnt_bcast.c
565
if (errno == EINTR)
lib/libc/rpc/clnt_dg.c
298
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_dg.c
380
cu->cu_error.re_errno = errno;
lib/libc/rpc/clnt_dg.c
418
} while (recvlen < 0 && errno == EINTR);
lib/libc/rpc/clnt_dg.c
420
if (recvlen < 0 && errno != EWOULDBLOCK) {
lib/libc/rpc/clnt_dg.c
421
cu->cu_error.re_errno = errno;
lib/libc/rpc/clnt_dg.c
433
cu->cu_error.re_errno = errno;
lib/libc/rpc/clnt_generic.c
379
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_simple.c
154
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
212
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
219
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
260
if (errno != ENOTCONN) {
lib/libc/rpc/clnt_vc.c
262
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
267
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
713
if (errno == EINTR)
lib/libc/rpc/clnt_vc.c
716
ct->ct_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
731
ct->ct_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
747
ct->ct_error.re_errno = errno;
lib/libc/rpc/getnetpath.c
159
errno = EINVAL;
lib/libc/rpc/getnetpath.c
216
errno = EINVAL;
lib/libc/rpc/rpc_soc.c
174
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/rpc_soc.c
261
netid, strerror(errno));
lib/libc/rpc/svc_dg.c
204
if (rlen == -1 && errno == EINTR)
lib/libc/rpc/svc_run.c
110
if ((errno == EINTR || errno == EBADF) && probs < 100) {
lib/libc/rpc/svc_run.c
115
if (errno == EINTR) {
lib/libc/rpc/svc_run.c
173
if ((errno == EINTR || errno == EBADF) && probs < 100) {
lib/libc/rpc/svc_run.c
178
if (errno == EINTR) {
lib/libc/rpc/svc_vc.c
320
if (errno == EINTR)
lib/libc/rpc/svc_vc.c
326
if (errno == EMFILE || errno == ENFILE) {
lib/libc/rpc/svc_vc.c
523
if (errno == EAGAIN)
lib/libc/rpc/svc_vc.c
538
if (errno == EINTR) {
lib/libc/rpc/svc_vc.c
584
if (errno != EAGAIN || !cd->nonblock) {
lib/libc/stdio/fclose.c
59
errno = EBADF;
lib/libc/stdio/fdopen.c
101
errno = EFTYPE;
lib/libc/stdio/fdopen.c
79
errno = EMFILE;
lib/libc/stdio/fdopen.c
91
errno = EINVAL;
lib/libc/stdio/fflush.c
71
errno = EBADF;
lib/libc/stdio/fgets.c
105
errno = EINVAL;
lib/libc/stdio/fgetstr.c
60
if (__sferror(fp) && errno == EOVERFLOW) /* fixup errno */
lib/libc/stdio/fgetstr.c
61
errno = EINVAL;
lib/libc/stdio/fgetws.c
58
errno = EINVAL;
lib/libc/stdio/flags.c
85
errno = EINVAL;
lib/libc/stdio/fmemopen.c
135
errno = EINVAL;
lib/libc/stdio/fmemopen.c
234
errno = EINVAL;
lib/libc/stdio/fopen.c
78
errno = EMFILE;
lib/libc/stdio/fpurge.c
63
errno = EBADF;
lib/libc/stdio/fputwc.c
65
errno = ENOMEM;
lib/libc/stdio/fputwc.c
74
errno = EILSEQ;
lib/libc/stdio/fread.c
68
errno = EOVERFLOW;
lib/libc/stdio/freopen.c
109
if (errno == ENFILE || errno == EMFILE) {
lib/libc/stdio/freopen.c
115
sverrno = errno;
lib/libc/stdio/freopen.c
140
errno = sverrno; /* restore in case _close clobbered */
lib/libc/stdio/freopen.c
165
errno = EMFILE;
lib/libc/stdio/fseeko.c
119
errno = EINVAL;
lib/libc/stdio/fseeko.c
129
errno = EINVAL;
lib/libc/stdio/fseeko.c
140
errno = EINVAL;
lib/libc/stdio/fseeko.c
83
errno = ESPIPE; /* historic practice */
lib/libc/stdio/ftell.c
101
errno = EOVERFLOW;
lib/libc/stdio/ftell.c
63
errno = ESPIPE; /* historic practice */
lib/libc/stdio/ftello.c
64
errno = ESPIPE; /* historic practice */
lib/libc/stdio/funopen.c
64
errno = EINVAL;
lib/libc/stdio/fvwrite.c
75
errno = EINVAL;
lib/libc/stdio/fvwrite.c
82
errno = EBADF;
lib/libc/stdio/fwrite.c
69
errno = EOVERFLOW;
lib/libc/stdio/getdelim.c
67
errno = EINVAL;
lib/libc/stdio/getdelim.c
96
errno = EOVERFLOW;
lib/libc/stdio/gettemp.c
101
errno = ENAMETOOLONG;
lib/libc/stdio/gettemp.c
108
errno = EINVAL;
lib/libc/stdio/gettemp.c
134
errno = ENOTDIR;
lib/libc/stdio/gettemp.c
147
if (errno != EEXIST)
lib/libc/stdio/gettemp.c
152
if (errno != EEXIST)
lib/libc/stdio/gettemp.c
155
return errno == ENOENT;
lib/libc/stdio/gettemp.c
168
errno = EIO;
lib/libc/stdio/gettemp.c
93
errno = EINVAL;
lib/libc/stdio/open_memstream.c
147
errno = EINVAL;
lib/libc/stdio/open_memstream.c
157
errno = EOVERFLOW;
lib/libc/stdio/open_memstream.c
188
errno = EINVAL;
lib/libc/stdio/open_memstream.c
196
save_errno = errno;
lib/libc/stdio/open_memstream.c
199
errno = save_errno;
lib/libc/stdio/open_memstream.c
210
save_errno = errno;
lib/libc/stdio/open_memstream.c
214
errno = save_errno;
lib/libc/stdio/open_wmemstream.c
136
errno = EILSEQ;
lib/libc/stdio/open_wmemstream.c
153
errno = EILSEQ;
lib/libc/stdio/open_wmemstream.c
205
errno = EINVAL;
lib/libc/stdio/open_wmemstream.c
215
errno = EOVERFLOW;
lib/libc/stdio/open_wmemstream.c
249
errno = EINVAL;
lib/libc/stdio/open_wmemstream.c
257
save_errno = errno;
lib/libc/stdio/open_wmemstream.c
260
errno = save_errno;
lib/libc/stdio/open_wmemstream.c
272
save_errno = errno;
lib/libc/stdio/open_wmemstream.c
276
errno = save_errno;
lib/libc/stdio/perror.c
66
(void)strerror_r(errno, buf, sizeof(buf));
lib/libc/stdio/refill.c
89
errno = EBADF;
lib/libc/stdio/stdio.c
90
if (errno == ESPIPE) /* if unseekable, OK, */
lib/libc/stdio/tempnam.c
100
errno = sverrno;
lib/libc/stdio/tempnam.c
98
sverrno = errno;
lib/libc/stdio/tmpfile.c
79
sverrno = errno;
lib/libc/stdio/tmpfile.c
81
errno = sverrno;
lib/libc/stdio/ungetwc.c
64
errno = ENOMEM; /* XXX */
lib/libc/stdio/vasprintf.c
84
errno = ENOMEM;
lib/libc/stdio/vdprintf.c
78
errno = EMFILE;
lib/libc/stdio/vdprintf.c
87
errno = EINVAL;
lib/libc/stdio/vfwprintf.c
1525
errno = ENOMEM;
lib/libc/stdio/vfwprintf.c
1924
errno = reallocarr(&newtable, newsize, sizeof(*newtable));
lib/libc/stdio/vfwprintf.c
1925
if (errno)
lib/libc/stdio/vfwprintf.c
1930
errno = reallocarr(&newtable, newsize, sizeof(*newtable));
lib/libc/stdio/vfwprintf.c
1931
if (errno) {
lib/libc/stdio/vfwprintf.c
1932
int serrno = errno;
lib/libc/stdio/vfwprintf.c
1934
errno = serrno;
lib/libc/stdio/vfwprintf.c
463
errno = reallocarr(&convbuf, insize + 1, sizeof(*convbuf));
lib/libc/stdio/vfwprintf.c
464
if (errno)
lib/libc/stdio/vfwprintf.c
479
int serrno = errno;
lib/libc/stdio/vfwprintf.c
481
errno = serrno;
lib/libc/stdio/vfwprintf.c
834
errno = EBADF;
lib/libc/stdio/vsnprintf.c
84
errno = EOVERFLOW;
lib/libc/stdio/vsnprintf_ss.c
148
errno = EOVERFLOW;
lib/libc/stdio/vswprintf.c
101
errno = EOVERFLOW;
lib/libc/stdio/vswprintf.c
66
errno = EINVAL;
lib/libc/stdio/vswprintf.c
75
errno = ENOMEM;
lib/libc/stdio/vswprintf.c
81
sverrno = errno;
lib/libc/stdio/vswprintf.c
83
errno = sverrno;
lib/libc/stdio/vswprintf.c
96
errno = EILSEQ;
lib/libc/stdio/wbuf.c
73
errno = EBADF;
lib/libc/stdlib/_env.c
301
errno = reallocarr(&new_environ,
lib/libc/stdlib/_env.c
303
if (errno)
lib/libc/stdlib/_env.c
311
errno = reallocarr(&new_environ,
lib/libc/stdlib/_env.c
313
if (errno)
lib/libc/stdlib/_env.c
372
errno = error;
lib/libc/stdlib/_env.c
386
errno = error;
lib/libc/stdlib/_env.c
400
errno = error;
lib/libc/stdlib/aligned_alloc.c
51
errno = EINVAL;
lib/libc/stdlib/aligned_alloc.c
65
errno = err;
lib/libc/stdlib/getenv.c
103
errno = ERANGE;
lib/libc/stdlib/getenv.c
106
errno = ENOENT;
lib/libc/stdlib/getenv.c
90
errno = ENOENT;
lib/libc/stdlib/hcreate.c
128
errno = reallocarr(&table, nel, sizeof(*table));
lib/libc/stdlib/hcreate.c
129
if (errno)
lib/libc/stdlib/hcreate.c
229
errno = ESRCH;
lib/libc/stdlib/hcreate.c
95
errno = EINVAL;
lib/libc/stdlib/jemalloc.c
1230
STRERROR_R(errno, buf, sizeof(buf));
lib/libc/stdlib/jemalloc.c
1258
STRERROR_R(errno, buf, sizeof(buf));
lib/libc/stdlib/jemalloc.c
3276
serrno = errno;
lib/libc/stdlib/jemalloc.c
3450
errno = serrno;
lib/libc/stdlib/jemalloc.c
3606
errno = ENOMEM;
lib/libc/stdlib/jemalloc.c
3710
errno = ENOMEM;
lib/libc/stdlib/jemalloc.c
3745
errno = ENOMEM;
lib/libc/stdlib/jemalloc.c
3760
errno = ENOMEM;
lib/libc/stdlib/malloc.c
1168
errno = EINVAL;
lib/libc/stdlib/malloc.c
1178
errno = EINVAL;
lib/libc/stdlib/malloc.c
1208
errno = ENOMEM;
lib/libc/stdlib/malloc.c
1242
err = errno; /* Protect errno against changes in pubrealloc(). */
lib/libc/stdlib/malloc.c
1244
errno = err;
lib/libc/stdlib/malloc.c
1260
errno = ENOMEM;
lib/libc/stdlib/malloc.c
359
errno = ENOMEM;
lib/libc/stdlib/malloc.c
408
errno = ENOMEM;
lib/libc/stdlib/malloc.c
463
int serrno = errno;
lib/libc/stdlib/malloc.c
565
errno = serrno;
lib/libc/stdlib/malloc.c
581
errno = ENOMEM;
lib/libc/stdlib/merge.c
124
errno = EINVAL;
lib/libc/stdlib/pty.c
77
return errno;
lib/libc/stdlib/putenv.c
61
errno = EINVAL;
lib/libc/stdlib/radixsort.c
124
errno = EFAULT;
lib/libc/stdlib/radixsort.c
133
errno = reallocarr(&ta, n, sizeof(*ta));
lib/libc/stdlib/radixsort.c
134
if (errno)
lib/libc/stdlib/radixsort.c
95
errno = EINVAL; \
lib/libc/stdlib/reallocarr.c
63
saved_errno = errno;
lib/libc/stdlib/reallocarr.c
69
errno = saved_errno;
lib/libc/stdlib/reallocarr.c
81
errno = saved_errno;
lib/libc/stdlib/reallocarr.c
87
result = errno;
lib/libc/stdlib/reallocarr.c
92
errno = saved_errno;
lib/libc/stdlib/reallocarray.c
58
errno = ENOMEM;
lib/libc/stdlib/reallocarray.c
60
errno = e;
lib/libc/stdlib/setenv.c
72
errno = EINVAL;
lib/libc/stdlib/strfmon.c
416
errno = E2BIG;
lib/libc/stdlib/strfmon.c
420
errno = EINVAL;
lib/libc/stdlib/strfmon.c
423
sverrno = errno;
lib/libc/stdlib/strfmon.c
428
errno = sverrno;
lib/libc/stdlib/strsuftoll.c
155
errno = 0;
lib/libc/stdlib/strsuftoll.c
157
if (errno == ERANGE)
lib/libc/stdlib/strsuftoll.c
220
errno = ERANGE;
lib/libc/stdlib/strsuftoll.c
221
snprintf(ebuf, ebuflen, "%s: %s", desc, strerror(errno));
lib/libc/stdlib/system.c
124
errno = error;
lib/libc/stdlib/system.c
130
if (errno != EINTR) {
lib/libc/stdlib/unsetenv.c
66
errno = EINVAL;
lib/libc/string/bm.c
115
errno = EINVAL;
lib/libc/string/bm.c
153
mem: sv_errno = errno;
lib/libc/string/bm.c
155
errno = sv_errno;
lib/libc/string/strerror.c
81
error = errno;
lib/libc/string/strerror.c
83
errno = error;
lib/libc/string/strerror.c
96
errno = error;
lib/libc/string/strerror_r.c
109
int saved_errno = errno;
lib/libc/string/strerror_r.c
153
errno = saved_errno;
lib/libc/string/wcsdup.c
39
errno = reallocarr(&copy, len, sizeof(*copy));
lib/libc/string/wcsdup.c
40
if (errno)
lib/libc/sys/adjtime.c
72
if (rv != -1 || errno != EPERM)
lib/libc/sys/adjtime.c
82
errno = EPERM;
lib/libc/sys/clock_getcpuclockid.c
45
saved_errno = errno;
lib/libc/sys/clock_getcpuclockid.c
47
error = errno;
lib/libc/sys/clock_getcpuclockid.c
48
errno = saved_errno;
lib/libc/sys/clock_settime.c
74
if (rv != -1 || errno != EPERM)
lib/libc/sys/clock_settime.c
84
errno = EPERM;
lib/libc/sys/epoll.c
42
errno = EINVAL;
lib/libc/sys/eventfd_read.c
57
errno = EIO;
lib/libc/sys/eventfd_write.c
55
errno = EIO;
lib/libc/sys/ntp_adjtime.c
81
if (rv != -1 || errno != EPERM)
lib/libc/sys/ntp_adjtime.c
92
errno = EPERM;
lib/libc/sys/sched.c
112
errno = EINVAL;
lib/libc/sys/sched.c
128
errno = EINVAL;
lib/libc/sys/settimeofday.c
77
if (rv != -1 || errno != EPERM)
lib/libc/sys/settimeofday.c
83
errno = EPERM;
lib/libc/sys/sigwait.c
59
saved_errno = errno;
lib/libc/sys/sigwait.c
61
new_errno = errno;
lib/libc/sys/sigwait.c
62
errno = saved_errno;
lib/libc/sys/vadvise.c
42
errno = EINVAL;
lib/libc/termios/tcflow.c
75
errno = EINVAL;
lib/libc/termios/tcflush.c
71
errno = EINVAL;
lib/libc/termios/tcsetattr.c
74
errno = EINVAL;
lib/libc/thread-stub/thread-stub.c
415
return errno;
lib/libc/time/asctime.c
106
errno = EINVAL;
lib/libc/time/asctime.c
151
errno = EOVERFLOW;
lib/libc/time/getdate.c
106
errno = 0;
lib/libc/time/getdate.c
108
if (errno != 0 || ferror(fp)) {
lib/libc/time/getdate.c
109
if (errno == ENOMEM)
lib/libc/time/getdate.c
93
errno = 0;
lib/libc/time/localtime.c
1091
return errno;
lib/libc/time/localtime.c
1118
return HAVE_MALLOC_ERRNO ? errno : ENOMEM;
lib/libc/time/localtime.c
1139
return errno;
lib/libc/time/localtime.c
1144
err = errno;
lib/libc/time/localtime.c
1160
return HAVE_MALLOC_ERRNO ? errno : ENOMEM;
lib/libc/time/localtime.c
1165
err = (ssize_t)tzheadsize <= nread ? 0 : nread < 0 ? errno : EFTYPE;
lib/libc/time/localtime.c
1512
errno = EINVAL;
lib/libc/time/localtime.c
1519
errno = EOVERFLOW;
lib/libc/time/localtime.c
1525
errno = EINVAL;
lib/libc/time/localtime.c
2104
errno = err;
lib/libc/time/localtime.c
2118
errno = err;
lib/libc/time/localtime.c
2155
errno = err;
lib/libc/time/localtime.c
2160
errno = ENOMEM;
lib/libc/time/localtime.c
2179
err = errno;
lib/libc/time/localtime.c
2182
errno = err;
lib/libc/time/localtime.c
2251
errno = EINVAL;
lib/libc/time/localtime.c
2271
errno = EOVERFLOW;
lib/libc/time/localtime.c
2361
errno = err;
lib/libc/time/localtime.c
2542
errno = EOVERFLOW;
lib/libc/time/localtime.c
2553
errno = EOVERFLOW;
lib/libc/time/localtime.c
2998
errno = EOVERFLOW;
lib/libc/time/localtime.c
3001
errno = EINVAL;
lib/libc/time/localtime.c
3042
errno = EINVAL;
lib/libc/time/localtime.c
3047
save_errno = errno;
lib/libc/time/localtime.c
3050
errno = save_errno;
lib/libc/time/localtime.c
3069
errno = EINVAL;
lib/libc/time/localtime.c
3095
errno = save_errno;
lib/libc/time/localtime.c
3104
errno = EOVERFLOW;
lib/libc/time/localtime.c
3131
errno = err;
lib/libc/time/localtime.c
3264
errno = EOVERFLOW;
lib/libc/time/localtime.c
3276
errno = err;
lib/libc/time/localtime.c
3299
errno = EOVERFLOW;
lib/libc/time/localtime.c
3319
errno = err;
lib/libc/time/localtime.c
3357
errno = EOVERFLOW;
lib/libc/time/localtime.c
400
errno = 0;
lib/libc/time/localtime.c
402
if (val || errno != ENOENT)
lib/libc/time/localtime.c
790
errno = ESRCH;
lib/libc/time/localtime.c
807
errno = ESRCH;
lib/libc/time/strftime.c
206
int saved_errno = errno;
lib/libc/time/strftime.c
223
errno = ERANGE;
lib/libc/time/strftime.c
227
errno = saved_errno;
lib/libc/time/strftime.c
634
int oerrno = errno, dst = t->tm_isdst;
lib/libc/time/strftime.c
641
errno = oerrno;
lib/libc/time/strftime.c
795
errno = err;
lib/libc/time/strftime.c
815
errno = err;
lib/libc/time/zdump.c
229
char const *e = strerror(errno);
lib/libc/time/zdump.c
378
: fclose(stream) != 0 ? strerror(errno) : NULL);
lib/libc/time/zic.c
1197
errno = 0;
lib/libc/time/zic.c
1199
if (lo_end == timerange + 1 || (lo == INTMAX_MAX && errno == ERANGE))
lib/libc/time/zic.c
1204
errno = 0;
lib/libc/time/zic.c
1208
hi -= ! (hi == INTMAX_MAX && errno == ERANGE);
lib/libc/time/zic.c
1521
if (! (s < 0 && errno == EINTR))
lib/libc/time/zic.c
1655
err = errno;
lib/libc/time/zic.c
1660
err = errno;
lib/libc/time/zic.c
1685
int rename_errno = errno;
lib/libc/time/zic.c
1702
progname, diagdir(temp), diagslash(temp), temp, strerror(errno));
lib/libc/time/zic.c
1774
if (remove(linkname) == 0 || errno == ENOENT || errno == ENOTDIR)
lib/libc/time/zic.c
1777
char const *e = strerror(errno);
lib/libc/time/zic.c
1791
link_errno = errno;
lib/libc/time/zic.c
1808
link_errno = errno;
lib/libc/time/zic.c
1842
symlink_errno = errno;
lib/libc/time/zic.c
1862
char const *e = strerror(errno);
lib/libc/time/zic.c
2028
const char *e = strerror(errno);
lib/libc/time/zic.c
266
errno = ENOTSUP;
lib/libc/time/zic.c
272
errno = ENOTSUP;
lib/libc/time/zic.c
278
(errno = ENOTSUP, -1)
lib/libc/time/zic.c
4349
int err = errno;
lib/libc/time/zic.c
646
memory_exhausted(strerror(HAVE_MALLOC_ERRNO ? errno : ENOMEM));
lib/libc/time/zic.c
778
errno = 0;
lib/libc/time/zic.c
780
if (ep == arg || *ep || maxval < n || errno) {
lib/libc/time/zic.c
860
? strerror(errno) : NULL);
lib/libc/time/zic.c
970
int chdir_errno = errno;
lib/libc/time/zic.c
973
chdir_errno = chdir(dir) == 0 ? 0 : errno;
lib/libc/yp/yplib.c
120
if (!(flock(fd, LOCK_EX | LOCK_NB) == -1 && errno == EWOULDBLOCK)) {
lib/libc/yp/yplib.c
166
errno == EWOULDBLOCK) {
lib/libcompat/4.3/rexec.c
103
if (errno == ECONNREFUSED && timo <= 16) {
lib/libcompat/4.3/ruserpass.c
118
if (errno != ENOENT)
lib/libcrypt/bcrypt.c
159
errno = ENOSPC;
lib/libcrypt/bcrypt.c
163
errno = EINVAL;
lib/libcrypt/bcrypt.c
168
errno = EINVAL;
lib/libcrypt/bcrypt.c
171
if (errno == ERANGE && nrounds == ULONG_MAX)
lib/libcrypt/pw_gensalt.c
104
errno = ENOSPC;
lib/libcrypt/pw_gensalt.c
128
errno = ENOSPC;
lib/libcrypt/pw_gensalt.c
298
errno = EINVAL;
lib/libcrypt/pw_gensalt.c
89
errno = ENOSPC;
lib/libcrypt/util.c
63
errno = EINVAL;
lib/libcrypt/util.c
67
if (errno == ERANGE && rv == ULONG_MAX)
lib/libcurses/get_wch.c
605
if (!ferror(infd) || errno != EINTR || !_cursesi_screen->resized)
lib/libcurses/getch.c
1007
if (!ferror(infd) || errno != EINTR || !_cursesi_screen->resized)
lib/libdm/libdm_ioctl.c
161
return errno;
lib/libedit/eln.c
52
errno = ERANGE;
lib/libedit/read.c
285
int save_errno = errno;
lib/libedit/read.c
290
int e = errno;
lib/libedit/read.c
302
errno = save_errno;
lib/libedit/read.c
305
errno = e;
lib/libedit/read.c
340
errno = EILSEQ;
lib/libedit/read.c
416
el->el_read->read_errno = errno;
lib/libedit/read.c
467
if (num == -1 && errno == EINTR)
lib/libedit/read.c
501
errno = 0;
lib/libedit/read.c
618
errno = el->el_read->read_errno;
lib/libedit/readline.c
1297
return errno;
lib/libedit/readline.c
1299
return errno;
lib/libedit/readline.c
1302
ret = errno;
lib/libedit/readline.c
1308
ret = errno;
lib/libedit/readline.c
1315
ret = errno;
lib/libedit/readline.c
1320
ret = errno;
lib/libedit/readline.c
1325
ret = errno;
lib/libedit/readline.c
1333
ret = errno;
lib/libedit/readline.c
1340
ret = errno;
lib/libedit/readline.c
1366
ret = errno;
lib/libedit/readline.c
1371
ret = errno;
lib/libedit/readline.c
1384
ret = errno;
lib/libedit/readline.c
1390
ret = errno;
lib/libedit/readline.c
1397
ret = errno;
lib/libedit/readline.c
1401
ret = errno;
lib/libedit/readline.c
1430
return errno;
lib/libedit/readline.c
1431
errno = 0;
lib/libedit/readline.c
1433
return errno ? errno : EINVAL;
lib/libedit/readline.c
1453
return errno;
lib/libedit/readline.c
1455
(errno ? errno : EINVAL) : 0;
lib/libedit/readline.c
1467
return errno;
lib/libedit/readline.c
1470
return errno;
lib/libedit/readline.c
1473
int serrno = errno ? errno : EINVAL;
lib/libedit/readline.c
2292
if (num_read < 0 && errno == EAGAIN)
lib/libedit/sig.c
111
errno = save_errno;
lib/libedit/sig.c
77
save_errno = errno;
lib/libedit/tty.c
1008
strerror(errno));
lib/libedit/tty.c
1068
strerror(errno));
lib/libedit/tty.c
1093
strerror(errno));
lib/libedit/tty.c
1118
strerror(errno));
lib/libedit/tty.c
1139
strerror(errno));
lib/libedit/tty.c
1299
__func__, strerror(errno));
lib/libedit/tty.c
477
while ((rv = tcgetattr(el->el_infd, t)) == -1 && errno == EINTR)
lib/libedit/tty.c
489
while ((rv = tcsetattr(el->el_infd, action, t)) == -1 && errno == EINTR)
lib/libedit/tty.c
511
strerror(errno));
lib/libedit/tty.c
518
strerror(errno));
lib/libedit/tty.c
557
__func__, strerror(errno));
lib/libedit/tty.c
601
"%s: tty_setty: %s\n", __func__, strerror(errno));
lib/libform/type_ipv4.c
114
errno = 0;
lib/libform/type_ipv4.c
116
if ((hex_val == ULONG_MAX) && (errno == ERANGE))
lib/libintl/gettext_iconv.c
123
int savederrno = errno;
lib/libintl/gettext_iconv.c
196
if (errno == E2BIG &&
lib/libintl/gettext_iconv.c
221
errno = savederrno;
lib/libkvm/kvm.c
131
(void)fprintf(stderr, ": %s\n", strerror(errno));
lib/libkvm/kvm.c
138
strerror(errno));
lib/libkvm/kvm.c
149
_kvm_err(kd, kd->program, "%s", strerror(errno));
lib/libkvm/kvm.c
162
errno = 0;
lib/libkvm/kvm.c
164
if ((off = lseek(fd, offset, whence)) == -1 && errno != 0) {
lib/libkvm/kvm.c
182
errno = EINVAL;
lib/libkvm/kvm.c
224
errno = EINVAL;
lib/libkvm/kvm.c
240
errno = 0;
lib/libkvm/kvm.c
243
errno != 0)
lib/libkvm/kvm.c
373
if (errno != ENXIO) {
lib/libkvm/kvm.c
546
dump_off, strerror(errno));
lib/libkvm/kvm.c
731
(void)strlcpy(errout, strerror(errno), _POSIX2_LINE_MAX);
lib/libkvm/kvm.c
746
program ? program : getprogname(), strerror(errno));
lib/libkvm/kvm.c
835
errno = 0;
lib/libkvm/kvm.c
867
errno = 0;
lib/libkvm/kvm.c
897
errno = 0;
lib/libkvm/kvm.c
930
errno = 0;
lib/libkvm/kvm.c
961
errno = 0;
lib/libkvm/kvm_proc.c
487
if (errno == ENOMEM) {
lib/libkvm/kvm_proc.c
719
switch (errno) {
lib/libkvm/kvm_proc.c
732
switch (errno) {
lib/libm/src/k_standard.c
108
errno = EDOM;
lib/libm/src/k_standard.c
113
errno = EDOM;
lib/libm/src/k_standard.c
124
errno = EDOM;
lib/libm/src/k_standard.c
129
errno = EDOM;
lib/libm/src/k_standard.c
146
errno = EDOM;
lib/libm/src/k_standard.c
159
errno = ERANGE;
lib/libm/src/k_standard.c
161
errno = ERANGE;
lib/libm/src/k_standard.c
174
errno = ERANGE;
lib/libm/src/k_standard.c
176
errno = ERANGE;
lib/libm/src/k_standard.c
189
errno = ERANGE;
lib/libm/src/k_standard.c
191
errno = ERANGE;
lib/libm/src/k_standard.c
201
errno = ERANGE;
lib/libm/src/k_standard.c
203
errno = ERANGE;
lib/libm/src/k_standard.c
216
errno = EDOM;
lib/libm/src/k_standard.c
221
errno = EDOM;
lib/libm/src/k_standard.c
234
errno = EDOM;
lib/libm/src/k_standard.c
239
errno = EDOM;
lib/libm/src/k_standard.c
252
errno = EDOM;
lib/libm/src/k_standard.c
257
errno = EDOM;
lib/libm/src/k_standard.c
270
errno = EDOM;
lib/libm/src/k_standard.c
275
errno = EDOM;
lib/libm/src/k_standard.c
288
errno = EDOM;
lib/libm/src/k_standard.c
293
errno = EDOM;
lib/libm/src/k_standard.c
306
errno = EDOM;
lib/libm/src/k_standard.c
311
errno = EDOM;
lib/libm/src/k_standard.c
324
errno = ERANGE;
lib/libm/src/k_standard.c
326
errno = ERANGE;
lib/libm/src/k_standard.c
339
errno = EDOM;
lib/libm/src/k_standard.c
344
errno = EDOM;
lib/libm/src/k_standard.c
357
errno = ERANGE;
lib/libm/src/k_standard.c
362
errno = EDOM;
lib/libm/src/k_standard.c
375
errno = EDOM;
lib/libm/src/k_standard.c
380
errno = EDOM;
lib/libm/src/k_standard.c
393
errno = ERANGE;
lib/libm/src/k_standard.c
398
errno = EDOM;
lib/libm/src/k_standard.c
411
errno = EDOM;
lib/libm/src/k_standard.c
416
errno = EDOM;
lib/libm/src/k_standard.c
429
errno = EDOM;
lib/libm/src/k_standard.c
447
errno = ERANGE;
lib/libm/src/k_standard.c
449
errno = ERANGE;
lib/libm/src/k_standard.c
459
errno = ERANGE;
lib/libm/src/k_standard.c
461
errno = ERANGE;
lib/libm/src/k_standard.c
477
errno = EDOM;
lib/libm/src/k_standard.c
482
errno = EDOM;
lib/libm/src/k_standard.c
495
errno = EDOM;
lib/libm/src/k_standard.c
500
errno = EDOM;
lib/libm/src/k_standard.c
513
errno = ERANGE;
lib/libm/src/k_standard.c
515
errno = ERANGE;
lib/libm/src/k_standard.c
534
errno = EDOM;
lib/libm/src/k_standard.c
539
errno = EDOM;
lib/libm/src/k_standard.c
558
errno = EDOM;
lib/libm/src/k_standard.c
563
errno = EDOM;
lib/libm/src/k_standard.c
573
errno = EDOM;
lib/libm/src/k_standard.c
578
errno = EDOM;
lib/libm/src/k_standard.c
588
errno = EDOM;
lib/libm/src/k_standard.c
593
errno = EDOM;
lib/libm/src/k_standard.c
603
errno = EDOM;
lib/libm/src/k_standard.c
608
errno = EDOM;
lib/libm/src/k_standard.c
618
errno = EDOM;
lib/libm/src/k_standard.c
623
errno = EDOM;
lib/libm/src/k_standard.c
633
errno = ERANGE;
lib/libm/src/k_standard.c
635
errno = ERANGE;
lib/libm/src/k_standard.c
645
errno = ERANGE;
lib/libm/src/k_standard.c
647
errno = ERANGE;
lib/libm/src/k_standard.c
657
errno = ERANGE;
lib/libm/src/k_standard.c
663
errno = ERANGE;
lib/libm/src/k_standard.c
673
errno = ERANGE;
lib/libm/src/k_standard.c
679
errno = ERANGE;
lib/libm/src/k_standard.c
689
errno = ERANGE;
lib/libm/src/k_standard.c
695
errno = ERANGE;
lib/libm/src/k_standard.c
705
errno = ERANGE;
lib/libm/src/k_standard.c
711
errno = ERANGE;
lib/libm/src/k_standard.c
721
errno = ERANGE;
lib/libm/src/k_standard.c
727
errno = ERANGE;
lib/libm/src/k_standard.c
737
errno = ERANGE;
lib/libm/src/k_standard.c
743
errno = ERANGE;
lib/libm/src/k_standard.c
756
errno = ERANGE;
lib/libm/src/k_standard.c
758
errno = ERANGE;
lib/libm/src/k_standard.c
771
errno = EDOM;
lib/libm/src/k_standard.c
776
errno = EDOM;
lib/libm/src/k_standard.c
789
errno = EDOM;
lib/libm/src/k_standard.c
802
errno = ERANGE;
lib/libm/src/k_standard.c
807
errno = EDOM;
lib/libm/src/k_standard.c
820
errno = EDOM;
lib/libm/src/k_standard.c
825
errno = EDOM;
lib/libm/src/k_standard.c
833
errno = EDOM;
lib/libm/src/w_scalb.c
50
if(!finite(fn)) errno = ERANGE;
lib/libm/src/w_scalbf.c
55
if(!finitef(fn)) errno = ERANGE;
lib/libnpf/npf.c
1200
return errno;
lib/libnpf/npf.c
1214
error = errno;
lib/libnpf/npf.c
1226
error = errno;
lib/libnpf/npf.c
1232
error = errno;
lib/libnpf/npf.c
1236
error = errno;
lib/libnpf/npf.c
1251
error = errno;
lib/libnpf/npf.c
1304
return _npf_init_error(errno, errinfo);
lib/libnpf/npf.c
1309
return _npf_init_error(errno, errinfo);
lib/libnpf/npf.c
1525
return errno;
lib/libnpf/npf.c
293
errno = EPROGMISMATCH;
lib/libnpf/npf.c
304
errno = ENOTSUP;
lib/libnpf/npf.c
309
return errno ? errno : EIO;
lib/libnpf/npf.c
363
return _npf_init_error(errno, errinfo);
lib/libnpf/npf.c
540
errno = EINVAL;
lib/libnpf/npf.c
573
errno = EINVAL;
lib/libnpf/npf.c
574
return errno;
lib/libnvmm/libnvmm.c
107
errno = EINVAL;
lib/libnvmm/libnvmm.c
174
errno = EPROGMISMATCH;
lib/libnvmm/libnvmm.c
197
errno = EPROGMISMATCH;
lib/libnvmm/libnvmm.c
544
errno = ENOENT;
lib/libnvmm/libnvmm_x86.c
3421
errno = EINVAL;
lib/libnvmm/libnvmm_x86.c
3444
errno = ENODEV;
lib/libnvmm/libnvmm_x86.c
3465
errno = ENODEV;
lib/libnvmm/libnvmm_x86.c
426
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
453
errno = EINVAL; \
lib/libnvmm/libnvmm_x86.c
508
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
573
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
597
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
630
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
654
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
725
errno = EINVAL;
lib/libossaudio/oss3_mixer.c
126
errno = EINVAL;
lib/libossaudio/oss3_mixer.c
138
errno = EINVAL;
lib/libossaudio/oss3_mixer.c
148
errno = EINVAL;
lib/libossaudio/oss3_mixer.c
162
errno = EINVAL;
lib/libossaudio/oss3_mixer.c
174
errno = EINVAL;
lib/libossaudio/oss3_mixer.c
192
errno = EINVAL;
lib/libossaudio/oss3_mixer.c
217
errno = EINVAL;
lib/libossaudio/oss3_mixer.c
89
errno = EINVAL;
lib/libossaudio/oss4_global.c
54
errno = EINVAL;
lib/libossaudio/oss4_global.c
58
errno = EINVAL;
lib/libossaudio/oss4_mixer.c
117
tmperrno = errno;
lib/libossaudio/oss4_mixer.c
119
errno = tmperrno;
lib/libossaudio/oss4_mixer.c
123
tmperrno = errno;
lib/libossaudio/oss4_mixer.c
125
errno = tmperrno;
lib/libossaudio/oss4_mixer.c
171
errno = EINVAL;
lib/libossaudio/oss4_mixer.c
184
tmperrno = errno;
lib/libossaudio/oss4_mixer.c
188
errno = tmperrno;
lib/libossaudio/oss4_mixer.c
229
errno = EINVAL;
lib/libossaudio/oss4_mixer.c
237
tmperrno = errno;
lib/libossaudio/oss4_mixer.c
239
errno = tmperrno;
lib/libossaudio/oss4_mixer.c
259
errno = ENOSYS;
lib/libossaudio/oss4_mixer.c
283
tmperrno = errno;
lib/libossaudio/oss4_mixer.c
286
errno = tmperrno;
lib/libossaudio/oss4_mixer.c
313
tmperrno = errno;
lib/libossaudio/oss4_mixer.c
315
errno = tmperrno;
lib/libossaudio/oss4_mixer.c
385
errno = EINVAL;
lib/libossaudio/oss4_mixer.c
389
errno = EINVAL;
lib/libossaudio/oss4_mixer.c
397
tmperrno = errno;
lib/libossaudio/oss4_mixer.c
400
errno = tmperrno;
lib/libossaudio/oss4_mixer.c
412
errno = ENOMEM;
lib/libossaudio/oss4_mixer.c
427
errno = ENOMEM;
lib/libossaudio/oss4_mixer.c
436
errno = EINVAL;
lib/libossaudio/oss4_mixer.c
443
errno = EINVAL;
lib/libossaudio/oss4_mixer.c
447
errno = EINVAL;
lib/libossaudio/oss4_mixer.c
456
tmperrno = errno;
lib/libossaudio/oss4_mixer.c
458
errno = tmperrno;
lib/libossaudio/oss4_mixer.c
466
errno = EINVAL;
lib/libossaudio/oss4_mixer.c
474
errno = EINVAL;
lib/libossaudio/oss4_mixer.c
504
tmperrno = errno;
lib/libossaudio/oss4_mixer.c
506
errno = tmperrno;
lib/libossaudio/oss4_mixer.c
514
errno = EINVAL;
lib/libossaudio/oss4_mixer.c
518
errno = EINVAL;
lib/libossaudio/oss4_mixer.c
527
tmperrno = errno;
lib/libossaudio/oss4_mixer.c
529
errno = tmperrno;
lib/libossaudio/oss4_mixer.c
538
tmperrno = errno;
lib/libossaudio/oss4_mixer.c
540
errno = tmperrno;
lib/libossaudio/oss4_mixer.c
577
errno = EINVAL;
lib/libossaudio/oss4_mixer.c
582
errno = EINVAL;
lib/libossaudio/oss4_mixer.c
594
int tmperrno = errno;
lib/libossaudio/oss4_mixer.c
605
errno = tmperrno;
lib/libossaudio/oss4_mixer.c
615
int tmperrno = errno;
lib/libossaudio/oss4_mixer.c
625
errno = tmperrno;
lib/libossaudio/oss4_mixer.c
88
errno = EINVAL;
lib/libossaudio/oss_dsp.c
220
errno = EINVAL;
lib/libossaudio/oss_dsp.c
239
errno = EINVAL;
lib/libossaudio/oss_dsp.c
406
errno = EINVAL;
lib/libossaudio/oss_dsp.c
429
errno = EINVAL;
lib/libossaudio/oss_dsp.c
447
errno = EINVAL;
lib/libossaudio/oss_dsp.c
524
errno = 0;
lib/libossaudio/oss_dsp.c
532
errno = 0;
lib/libossaudio/oss_dsp.c
543
errno = 0;
lib/libossaudio/oss_dsp.c
86
errno = EINVAL;
lib/libp2k/p2k.c
376
int sverrno = errno;
lib/libp2k/p2k.c
378
errno = sverrno;
lib/libp2k/p2k.c
385
int sverrno = errno;
lib/libp2k/p2k.c
387
errno = sverrno;
lib/libp2k/p2k.c
447
errno = rv;
lib/libp2k/p2k.c
465
errno = rv;
lib/libp2k/p2k.c
506
sverrno = errno;
lib/libp2k/p2k.c
511
errno = sverrno;
lib/libp2k/p2k.c
523
sverrno = errno;
lib/libp2k/p2k.c
530
errno = sverrno;
lib/libpam/modules/pam_chroot/pam_chroot.c
100
openpam_log(PAM_LOG_ERROR, "chroot(): %s", strerror(errno));
lib/libpam/modules/pam_chroot/pam_chroot.c
104
openpam_log(PAM_LOG_ERROR, "chdir(): %s", strerror(errno));
lib/libpam/modules/pam_exec/pam_exec.c
125
childerr = errno;
lib/libpam/modules/pam_exec/pam_exec.c
130
openpam_log(PAM_LOG_ERROR, "vfork(): %s", strerror(errno));
lib/libpam/modules/pam_exec/pam_exec.c
134
openpam_log(PAM_LOG_ERROR, "waitpid(): %s", strerror(errno));
lib/libpam/modules/pam_exec/pam_exec.c
138
openpam_log(PAM_LOG_ERROR, "execve(): %s", strerror(errno));
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
84
PAM_LOG("%s: %s", _PATH_FTPUSERS, strerror(errno));
lib/libpam/modules/pam_krb5/pam_krb5.c
621
PAM_LOG("Error chown(): %s", strerror(errno));
lib/libpam/modules/pam_krb5/pam_krb5.c
629
PAM_LOG("Error chmod(): %s", strerror(errno));
lib/libpam/modules/pam_ksu/pam_ksu.c
229
return (errno);
lib/libpam/modules/pam_ksu/pam_ksu.c
236
return (errno);
lib/libpam/modules/pam_ksu/pam_ksu.c
247
return (errno);
lib/libpam/modules/pam_ksu/pam_ksu.c
281
return (errno);
lib/libpam/modules/pam_lastlog/pam_lastlog.c
296
logit(LOG_NOTICE, "Cannot update utmpx: %s", strerror(errno));
lib/libpam/modules/pam_lastlog/pam_lastlog.c
299
logit(LOG_NOTICE, "Cannot update wtmpx: %s", strerror(errno));
lib/libpam/modules/pam_lastlog/pam_lastlog.c
328
logit(LOG_NOTICE, "Cannot update lastlogx: %s", strerror(errno));
lib/libpam/modules/pam_lastlog/pam_lastlog.c
358
strerror(errno));
lib/libpam/modules/pam_login_access/login_access.c
125
} else if (errno != ENOENT) {
lib/libpam/modules/pam_login_access/login_access.c
126
logit(LOG_ERR, "cannot open %s: %s", _PATH_LOGACCESS, strerror(errno));
lib/libpam/modules/pam_nologin/pam_nologin.c
116
if (errno == ENOENT)
lib/libpam/modules/pam_nologin/pam_nologin.c
124
PAM_LOG("Cannot open %s file: %s", nologin, strerror(errno));
lib/libpam/modules/pam_ssh/pam_ssh.c
310
__func__, (int)pwd->pw_gid, strerror(errno));
lib/libpam/modules/pam_ssh/pam_ssh.c
316
__func__, pwd->pw_name, strerror(errno));
lib/libpam/modules/pam_ssh/pam_ssh.c
321
__func__, (int)pwd->pw_uid, strerror(errno));
lib/libpam/modules/pam_ssh/pam_ssh.c
477
(waitpid(pid, &status, 0) == -1 && errno != ECHILD))
lib/libpam/modules/pam_unix/pam_unix.c
376
pam_error(pamh, "%s: %s", _PATH_MASTERPASSWD, strerror(errno));
lib/libperfuse/perfuse.c
142
errno = EINVAL;
lib/libperfuse/perfuse_if.h
114
errno = e; \
lib/libperfuse/perfuse_if.h
89
(void)strerror_r(errno, strerrbuf, sizeof(strerrbuf)); \
lib/libpthread/pthread.c
1248
switch (rv = errno) {
lib/libpthread/pthread.c
1257
__func__, "_lwp_park failed: %d", errno);
lib/libpthread/pthread.c
470
errno == ESRCH)
lib/libpthread/pthread.c
550
ret = errno;
lib/libpthread/pthread.c
625
return errno;
lib/libpthread/pthread.c
639
return errno;
lib/libpthread/pthread.c
720
if (errno != EINTR)
lib/libpthread/pthread.c
721
return errno;
lib/libpthread/pthread.c
796
error = errno;
lib/libpthread/pthread_cancelstub.c
723
saved_errno = errno;
lib/libpthread/pthread_cancelstub.c
727
new_errno = errno;
lib/libpthread/pthread_cancelstub.c
728
errno = saved_errno;
lib/libpthread/pthread_cond.c
183
if (errno != EINTR && errno != EALREADY) {
lib/libpthread/pthread_cond.c
184
error = errno;
lib/libpthread/pthread_cond.c
352
return errno;
lib/libpthread/pthread_cond.c
97
return errno;
lib/libpthread/pthread_getcpuclockid.c
54
saved_errno = errno;
lib/libpthread/pthread_getcpuclockid.c
56
error = errno;
lib/libpthread/pthread_getcpuclockid.c
57
errno = saved_errno;
lib/libpthread/pthread_misc.c
109
return errno;
lib/libpthread/pthread_misc.c
125
return errno;
lib/libpthread/pthread_misc.c
143
return errno;
lib/libpthread/pthread_misc.c
160
return errno;
lib/libpthread/pthread_misc.c
168
return errno;
lib/libpthread/pthread_misc.c
74
return errno;
lib/libpthread/pthread_misc.c
93
return errno;
lib/libpthread/pthread_mutex.c
280
serrno = errno;
lib/libpthread/pthread_mutex.c
298
error = errno;
lib/libpthread/pthread_mutex.c
299
errno = serrno;
lib/libpthread/pthread_mutex.c
312
errno = serrno;
lib/libpthread/pthread_mutex.c
363
if (error < 0 && errno == ETIMEDOUT) {
lib/libpthread/pthread_mutex.c
382
errno = serrno;
lib/libpthread/pthread_rwlock.c
363
"direct handoff failure: %d", errno);
lib/libpuffs/callcontext.c
172
errno = ESRCH;
lib/libpuffs/creds.c
58
errno = EOPNOTSUPP;
lib/libpuffs/creds.c
72
errno = EOPNOTSUPP;
lib/libpuffs/creds.c
87
errno = EOPNOTSUPP;
lib/libpuffs/dispatcher.c
138
error = errno;
lib/libpuffs/framebuf.c
1022
errno = ENXIO;
lib/libpuffs/framebuf.c
175
errno = ENOMEM;
lib/libpuffs/framebuf.c
240
errno = ENOBUFS;
lib/libpuffs/framebuf.c
256
errno = ENOBUFS;
lib/libpuffs/framebuf.c
345
errno = EINVAL; \
lib/libpuffs/framebuf.c
349
errno = ESHUTDOWN; \
lib/libpuffs/framebuf.c
385
errno = pufbuf->rv;
lib/libpuffs/framebuf.c
456
errno = EINVAL;
lib/libpuffs/framebuf.c
474
errno = pufbuf->rv;
lib/libpuffs/framebuf.c
507
errno = pufbuf->rv;
lib/libpuffs/framebuf.c
520
errno = EBUSY;
lib/libpuffs/framebuf.c
546
errno = EINVAL;
lib/libpuffs/framebuf.c
552
errno = EINVAL;
lib/libpuffs/framebuf.c
595
errno = feb.rv;
lib/libpuffs/framebuf.c
787
errno = ENOMEM;
lib/libpuffs/framebuf.c
862
errno = ENXIO;
lib/libpuffs/framebuf.c
894
errno = ENXIO;
lib/libpuffs/null.c
105
if (errno == EACCES) {
lib/libpuffs/null.c
115
sverr = errno;
lib/libpuffs/null.c
119
errno = sverr;
lib/libpuffs/null.c
155
return errno;
lib/libpuffs/null.c
198
return errno;
lib/libpuffs/null.c
277
rv = errno;
lib/libpuffs/null.c
314
return errno;
lib/libpuffs/null.c
344
return errno;
lib/libpuffs/null.c
364
return errno;
lib/libpuffs/null.c
381
return errno;
lib/libpuffs/null.c
418
return errno;
lib/libpuffs/null.c
421
return errno;
lib/libpuffs/null.c
424
rv = errno;
lib/libpuffs/null.c
430
rv = errno;
lib/libpuffs/null.c
436
return errno;
lib/libpuffs/null.c
446
rv = errno;
lib/libpuffs/null.c
462
return errno;
lib/libpuffs/null.c
476
return errno;
lib/libpuffs/null.c
491
return errno;
lib/libpuffs/null.c
508
return errno;
lib/libpuffs/null.c
524
return errno;
lib/libpuffs/null.c
539
return errno;
lib/libpuffs/null.c
557
return errno;
lib/libpuffs/null.c
579
return errno;
lib/libpuffs/null.c
639
return errno;
lib/libpuffs/null.c
642
rv = errno;
lib/libpuffs/null.c
648
rv = errno;
lib/libpuffs/null.c
65
return errno;
lib/libpuffs/null.c
671
return errno;
lib/libpuffs/null.c
675
rv = errno;
lib/libpuffs/null.c
681
rv = errno;
lib/libpuffs/null.c
69
return errno;
lib/libpuffs/null.c
78
return errno;
lib/libpuffs/null.c
83
return errno;
lib/libpuffs/paths.c
272
return errno;
lib/libpuffs/paths.c
280
return errno;
lib/libpuffs/puffs.c
1041
errno = 0;
lib/libpuffs/puffs.c
1045
sverrno = errno;
lib/libpuffs/puffs.c
1047
errno = sverrno;
lib/libpuffs/puffs.c
1048
if (errno)
lib/libpuffs/puffs.c
179
errno = EINVAL;
lib/libpuffs/puffs.c
245
errno = ENOENT;
lib/libpuffs/puffs.c
472
errno = value;
lib/libpuffs/puffs.c
499
n = write(pu->pu_dpipe[1], &errno, sizeof(int));
lib/libpuffs/puffs.c
546
errno = EINVAL;
lib/libpuffs/puffs.c
562
errno = EIO; \
lib/libpuffs/puffs.c
619
sverrno = errno;
lib/libpuffs/puffs.c
628
errno = sverrno;
lib/libpuffs/puffs.c
708
sverrno = errno;
lib/libpuffs/puffs.c
710
errno = sverrno;
lib/libpuffs/puffs.c
735
errno = ENOMEM;
lib/libpuffs/puffs.c
741
sverrno = errno;
lib/libpuffs/puffs.c
743
errno = sverrno;
lib/libpuffs/puffs.c
766
errno = EINVAL;
lib/libpuffs/puffs.c
875
if (errno != EINTR)
lib/libpuffs/puffs.c
974
errno = ENOMEM;
lib/libpuffs/requests.c
139
return errno;
lib/libpuffs/requests.c
160
return errno;
lib/libpuffs/requests.c
180
if (errno == EAGAIN)
lib/libpuffs/requests.c
182
return errno;
lib/libpuffs/requests.c
82
return errno;
lib/libpuffs/requests.c
89
return errno;
lib/libpuffs/requests.c
95
if (errno == EAGAIN)
lib/libpuffs/requests.c
97
return errno;
lib/libquota/quota_cursor.c
131
errno = EINVAL;
lib/libquota/quota_cursor.c
148
errno = EINVAL;
lib/libquota/quota_cursor.c
166
errno = EINVAL;
lib/libquota/quota_cursor.c
180
errno = EINVAL;
lib/libquota/quota_cursor.c
193
errno = EINVAL;
lib/libquota/quota_cursor.c
49
errno = EOPNOTSUPP;
lib/libquota/quota_cursor.c
61
errno = EINVAL;
lib/libquota/quota_cursor.c
87
serrno = errno;
lib/libquota/quota_cursor.c
89
errno = serrno;
lib/libquota/quota_cursor.c
96
serrno = errno;
lib/libquota/quota_cursor.c
98
errno = serrno;
lib/libquota/quota_delete.c
44
errno = EOPNOTSUPP;
lib/libquota/quota_delete.c
56
errno = EINVAL;
lib/libquota/quota_get.c
65
errno = EINVAL;
lib/libquota/quota_kernel.c
174
errno = ENXIO;
lib/libquota/quota_kernel.c
243
sverrno = errno;
lib/libquota/quota_kernel.c
245
errno = sverrno;
lib/libquota/quota_kernel.c
304
errno = EINVAL;
lib/libquota/quota_nfs.c
148
errno = EINVAL;
lib/libquota/quota_nfs.c
157
errno = EINVAL;
lib/libquota/quota_nfs.c
166
errno = ENOMEM;
lib/libquota/quota_nfs.c
172
errno = EINVAL;
lib/libquota/quota_nfs.c
191
sverrno = errno;
lib/libquota/quota_nfs.c
209
errno = sverrno;
lib/libquota/quota_nfs.c
218
errno = EACCES;
lib/libquota/quota_nfs.c
233
errno = ERANGE;
lib/libquota/quota_oldfiles.c
182
serrno = errno;
lib/libquota/quota_oldfiles.c
192
errno = serrno;
lib/libquota/quota_oldfiles.c
211
if (access(_PATH_FSTAB, F_OK) == -1 && errno == ENOENT)
lib/libquota/quota_oldfiles.c
270
errno = ENXIO;
lib/libquota/quota_oldfiles.c
277
errno = ENXIO;
lib/libquota/quota_oldfiles.c
284
errno = ENXIO;
lib/libquota/quota_oldfiles.c
290
errno = EINVAL;
lib/libquota/quota_oldfiles.c
367
if (fd < 0 && (errno == EACCES || errno == EROFS)) {
lib/libquota/quota_oldfiles.c
395
errno = ENXIO;
lib/libquota/quota_oldfiles.c
400
errno = ENXIO;
lib/libquota/quota_oldfiles.c
502
errno = EINVAL;
lib/libquota/quota_oldfiles.c
517
errno = ENOENT;
lib/libquota/quota_oldfiles.c
520
errno = EFTYPE;
lib/libquota/quota_oldfiles.c
532
errno = EINVAL;
lib/libquota/quota_oldfiles.c
589
errno = EINVAL;
lib/libquota/quota_oldfiles.c
613
errno = EFTYPE;
lib/libquota/quota_oldfiles.c
625
errno = EINVAL;
lib/libquota/quota_oldfiles.c
661
errno = EINVAL;
lib/libquota/quota_oldfiles.c
670
errno = EFTYPE;
lib/libquota/quota_oldfiles.c
735
serrno = errno;
lib/libquota/quota_oldfiles.c
737
errno = serrno;
lib/libquota/quota_oldfiles.c
743
serrno = errno;
lib/libquota/quota_oldfiles.c
745
errno = serrno;
lib/libquota/quota_oldfiles.c
773
errno = EINVAL;
lib/libquota/quota_oldfiles.c
807
errno = ENOENT;
lib/libquota/quota_oldfiles.c
879
errno = EINVAL;
lib/libquota/quota_open.c
107
serrno = errno;
lib/libquota/quota_open.c
109
errno = serrno;
lib/libquota/quota_open.c
115
serrno = errno;
lib/libquota/quota_open.c
118
errno = serrno;
lib/libquota/quota_open.c
162
errno = EOPNOTSUPP;
lib/libquota/quota_open.c
169
errno = EINVAL;
lib/libquota/quota_open.c
180
errno = EOPNOTSUPP;
lib/libquota/quota_open.c
184
errno = ENOTCONN;
lib/libquota/quota_open.c
189
errno = EINVAL;
lib/libquota/quota_open.c
91
errno = EOPNOTSUPP;
lib/libquota/quota_put.c
45
errno = EOPNOTSUPP;
lib/libquota/quota_put.c
57
errno = EINVAL;
lib/libquota/quota_schema.c
131
errno = EINVAL;
lib/libquota/quota_schema.c
170
errno = EINVAL;
lib/libquota/quota_schema.c
194
errno = EINVAL;
lib/libquota/quota_schema.c
64
errno = EINVAL;
lib/libquota/quota_schema.c
87
errno = EINVAL;
lib/libradius/radlib.c
413
generr(h, "Cannot open \"%s\": %s", path, strerror(errno));
lib/libradius/radlib.c
571
generr(h, "recvfrom: %s", strerror(errno));
lib/libradius/radlib.c
613
generr(h, "sendto: %s", strerror(errno));
lib/libradius/radlib.c
718
generr(h, "Cannot create socket: %s", strerror(errno));
lib/libradius/radlib.c
728
generr(h, "bind: %s", strerror(errno));
lib/libradius/radlib.c
947
generr(h, "select: %s", strerror(errno));
lib/librefuse/refuse.c
452
return errno;
lib/librefuse/refuse/buf.c
132
if (errno == EINTR)
lib/librefuse/refuse/buf.c
87
if (errno == EINTR)
lib/libresolv/dst_api.c
443
" errno=%d\n", __func__, file, len, nn, errno));
lib/libresolv/dst_api.c
622
__func__, filename, errno));
lib/libresolv/ns_sign.c
55
errno = EMSGSIZE; \
lib/libresolv/res_findzonecut.c
218
DPRINTF(("FINISH n=%d (%s)", n, (n < 0) ? strerror(errno) : "OK"));
lib/libresolv/res_findzonecut.c
349
errno = EPROTOTYPE;
lib/libresolv/res_findzonecut.c
360
errno = EPROTOTYPE;
lib/libresolv/res_findzonecut.c
371
errno = EMSGSIZE;
lib/libresolv/res_findzonecut.c
399
errno = EMSGSIZE;
lib/libresolv/res_findzonecut.c
406
errno = EDESTADDRREQ;
lib/libresolv/res_findzonecut.c
690
errno = EMSGSIZE;
lib/libresolv/res_findzonecut.c
96
int save_errno = errno; \
lib/libresolv/res_findzonecut.c
98
errno = save_errno; \
lib/libresolv/res_mkupdate.c
494
errno = 0;
lib/libresolv/res_mkupdate.c
497
errno = ERANGE;
lib/libresolv/res_mkupdate.c
499
if (errno != 0 ||
lib/libresolv/res_sendsigned.c
143
errno = EINVAL;
lib/libresolv/res_sendsigned.c
145
errno = ENOTTY;
lib/libresolv/res_sendsigned.c
50
errno = ENOMEM;
lib/libresolv/res_sendsigned.c
59
errno = ENOMEM;
lib/libresolv/res_sendsigned.c
73
errno = EINVAL;
lib/libresolv/res_sendsigned.c
88
errno = EMSGSIZE;
lib/libresolv/res_sendsigned.c
90
errno = EINVAL;
lib/libresolv/res_update.c
182
n, strerror(errno)));
lib/libresolv/res_update.c
91
int save_errno = errno; \
lib/libresolv/res_update.c
93
errno = save_errno; \
lib/librmt/rmtlib.c
129
errno = EIO;
lib/librmt/rmtlib.c
151
errno = EIO;
lib/librmt/rmtlib.c
162
errno = EIO;
lib/librmt/rmtlib.c
175
errno = atoi(cp + 1);
lib/librmt/rmtlib.c
192
errno = EIO;
lib/librmt/rmtlib.c
274
errno = EMFILE;
lib/librmt/rmtlib.c
431
errno = EIO;
lib/librmt/rmtlib.c
463
errno = EIO;
lib/librmt/rmtlib.c
519
errno = EINVAL;
lib/librmt/rmtlib.c
538
errno = EIO;
lib/librmt/rmtlib.c
762
errno = EOPNOTSUPP;
lib/librmt/rmtlib.c
780
errno = EOPNOTSUPP;
lib/librmt/rmtlib.c
798
errno = EOPNOTSUPP;
lib/librmt/rmtlib.c
817
errno = EOPNOTSUPP;
lib/librmt/rmtlib.c
858
errno = EOPNOTSUPP;
lib/librmt/rmtlib.c
891
errno = EOPNOTSUPP;
lib/librt/sem.c
221
errno = ENOTSUP;
lib/librt/sem.c
230
errno = error;
lib/librt/sem.c
244
errno = EINVAL;
lib/librt/sem.c
253
errno = EINVAL;
lib/librt/sem.c
258
save_errno = errno;
lib/librt/sem.c
261
errno = save_errno;
lib/librt/sem.c
327
errno = error;
lib/librt/sem.c
338
errno = EINVAL;
lib/librt/sem.c
344
errno = EINVAL;
lib/librt/sem.c
351
save_errno = errno;
lib/librt/sem.c
356
errno = save_errno;
lib/librt/sem.c
373
errno = EINVAL;
lib/librt/sem.c
387
errno = EINVAL;
lib/librt/sem.c
401
errno = EINVAL;
lib/librt/sem.c
415
errno = EINVAL;
lib/librt/sem.c
429
errno = EINVAL;
lib/librt/shm.c
107
errno = EINVAL;
lib/librt/shm.c
115
errno = ENAMETOOLONG;
lib/librt/shm.c
98
errno = ENOTSUP;
lib/librumpclient/rumpclient.c
1010
errno = rv;
lib/librumpclient/rumpclient.c
1055
errno = error;
lib/librumpclient/rumpclient.c
1127
int sverrno = errno;
lib/librumpclient/rumpclient.c
1129
errno = sverrno;
lib/librumpclient/rumpclient.c
1209
sverrno = errno;
lib/librumpclient/rumpclient.c
1213
errno = sverrno;
lib/librumpclient/rumpclient.c
1259
sverrno = errno;
lib/librumpclient/rumpclient.c
1261
errno = sverrno;
lib/librumpclient/rumpclient.c
211
_DIAGASSERT(errno != EAGAIN);
lib/librumpclient/rumpclient.c
688
sverrno = errno;
lib/librumpclient/rumpclient.c
695
errno = sverrno;
lib/librumpclient/rumpclient.c
798
if (errno == EINTR)
lib/librumpclient/rumpclient.c
801
strerror(errno)));
lib/librumpclient/rumpclient.c
824
ERRLOG(("rump_sp: socket fd NONBLOCK: %s\n", strerror(errno)));
lib/librumpclient/rumpclient.c
949
errno = ENOENT;
lib/librumpclient/rumpclient.c
955
errno = error;
lib/librumpclient/rumpclient.c
978
errno = error;
lib/librumphijack/hijack.c
1147
errno = EINVAL;
lib/librumphijack/hijack.c
1176
errno = ENFILE;
lib/librumphijack/hijack.c
1289
errno = ERANGE;
lib/librumphijack/hijack.c
1331
errno = EXDEV;
lib/librumphijack/hijack.c
1342
errno = EXDEV;
lib/librumphijack/hijack.c
1828
errno = error;
lib/librumphijack/hijack.c
1872
errno = EBADF;
lib/librumphijack/hijack.c
1957
errno = ENOMEM;
lib/librumphijack/hijack.c
1973
errno = ENOMEM;
lib/librumphijack/hijack.c
1990
sverrno = errno;
lib/librumphijack/hijack.c
1993
errno = sverrno;
lib/librumphijack/hijack.c
2181
parg->errnum = errno;
lib/librumphijack/hijack.c
2238
sverrno = errno;
lib/librumphijack/hijack.c
2241
sverrno = errno;
lib/librumphijack/hijack.c
2298
errno_rump = errno;
lib/librumphijack/hijack.c
2364
errno = sverrno;
lib/librumphijack/hijack.c
2419
errno = ENOTSUP;
lib/librumphijack/hijack.c
2438
errno = ENOSYS;
lib/librumphijack/hijack.c
2737
errno = ENOENT;
lib/librumpuser/rumpfiber.c
474
rv = errno;
lib/librumpuser/rumpfiber.c
530
rv = errno;
lib/librumpuser/rumpfiber.c
559
errno = error;
lib/librumpuser/rumpfiber_bio.c
53
error = rumpuser__errtrans(errno);
lib/librumpuser/rumpfiber_bio.c
56
error = rumpuser__errtrans(errno);
lib/librumpuser/rumpuser.c
103
rv = errno;
lib/librumpuser/rumpuser.c
133
} while (rv == -1 && errno == EINTR);
lib/librumpuser/rumpuser.c
135
rv = errno;
lib/librumpuser/rumpuser.c
160
rv = errno;
lib/librumpuser/rumpuser.c
215
rv = errno;
lib/librumpuser/rumpuser.c
245
errno = error;
lib/librumpuser/rumpuser_bio.c
78
error = rumpuser__errtrans(errno);
lib/librumpuser/rumpuser_bio.c
86
error = rumpuser__errtrans(errno);
lib/librumpuser/rumpuser_daemonize.c
102
rv = errno;
lib/librumpuser/rumpuser_daemonize.c
107
rv = errno;
lib/librumpuser/rumpuser_daemonize.c
116
rumpuser_daemonize_done(errno);
lib/librumpuser/rumpuser_daemonize.c
121
rv = errno;
lib/librumpuser/rumpuser_daemonize.c
127
error = errno;
lib/librumpuser/rumpuser_daemonize.c
152
error = errno;
lib/librumpuser/rumpuser_daemonize.c
172
rv = errno;
lib/librumpuser/rumpuser_file.c
125
rv = errno;
lib/librumpuser/rumpuser_file.c
171
rv = errno;
lib/librumpuser/rumpuser_file.c
213
rv = errno;
lib/librumpuser/rumpuser_file.c
269
rv = errno;
lib/librumpuser/rumpuser_file.c
306
rv = errno;
lib/librumpuser/rumpuser_file.c
340
rv = errno;
lib/librumpuser/rumpuser_file.c
345
rv = errno;
lib/librumpuser/rumpuser_file.c
81
rv = errno;
lib/librumpuser/rumpuser_int.h
63
seterror(errno); \
lib/librumpuser/rumpuser_int.h
77
seterror(errno); \
lib/librumpuser/rumpuser_mem.c
96
rv = errno;
lib/librumpuser/rumpuser_port.h
165
errno = ERANGE;
lib/librumpuser/rumpuser_port.h
171
errno = ENOENT;
lib/librumpuser/rumpuser_random.c
69
return errno;
lib/librumpuser/rumpuser_random.c
83
ET(errno);
lib/librumpuser/rumpuser_sp.c
1238
if (errno == EINTR)
lib/librumpuser/rumpuser_sp.c
1241
errno);
lib/librumpuser/rumpuser_sp.c
1331
error = errno;
lib/librumpuser/rumpuser_sp.c
1352
error = errno;
lib/librumpuser/rumpuser_sp.c
1357
error = errno;
lib/librumpuser/sp_common.c
326
if (errno == EINTR)
lib/librumpuser/sp_common.c
328
return errno;
lib/librumpuser/sp_common.c
336
if (errno == EPIPE)
lib/librumpuser/sp_common.c
338
if (errno != EAGAIN)
lib/librumpuser/sp_common.c
339
return errno;
lib/librumpuser/sp_common.c
488
if (errno == EAGAIN)
lib/librumpuser/sp_common.c
532
if (errno == EAGAIN)
lib/librumpuser/sp_common.c
585
return errno;
lib/librumpuser/sp_common.c
621
return errno;
lib/librumpuser/sp_common.c
687
return errno;
lib/libskey/skeylogin.c
283
errno != EWOULDBLOCK)
lib/libskey/skeylogin.c
288
errno = EAGAIN;
lib/libterminfo/compile.c
155
errno = EINVAL;
lib/libterminfo/compile.c
221
errno = ESRCH;
lib/libterminfo/compile.c
255
errno = ESRCH;
lib/libterminfo/compile.c
276
errno = EINVAL;
lib/libterminfo/compile.c
59
errno = EINVAL;
lib/libterminfo/term.c
228
errno = EINVAL;
lib/libterminfo/term.c
280
errno = ENOENT; /* To fall back to a non extension. */
lib/libterminfo/term.c
285
if (db == NULL && errno == ENOENT) {
lib/libterminfo/termcap.c
467
errno = ENOMEM;
lib/libterminfo/tparm.c
166
errno = E2BIG;
lib/libterminfo/tparm.c
172
errno = EINVAL;
lib/libterminfo/tparm.c
242
errno = ENOTSUP;
lib/libterminfo/tparm.c
68
errno = E2BIG;
lib/libterminfo/tparm.c
85
errno = E2BIG;
lib/libukfs/ukfs.c
1175
errno = error;
lib/libukfs/ukfs.c
1270
errno = error;
lib/libukfs/ukfs.c
130
return errno;
lib/libukfs/ukfs.c
1302
errno = ENXIO;
lib/libukfs/ukfs.c
132
return errno;
lib/libukfs/ukfs.c
1334
errno = ENOMEM;
lib/libukfs/ukfs.c
1349
if (errno == EEXIST)
lib/libukfs/ukfs.c
151
errno = ukfs_rv; \
lib/libukfs/ukfs.c
187
errno = EPROGMISMATCH;
lib/libukfs/ukfs.c
194
errno = rv;
lib/libukfs/ukfs.c
220
errno = ENODEV;
lib/libukfs/ukfs.c
226
errno = ENOMEM;
lib/libukfs/ukfs.c
230
error = errno;
lib/libukfs/ukfs.c
232
errno = error;
lib/libukfs/ukfs.c
260
error = errno;
lib/libukfs/ukfs.c
266
error = errno;
lib/libukfs/ukfs.c
362
errno = error;
lib/libukfs/ukfs.c
378
errno = EINVAL;
lib/libukfs/ukfs.c
455
rv = errno;
lib/libukfs/ukfs.c
460
rv = errno;
lib/libukfs/ukfs.c
481
sverrno = errno;
lib/libukfs/ukfs.c
558
if (errno != EEXIST) {
lib/libukfs/ukfs.c
559
rv = errno;
lib/libukfs/ukfs.c
591
rv = errno;
lib/libukfs/ukfs.c
600
rv = errno;
lib/libukfs/ukfs.c
613
rv = errno;
lib/libukfs/ukfs.c
654
errno = rv;
lib/libukfs/ukfs.c
697
error = errno;
lib/libukfs/ukfs.c
701
errno = error;
lib/libukfs/ukfs.c
770
errno = rv;
lib/libukfs/ukfs.c
796
errno = rv;
lib/libukfs/ukfs.c
828
errno = rv;
lib/libusbhid/descr.c
67
errno = ENOMEM;
lib/libutil/efun.c
142
errno = rv;
lib/libutil/efun.c
183
errno = e;
lib/libutil/efun.c
197
errno = e;
lib/libutil/efun.c
71
errno = ENAMETOOLONG;
lib/libutil/efun.c
84
errno = ENAMETOOLONG;
lib/libutil/getdiskrawname.c
102
errno = EINVAL;
lib/libutil/getdiskrawname.c
125
errno = EINVAL;
lib/libutil/getdiskrawname.c
145
errno = EINVAL;
lib/libutil/getdiskrawname.c
153
errno = EFTYPE;
lib/libutil/getdiskrawname.c
170
errno = EINVAL;
lib/libutil/getdiskrawname.c
178
errno = EFTYPE;
lib/libutil/getdiskrawname.c
95
errno = ENOSPC;
lib/libutil/getfsspecname.c
113
savee = errno;
lib/libutil/getfsspecname.c
121
savee = errno;
lib/libutil/getfsspecname.c
128
savee = errno;
lib/libutil/getfsspecname.c
133
savee = errno;
lib/libutil/getfsspecname.c
146
savee = errno;
lib/libutil/getfsspecname.c
175
errno = savee;
lib/libutil/getfsspecname.c
58
int fd, savee = errno;
lib/libutil/getfsspecname.c
76
savee = errno;
lib/libutil/getfsspecname.c
94
if (errno == EBUSY) {
lib/libutil/getmntopts.c
103
if (errno == ERANGE && (rv == LONG_MAX || rv == LONG_MIN))
lib/libutil/getmntopts.c
97
errno = 0;
lib/libutil/login_cap.c
159
errno = 0;
lib/libutil/login_cap.c
198
errno = 0;
lib/libutil/login_cap.c
210
errno = ERANGE;
lib/libutil/login_cap.c
219
errno = ERANGE;
lib/libutil/login_cap.c
228
errno = 0;
lib/libutil/login_cap.c
235
((r == QUAD_MIN || r == QUAD_MAX) && errno == ERANGE)) {
lib/libutil/login_cap.c
239
errno = ERANGE;
lib/libutil/login_cap.c
284
errno = 0;
lib/libutil/login_cap.c
296
errno = ERANGE;
lib/libutil/login_cap.c
305
errno = ERANGE;
lib/libutil/login_cap.c
314
errno = 0;
lib/libutil/login_cap.c
317
((q == QUAD_MIN || q == QUAD_MAX) && errno == ERANGE)) {
lib/libutil/login_cap.c
320
errno = ERANGE;
lib/libutil/login_cap.c
338
errno = 0;
lib/libutil/login_cap.c
351
errno = ERANGE;
lib/libutil/login_cap.c
360
errno = ERANGE;
lib/libutil/login_cap.c
366
errno = 0;
lib/libutil/login_cap.c
369
((q == QUAD_MIN || q == QUAD_MAX) && errno == ERANGE)) {
lib/libutil/login_cap.c
372
errno = ERANGE;
lib/libutil/login_cap.c
659
if (errno != EEXIST) {
lib/libutil/login_cap.c
694
errno = 0;
lib/libutil/login_cap.c
806
errno = 0;
lib/libutil/login_cap.c
808
if (errno || expr == str) {
lib/libutil/login_cap.c
838
if (errno)
lib/libutil/login_cap.c
845
if (errno) {
lib/libutil/login_cap.c
857
if (errno)
lib/libutil/login_cap.c
867
errno = ERANGE;
lib/libutil/login_cap.c
945
errno = ERANGE;
lib/libutil/login_cap.c
972
errno = ERANGE;
lib/libutil/login_cap.c
983
errno = ERANGE;
lib/libutil/opendisk.c
103
if (f != -1 || errno != ENOENT)
lib/libutil/opendisk.c
108
if (f != -1 || errno != ENOENT)
lib/libutil/opendisk.c
76
errno = EFAULT;
lib/libutil/opendisk.c
81
errno = EINVAL;
lib/libutil/opendisk.c
99
if (f != -1 || errno != ENOENT)
lib/libutil/parsedate.y
1155
saved_errno = errno;
lib/libutil/parsedate.y
1156
errno = 0;
lib/libutil/parsedate.y
1244
errno = 0;
lib/libutil/parsedate.y
1246
if (errno != 0) /* out of range (can be big number) */
lib/libutil/parsedate.y
1278
errno = EINVAL;
lib/libutil/parsedate.y
1287
errno = 0;
lib/libutil/parsedate.y
1291
if (Start == -1 && errno != 0)
lib/libutil/parsedate.y
1301
errno = EINVAL;
lib/libutil/parsedate.y
1306
errno = 0;
lib/libutil/parsedate.y
1308
if (rm == -1 && errno != 0)
lib/libutil/parsedate.y
1316
errno = 0;
lib/libutil/parsedate.y
1318
if (tod == -1 && errno != 0)
lib/libutil/parsedate.y
1323
errno = saved_errno;
lib/libutil/parsedate.y
1340
errno = 0;
lib/libutil/parsedate.y
1342
if (d == -1 && errno != 0)
lib/libutil/parsedate.y
1344
strerror(errno));
lib/libutil/parsedate.y
806
errno = EOVERFLOW;
lib/libutil/parsedate.y
821
errno = 0;
lib/libutil/parsedate.y
823
if (result != -1 || errno == 0) {
lib/libutil/parsedate.y
846
errno = EAGAIN;
lib/libutil/parsedate.y
893
errno = EOVERFLOW;
lib/libutil/parsedate.y
903
errno = EOVERFLOW;
lib/libutil/parsedate.y
940
errno = EOVERFLOW;
lib/libutil/parsedate.y
947
errno = EOVERFLOW;
lib/libutil/parsedate.y
954
errno = 0;
lib/libutil/parsedate.y
956
if (Then == -1 && errno != 0)
lib/libutil/passwd.c
107
errno = ENAMETOOLONG;
lib/libutil/passwd.c
125
for (i = 0; i < retries && fd < 0 && errno == EEXIST; i++) {
lib/libutil/passwd.c
130
oerrno = errno;
lib/libutil/passwd.c
132
errno = oerrno;
lib/libutil/passwd.c
377
strerror(errno));
lib/libutil/passwd.c
383
strerror(errno));
lib/libutil/passwd.c
389
snprintf(errbuf, errbufsz, "%s: %s", mpwd, strerror(errno));
lib/libutil/passwd.c
393
snprintf(errbuf, errbufsz, "%s: %s", mpwdl, strerror(errno));
lib/libutil/passwd.c
410
strerror(errno));
lib/libutil/passwd.c
429
strerror(errno));
lib/libutil/passwd.c
453
snprintf(errbuf, errbufsz, "%s", strerror(errno));
lib/libutil/passwd.c
471
snprintf(errbuf, errbufsz, "%s", strerror(errno));
lib/libutil/passwd.c
632
errno = ENOENT;
lib/libutil/passwd.c
634
errno = ENOTDIR;
lib/libutil/passwd.c
90
errno = ENAMETOOLONG;
lib/libutil/pidfile.c
119
errno = EBADF;
lib/libutil/pidfile.c
142
errno = EBADF;
lib/libutil/pidfile.c
148
error = errno;
lib/libutil/pidfile.c
152
error = errno;
lib/libutil/pidfile.c
154
error = errno;
lib/libutil/pidfile.c
161
errno = error;
lib/libutil/pidfile.c
269
int error = errno;
lib/libutil/pidfile.c
272
errno = error;
lib/libutil/pidfile.c
278
int error = errno;
lib/libutil/pidfile.c
282
errno = error;
lib/libutil/pidfile.c
291
if (errno == EAGAIN) {
lib/libutil/pidfile.c
299
errno = EEXIST;
lib/libutil/pidfile.c
301
errno = EAGAIN;
lib/libutil/pidfile.c
315
int error = errno;
lib/libutil/pidfile.c
319
errno = error;
lib/libutil/pidfile.c
329
int error = errno;
lib/libutil/pidfile.c
332
errno = error;
lib/libutil/pidfile.c
81
errno = error;
lib/libutil/pidlock.c
119
if (errno != EEXIST)
lib/libutil/pidlock.c
126
errno = EINVAL;
lib/libutil/pidlock.c
142
if (kill(pid2, 0) == -1 && errno == ESRCH) {
lib/libutil/pidlock.c
152
errno = EWOULDBLOCK;
lib/libutil/pidlock.c
170
errno = 0;
lib/libutil/pidlock.c
173
savee = errno;
lib/libutil/pidlock.c
177
errno = savee;
lib/libutil/pidlock.c
194
errno = EFTYPE;
lib/libutil/pidlock.c
83
errno = ENAMETOOLONG;
lib/libutil/pty.c
107
if (errno != ENOENT)
lib/libutil/pty.c
134
errno = ENOENT; /* out of ptys */
lib/libutil/raise_default_signal.c
103
oerrno = errno;
lib/libutil/raise_default_signal.c
105
errno = oerrno;
lib/libutil/raise_default_signal.c
109
oerrno = errno;
lib/libutil/raise_default_signal.c
111
errno = oerrno;
lib/libutil/sockaddr_snprintf.c
218
errno = EAFNOSUPPORT;
lib/libutil/ttyaction.c
132
warnx("fork failed: %s", strerror(errno));
lib/libutil/ttyaction.c
142
actfile, linenum, strerror(errno));
lib/libutil/ttyaction.c
149
actfile, linenum, strerror(errno));
lib/libutil/ttymsg.c
112
if (errno == EBUSY || errno == EACCES)
lib/libutil/ttymsg.c
116
__func__, device, strerror(errno));
lib/libutil/ttymsg.c
160
if (errno == EWOULDBLOCK) {
lib/libutil/ttymsg.c
171
strerror(errno));
lib/libutil/ttymsg.c
193
if (errno == ENODEV || errno == EIO)
lib/libutil/ttymsg.c
200
device, strerror(errno));
lib/libwrap/expandm.c
110
errno = err;
lib/libwrap/expandm.c
116
errno = err;
lib/libwrap/expandm.c
124
errno = ERANGE;
lib/libwrap/expandm.c
51
const int err = errno;
lib/libwrap/hosts_access.c
205
} else if (errno != ENOENT) {
lib/libwrap/hosts_access.c
347
} else if (errno != ENOENT) {
lib/lua/gpio/gpio.c
75
gpio_error(L, "%s", strerror(errno));
lib/npf/ext_log/npfext_log.c
106
return errno;
lib/npf/ext_log/npfext_log.c
83
return errno;
lib/npf/ext_log/npfext_log.c
91
return errno;
lib/npf/ext_log/npfext_log.c
99
return errno;
libexec/atrun/atrun.c
196
serrno = errno;
libexec/atrun/atrun.c
201
errno = serrno;
libexec/atrun/atrun.c
418
errno = 0;
libexec/comsat/comsat.c
142
if (errno != EINTR)
libexec/comsat/comsat.c
144
errno = 0;
libexec/comsat/comsat.c
196
errno = 0;
libexec/comsat/comsat.c
198
if (errno == ERANGE || offset != val)
libexec/comsat/comsat.c
255
dsyslog(LOG_ERR, "open `%s' (%s)", tty, strerror(errno));
libexec/comsat/comsat.c
259
dsyslog(LOG_ERR, "tcgetattr `%s' (%s)", tty, strerror(errno));
libexec/fingerd/fingerd.c
129
my_err("getpeername: %s", strerror(errno));
libexec/fingerd/fingerd.c
197
my_err("pipe: %s", strerror(errno));
libexec/fingerd/fingerd.c
207
my_err("execv: %s: %s", prog, strerror(errno));
libexec/fingerd/fingerd.c
210
my_err("fork: %s", strerror(errno));
libexec/fingerd/fingerd.c
214
my_err("fdopen: %s", strerror(errno));
libexec/ftpd/cmds.c
186
p = strerror(errno);
libexec/ftpd/cmds.c
217
p = strerror(errno);
libexec/ftpd/cmds.c
244
errno = ENOTDIR;
libexec/ftpd/cmds.c
405
strerror(errno));
libexec/ftpd/cmds.c
419
p = strerror(errno);
libexec/ftpd/cmds.c
445
p = strerror(errno);
libexec/ftpd/conf.c
477
errno = 0;
libexec/ftpd/conf.c
480
if (errno || *arg == '\0' || *endp != '\0' ||
libexec/ftpd/conf.c
546
syslog(LOG_WARNING, "can't getcwd: %s", strerror(errno));
libexec/ftpd/conf.c
634
strerror(errno));
libexec/ftpd/conf.c
818
o_errno = errno;
libexec/ftpd/conf.c
873
errno = o_errno;
libexec/ftpd/conf.c
924
if (kill(pids[i], 0) == -1 && errno != EPERM) {
libexec/ftpd/ftpd.c
1745
if (errno != 0) {
libexec/ftpd/ftpd.c
1749
strerror(errno));
libexec/ftpd/ftpd.c
1767
error = strerror(errno);
libexec/ftpd/ftpd.c
1775
error = strerror(errno);
libexec/ftpd/ftpd.c
1863
logxfer(desc, -1, name, NULL, NULL, strerror(errno));
libexec/ftpd/ftpd.c
1874
error = strerror(errno);
libexec/ftpd/ftpd.c
1887
error = strerror(errno);
libexec/ftpd/ftpd.c
1892
error = strerror(errno);
libexec/ftpd/ftpd.c
1964
if (errno != EADDRINUSE || tries > 10)
libexec/ftpd/ftpd.c
1985
t = errno;
libexec/ftpd/ftpd.c
1994
errno = t;
libexec/ftpd/ftpd.c
2064
conerrno = errno;
libexec/ftpd/ftpd.c
2078
conerrno = errno;
libexec/ftpd/ftpd.c
2410
errno = EFBIG; \
libexec/ftpd/ftpd.c
2439
errno = c = d = 0;
libexec/ftpd/ftpd.c
3028
errno = EAGAIN;
libexec/ftpd/ftpd.c
3034
if (errno != EADDRINUSE)
libexec/ftpd/ftpd.c
3290
errno = 0;
libexec/ftpd/ftpd.c
3293
if (errno || !*result[2] || *p)
libexec/ftpd/ftpd.c
3295
errno = 0;
libexec/ftpd/ftpd.c
3298
if (errno || !*result[0] || *p)
libexec/ftpd/ftpd.c
3406
save_errno = errno;
libexec/ftpd/ftpd.c
3407
reply(code, "%s: %s.", string, strerror(errno));
libexec/ftpd/ftpd.c
3408
errno = save_errno;
libexec/ftpd/ftpd.c
3447
errno = ENOENT;
libexec/ftpd/ftpd.c
409
errno = 0;
libexec/ftpd/ftpd.c
412
if (errno || *optarg == '\0' || *p != '\0' ||
libexec/ftpd/ftpd.c
492
errno = 0;
libexec/ftpd/ftpd.c
494
if (l == -1 && errno != 0) {
libexec/ftpd/ftpd.c
579
if (errno == EINTR)
libexec/ftpd/ftpd.c
614
syslog((errno == ENOTCONN) ? LOG_NOTICE : LOG_ERR,
libexec/ftpd/popen.c
236
while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR)
libexec/getty/main.c
234
(errno != ENXIO || !failopenlogged)) {
libexec/httpd/bozohttpd.c
1219
errno);
libexec/httpd/bozohttpd.c
1226
errno);
libexec/httpd/bozohttpd.c
1425
httpd->virtbase, strerror(errno)));
libexec/httpd/bozohttpd.c
1848
debug((httpd, DEBUG_FAT, "open failed: %s", strerror(errno)));
libexec/httpd/bozohttpd.c
1849
switch (errno) {
libexec/httpd/bozohttpd.c
1932
if (errno == ENOMEM) {
libexec/httpd/bozohttpd.c
2035
savederrno = errno;
libexec/httpd/bozohttpd.c
2045
errno = savederrno;
libexec/httpd/bozohttpd.c
2692
strerror(errno));
libexec/httpd/bozohttpd.c
2694
bozoerr(httpd, 1, "initgroups: %s", strerror(errno));
libexec/httpd/bozohttpd.c
2697
strerror(errno));
libexec/httpd/bozohttpd.c
2708
strerror(errno));
libexec/httpd/bozohttpd.c
2711
strerror(errno));
libexec/httpd/bozohttpd.c
2715
bozoerr(httpd, 1, "setuid(%d): %s", uid, strerror(errno));
libexec/httpd/bozohttpd.c
938
bozowarn(httpd, "mmap failed: %s", strerror(errno));
libexec/httpd/bozohttpd.c
949
bozowarn(httpd, "write failed: %s", strerror(errno));
libexec/httpd/bozohttpd.c
958
bozowarn(httpd, "final write failed: %s", strerror(errno));
libexec/httpd/cgi-bozo.c
198
strerror(errno));
libexec/httpd/cgi-bozo.c
588
strerror(errno));
libexec/httpd/cgi-bozo.c
600
bozoerr(httpd, 1, "child fork failed: %s", strerror(errno));
libexec/httpd/cgi-bozo.c
612
int saveerrno = errno;
libexec/httpd/cgi-bozo.c
640
bozoerr(httpd, 1, "io child fork failed: %s", strerror(errno));
libexec/httpd/cgi-bozo.c
653
strerror(errno));
libexec/httpd/daemon-bozo.c
160
strerror(errno));
libexec/httpd/daemon-bozo.c
219
strerror(errno));
libexec/httpd/daemon-bozo.c
277
if (errno == EFAULT ||
libexec/httpd/daemon-bozo.c
278
errno == EINVAL)
libexec/httpd/daemon-bozo.c
280
strerror(errno));
libexec/httpd/daemon-bozo.c
283
if (errno == ENOMEM ||
libexec/httpd/daemon-bozo.c
284
errno == EAGAIN)
libexec/httpd/daemon-bozo.c
300
if (errno == EFAULT ||
libexec/httpd/daemon-bozo.c
301
errno == EINVAL)
libexec/httpd/daemon-bozo.c
303
strerror(errno));
libexec/httpd/daemon-bozo.c
305
if (errno == ENOMEM ||
libexec/httpd/daemon-bozo.c
306
errno == EAGAIN)
libexec/httpd/daemon-bozo.c
326
"10 seconds: %s", strerror(errno));
libexec/httpd/dir-index-bozo.c
79
if (errno == EPERM)
libexec/httpd/dir-index-bozo.c
82
else if (errno == ENOENT)
libexec/httpd/tilde-luzah-bozo.c
103
strerror(errno));
libexec/httpd/tilde-luzah-bozo.c
109
strerror(errno));
libexec/identd/identd.c
254
die("Failed to set GID to `%d': %s", gid, strerror(errno));
libexec/identd/identd.c
256
die("Failed to set UID to `%d': %s", uid, strerror(errno));
libexec/identd/identd.c
268
die("daemon: %s", strerror(errno));
libexec/identd/identd.c
283
if (errno == EINTR)
libexec/identd/identd.c
604
die("malloc: %s", strerror(errno));
libexec/identd/identd.c
633
die("%s: %s", cause, strerror(errno));
libexec/identd/identd.c
727
if (rc == -1 && errno != ENOMEM)
libexec/identd/npf.c
77
errno = EAFNOSUPPORT;
libexec/ld.elf_so/arch/powerpc/fixup.c
113
xstrerror(errno));
libexec/ld.elf_so/arch/powerpc/fixup.c
138
xstrerror(errno));
libexec/ld.elf_so/arch/powerpc/fixup.c
77
xstrerror(errno));
libexec/ld.elf_so/load.c
276
name, errno);
libexec/ld.elf_so/map_object.c
131
_rtld_error("%s: read error: %s", path, xstrerror(errno));
libexec/ld.elf_so/map_object.c
341
xstrerror(errno));
libexec/ld.elf_so/map_object.c
365
xstrerror(errno));
libexec/ld.elf_so/map_object.c
394
path, xstrerror(errno));
libexec/ld.elf_so/map_object.c
419
path, xstrerror(errno));
libexec/ld.elf_so/paths.c
443
if (errno != ENOMEM)
libexec/ld.elf_so/reloc.c
299
"segment: %s", obj->path, xstrerror(errno));
libexec/ld.elf_so/reloc.c
312
"segment: %s", obj->path, xstrerror(errno));
libexec/ld.elf_so/rtld.c
2043
*my_errno = errno;
libexec/ld.elf_so/rtld.c
2309
obj->path, xstrerror(errno));
libexec/ld.elf_so/xmalloc.c
437
xerr(1, "%s", xstrerror(errno));
libexec/ld.elf_so/xmalloc.c
447
xerr(1, "%s", xstrerror(errno));
libexec/ld.elf_so/xprintf.c
278
int saved_errno = errno;
libexec/ld.elf_so/xprintf.c
292
int saved_errno = errno;
libexec/ld.elf_so/xprintf.c
300
errno = saved_errno;
libexec/lfs_cleanerd/cleansrv.c
170
if (errno != EEXIST)
libexec/lfs_cleanerd/lfs_cleanerd.c
438
errno);
libexec/lfs_cleanerd/lfs_cleanerd.c
549
int oerrno = errno;
libexec/lfs_cleanerd/lfs_cleanerd.c
551
lfs_sb_getfsmnt(fs), r, errno);
libexec/lfs_cleanerd/lfs_cleanerd.c
573
lfs_sb_getfsmnt(fs), errno);
libexec/lfs_cleanerd/lfs_cleanerd.c
998
if (errno == ESHUTDOWN) {
libexec/mail.local/mail.local.c
209
logwarn("unable to find user %s: %s", name, strerror(errno));
libexec/mail.local/mail.local.c
225
logwarn("%s: can't create: %s", lpath, strerror(errno));
libexec/mail.local/mail.local.c
231
if (errno != ENOENT) {
libexec/mail.local/mail.local.c
232
logwarn("%s: can't stat: %s", path, strerror(errno));
libexec/mail.local/mail.local.c
244
if (errno != ENOENT ||
libexec/mail.local/mail.local.c
247
logwarn("%s: can't create: %s", path, strerror(errno));
libexec/mail.local/mail.local.c
254
logwarn("%s: can't stat: %s", path, strerror(errno));
libexec/mail.local/mail.local.c
270
logwarn("%s: can't seek: %s", path, strerror(errno));
libexec/mail.local/mail.local.c
277
logwarn("can't seek: %s", strerror(errno));
libexec/mail.local/mail.local.c
285
strerror(errno));
libexec/mail.local/mail.local.c
290
logwarn("can't read: %s", strerror(errno));
libexec/mail.local/mail.local.c
338
logwarn("localhost: %s", strerror(errno));
libexec/mail.local/mail.local.c
347
logwarn("socket: %s", strerror(errno));
libexec/mail.local/mail.local.c
353
logwarn("sendto biff: %s", strerror(errno));
libexec/makekey/makekey.c
75
errno = EFTYPE;
libexec/makewhatis/makewhatis.c
1106
if (errno == 0)
libexec/makewhatis/makewhatis.c
1107
errno = ENOMEM;
libexec/makewhatis/makewhatis.c
315
errno = fe->fts_errno;
libexec/makewhatis/makewhatis.c
319
errno = fe->fts_errno;
libexec/makewhatis/makewhatis.c
363
if (unlink(whatisdb_new) == -1 && errno != ENOENT) {
libexec/makewhatis/makewhatis.c
373
} else if (errno != ENOENT) {
libexec/makewhatis/makewhatis.c
846
if (errno == 0)
libexec/makewhatis/makewhatis.c
847
errno = ENOMEM;
libexec/rlogind/rlogind.c
389
if (errno == ENOENT)
libexec/rlogind/rlogind.c
481
if (errno == EINTR)
libexec/rlogind/rlogind.c
502
if (fcc < 0 && errno == EWOULDBLOCK)
libexec/rlogind/rlogind.c
542
if (pcc < 0 && errno == EWOULDBLOCK)
libexec/rlogind/rlogind.c
609
msg, strerror(errno));
libexec/rpc.rquotad/rquotad.c
270
if (errno == EPERM || errno == EACCES) {
libexec/rshd/rshd.c
562
strerror(errno));
libexec/rshd/rshd.c
566
strerror(errno));
libexec/rshd/rshd.c
593
errno = 0;
libexec/rshd/rshd.c
617
strerror(errno));
libexec/rshd/rshd.c
709
rshd_errx(EXIT_FAILURE, "%s: %s", pwd->pw_shell, strerror(errno));
libexec/talkd/talkd.c
122
if (cc < 0 && errno != EINTR)
libexec/talkd/talkd.c
149
int save_errno = errno;
libexec/talkd/talkd.c
154
errno = save_errno;
libexec/telnetd/telnetd.c
1019
if (pcc < 0 && (errno == EWOULDBLOCK ||
libexec/telnetd/telnetd.c
1020
errno == EAGAIN ||
libexec/telnetd/telnetd.c
1021
errno == EIO)) {
libexec/telnetd/telnetd.c
429
&& (errno != ENOPROTOOPT) )
libexec/telnetd/telnetd.c
976
if (errno == EINTR) {
libexec/telnetd/telnetd.c
996
if (ncc < 0 && errno == EWOULDBLOCK)
libexec/telnetd/utility.c
102
} while ((value == -1) && (errno == EINTR));
libexec/telnetd/utility.c
126
if (errno == EWOULDBLOCK || errno == EINTR)
libexec/telnetd/utility.c
298
if (errno == EWOULDBLOCK || errno == EINTR)
libexec/telnetd/utility.c
376
(void)snprintf(buf, sizeof buf, "%s: %s", msg, strerror(errno));
libexec/tftpd/tftpd.c
1128
if (size < 0) nak(errno + 100);
libexec/tftpd/tftpd.c
459
errno = 0;
libexec/tftpd/tftpd.c
461
if ((bsize == ULONG_MAX && errno == ERANGE) || *endp) {
libexec/tftpd/tftpd.c
500
errno = 0;
libexec/tftpd/tftpd.c
502
if ((tout == ULONG_MAX && errno == ERANGE) || *endp) {
libexec/tftpd/tftpd.c
554
errno = 0;
libexec/tftpd/tftpd.c
556
if ((fsize == ULONG_MAX && errno == ERANGE) || *endp) {
libexec/tftpd/tftpd.c
809
return (errno == ENOENT ? ENOTFOUND : EACCESS);
libexec/tftpd/tftpd.c
859
return (errno == ENOENT ? ENOTFOUND : EACCESS);
libexec/tftpd/tftpd.c
867
if (errno == EACCES) {
libexec/tftpd/tftpd.c
898
return (errno + 100);
libexec/tftpd/tftpd.c
902
return (errno + 100);
libexec/tftpd/tftpd.c
972
nak(errno + 100);
libexec/utmp_update/utmp_update.c
105
logerr(errno, "Can't allocate %zu", len+1);
libexec/utmp_update/utmp_update.c
140
logerr(errno, "Cannot stat `%s'", tty);
libexec/utmp_update/utmp_update.c
147
logerr(errno, "Can't access `%s'", tty);
libexec/utmp_update/utmp_update.c
157
logerr(errno, "Cannot open `%s'", tty);
libexec/utmp_update/utmp_update.c
170
logerr(errno, "Can't setuid %ld", (long)euid);
libexec/utmp_update/utmp_update.c
172
logerr(errno, "Cannot update utmp entry");
libexec/utmp_update/utmp_update.c
97
logerr(errno, "Can't setuid %ld", (long)ruid);
regress/sys/kern/execve/doexec.c
55
printf("%s\n", strerror(errno));
regress/sys/kern/getcwd/getcwd.c
131
} else if ((expected == -1) && (errno != (experr))) {
regress/sys/kern/getcwd/getcwd.c
134
ntest, dir, calltext, experr, errno);
regress/sys/kern/getcwd/old_getcwd.c
129
errno = 0; /* XXX readdir has no error return. */
regress/sys/kern/getcwd/old_getcwd.c
210
save_errno = errno;
regress/sys/kern/getcwd/old_getcwd.c
211
errno = 0;
regress/sys/kern/getcwd/old_getcwd.c
226
errno = ERANGE;
regress/sys/kern/getcwd/old_getcwd.c
254
if (!errno)
regress/sys/kern/getcwd/old_getcwd.c
255
errno = save_errno ? save_errno : ENOENT;
regress/sys/kern/getcwd/old_getcwd.c
99
errno = EINVAL;
regress/sys/kern/ras/ras1/ras1.c
67
if (errno == EOPNOTSUPP) {
regress/sys/kern/ras/ras2/ras2.c
69
if (errno == EOPNOTSUPP) {
regress/sys/kern/ras/ras3/ras3.c
72
if (errno == EOPNOTSUPP) {
regress/sys/kern/select/select.c
156
if (errno != EAGAIN) {
regress/sys/kern/select/select.c
202
errno = error;
sbin/amrctl/amrctl.c
180
if (errno != EBUSY) {
sbin/atactl/atactl.c
515
if (errno == ENOENT) {
sbin/atactl/atactl.c
593
if (errno != ENOTTY)
sbin/blkdiscard/blkdiscard.c
266
warnx("close failed: %s", strerror(errno));
sbin/brconfig/brconfig.c
500
errno = 0;
sbin/brconfig/brconfig.c
502
if (cp[0] == '\0' || endptr[0] != '\0' || errno == ERANGE)
sbin/canconfig/canconfig.c
416
errno = 0;
sbin/canconfig/canconfig.c
418
if (cp[0] == '\0' || endptr[0] != '\0' || errno == ERANGE)
sbin/ccdconfig/ccdconfig.c
288
errno = 0; /* to check for ERANGE */
sbin/ccdconfig/ccdconfig.c
290
if ((errno == ERANGE) || (ileave < 0) || (*cp2 != '\0')) {
sbin/ccdconfig/ccdconfig.c
432
return (errno);
sbin/ccdconfig/ccdconfig.c
446
return (errno);
sbin/ccdconfig/ccdconfig.c
716
if (errno == ENOENT)
sbin/ccdconfig/ccdconfig.c
763
switch (errno) {
sbin/ccdconfig/ccdconfig.c
808
errno = error;
sbin/cgdconfig/cgdconfig.c
1004
int saved_errno = errno;
sbin/cgdconfig/cgdconfig.c
1693
errno = 0;
sbin/cgdconfig/cgdconfig.c
1695
if (ep == dp->d_name + 4 || errno != 0) {
sbin/cgdconfig/cgdconfig.c
219
errno = 0;
sbin/cgdconfig/cgdconfig.c
221
if ((v == LONG_MIN || v == LONG_MAX) && errno)
sbin/cgdconfig/cgdconfig.c
224
errno = ERANGE;
sbin/cgdconfig/cgdconfig.c
228
errno = EINVAL;
sbin/cgdconfig/cgdconfig.c
709
int saved_errno = errno;
sbin/chown/chown.c
258
if (errno)
sbin/chown/chown.c
296
errno = 0;
sbin/chown/chown.c
300
if (errno)
sbin/disklabel/extern.h
40
#define dk_ioctl(f, cmd, arg) (errno = ENOTTY, -1)
sbin/disklabel/main.c
1573
if (errno != EAGAIN) {
sbin/disklabel/main.c
2167
if ((*ul == ULONG_MAX && errno == ERANGE) || *ul > max)
sbin/disklabel/main.c
2239
errno = ENOTTY;
sbin/disklabel/main.c
438
if ((nval = strtoul(val, &end, 10)) == ULONG_MAX && errno == ERANGE)
sbin/disklabel/main.c
452
if ((nval = strtoul(val, &end, 10)) == ULONG_MAX && errno == ERANGE)
sbin/disklabel/main.c
563
if ((val == ULONG_MAX && errno == ERANGE) || val > UINT_MAX)
sbin/disklabel/main.c
569
if ((val == ULONG_MAX && errno == ERANGE) || val > UINT_MAX)
sbin/disklabel/main.c
575
if ((val == ULONG_MAX && errno == ERANGE) || val < 1 || val > UINT_MAX)
sbin/disklabel/main.c
819
errno != ENODEV && errno != ENOTTY) {
sbin/disklabel/main.c
890
switch (errno) {
sbin/dkctl/dkctl.c
573
errno = 0;
sbin/dkctl/dkctl.c
577
if (errno == ERANGE && (start == LLONG_MAX ||
sbin/dkctl/dkctl.c
583
errno = 0;
sbin/dkctl/dkctl.c
587
if (errno == ERANGE && (size == ULLONG_MAX))
sbin/dkscan_bsdlabel/dkscan_util.c
75
return errno;
sbin/dump/dumprmt.c
307
errno = atoi(code + 1);
sbin/dump/ffs_inode.c
178
quite(errno, "fs_mapinodes: cannot allocate memory.");
sbin/dump/ffs_inode.c
235
quite(errno, "cannot allocate inode memory.");
sbin/dump/itime.c
178
quite(errno, "cannot rewrite %s", dumpdates);
sbin/dump/itime.c
187
quite(errno, "can't fseek %s", dumpdates);
sbin/dump/itime.c
214
quite(errno, "can't flush %s", dumpdates);
sbin/dump/itime.c
216
quite(errno, "can't ftruncate %s", dumpdates);
sbin/dump/itime.c
230
quite(errno, "can't write %s", dumpdates);
sbin/dump/itime.c
74
if (errno != ENOENT) {
sbin/dump/itime.c
76
strerror(errno));
sbin/dump/itime.c
85
strerror(errno));
sbin/dump/itime.c
90
quite(errno, "cannot read %s even after creating it",
sbin/dump/main.c
334
quite(errno, "can't stat %s", argv[i]);
sbin/dump/main.c
348
quite(errno, "can't statvfs %s", argv[i]);
sbin/dump/main.c
452
quite(errno, "can't resolve mount %s (%s)", dt->fs_spec,
sbin/dump/main.c
455
quite(errno, "can't get disk raw name for %s", buf);
sbin/dump/main.c
462
quite(errno, "can't get disk raw name for %s",
sbin/dump/main.c
855
quite(errno, "Can't allocate %zu bytes", size * number);
sbin/dump/main.c
866
quite(errno, "Can't allocate %zu bytes", size);
sbin/dump/main.c
877
quite(errno, "Can't copy %s", str);
sbin/dump/optr.c
177
errno_save = errno;
sbin/dump/optr.c
181
errno = errno_save;
sbin/dump/optr.c
371
_PATH_FSTAB, strerror(errno));
sbin/dump/optr.c
455
quite(errno, "Can't get mount list");
sbin/dump/optr.c
97
quite(errno, "fopen on %s fails", _PATH_TTY);
sbin/dump/rcache.c
108
strerror(errno));
sbin/dump/rcache.c
127
strerror(errno));
sbin/dump/rcache.c
152
strerror(errno));
sbin/dump/rcache.c
228
disk, strerror(errno), (long long)blkno, size);
sbin/dump/rcache.c
253
strerror(errno));
sbin/dump/rcache.c
260
"count=%ld\n", disk, strerror(errno),
sbin/dump/rcache.c
290
strerror(errno));
sbin/dump/rcache.c
410
strerror(errno));
sbin/dump/rcache.c
417
strerror(errno));
sbin/dump/rcache.c
460
strerror(errno));
sbin/dump/snapshot.c
159
if (errno != EBUSY)
sbin/dump/snapshot.c
80
errno = EINVAL;
sbin/dump/snapshot.c
97
errno = EINVAL;
sbin/dump/tape.c
260
errno_save = errno;
sbin/dump/tape.c
273
errno = errno_save;
sbin/dump/tape.c
287
quite(errno, "error writing command pipe");
sbin/dump/tape.c
772
quite(errno, "too many workers, %d (recompile smaller)",
sbin/dump/tape.c
826
quite(errno, "worker couldn't reopen disk");
sbin/dump/tape.c
878
werror = errno;
sbin/dump/tape.c
929
quite(errno, "error reading command pipe");
sbin/dump/traverse.c
190
msg("Can't determine cwd: %s\n", strerror(errno));
sbin/dump/traverse.c
195
msg("fts_open failed: %s\n", strerror(errno));
sbin/dump/traverse.c
204
strerror(errno));
sbin/dump/traverse.c
239
strerror(errno));
sbin/efi/efiio.c
108
if (rv == -1 && errno != ENOENT)
sbin/efi/efiio.c
150
if (errno == ENOENT)
sbin/efi/efiio.c
66
if (rv == -1 && errno != ENOENT)
sbin/efi/utils.c
435
if (errno == EAGAIN)
sbin/fdisk/fdisk.c
2497
if (errno == ENODEV)
sbin/fdisk/fdisk.c
324
errno = 0;
sbin/fdisk/fdisk.c
328
if (errno == ERANGE && (l == LONG_MAX || l == LONG_MIN))
sbin/fdisk/fdisk.c
996
sector, strerror(errno));
sbin/fsck/fsck.c
356
if (errno != ENOENT) {
sbin/fsck/fsck.c
364
if (errno == ENOENT) {
sbin/fsck/fsutil.c
116
int serrno = errno;
sbin/fsck/fsutil.c
283
int serrno = errno;
sbin/fsck/fsutil.c
288
errno = serrno;
sbin/fsck/fsutil.c
298
int serrno = errno;
sbin/fsck/fsutil.c
303
errno = serrno;
sbin/fsck/partutil.c
131
if (errno != ENXIO)
sbin/fsck/progress.c
158
int oerrno = errno;
sbin/fsck/progress.c
165
errno = oerrno;
sbin/fsck_ext2fs/setup.c
122
printf("Can't stat %s: %s\n", dev, strerror(errno));
sbin/fsck_ext2fs/setup.c
131
printf("Can't open %s: %s\n", dev, strerror(errno));
sbin/fsck_ffs/setup.c
106
printf("Can't stat %s: %s\n", dev, strerror(errno));
sbin/fsck_ffs/setup.c
115
printf("Can't open %s: %s\n", dev, strerror(errno));
sbin/fsck_lfs/setup.c
179
pfatal("Can't stat %s: %s\n", dev, strerror(errno));
sbin/fsck_lfs/setup.c
193
pfatal("Can't open %s: %s\n", dev, strerror(errno));
sbin/fsck_udf/main.c
1061
errno = EINVAL;
sbin/fsck_udf/main.c
1227
if (errno == ENODEV)
sbin/fsck_udf/main.c
1228
return errno;
sbin/fsck_udf/main.c
1315
return errno;
sbin/fsck_udf/main.c
826
return errno;
sbin/fsck_udf/main.c
847
return errno;
sbin/fsck_v7fs/main.c
231
errno = error;
sbin/fsck_v7fs/main.c
252
errno = error;
sbin/fsck_v7fs/main.c
258
errno = error;
sbin/fsirand/fsirand.c
248
errno = 0;
sbin/fsirand/fsirand.c
251
errno == ERANGE)
sbin/gpt/gpt.c
1443
errno = 0;
sbin/gpt/gpt.c
1446
if (errno == 0)
sbin/gpt/gpt.c
1447
errno = EINVAL;
sbin/gpt/gpt.c
507
if (gpt->fd == -1 && !(gpt->flags & GPT_READONLY) && errno == EACCES) {
sbin/gpt/gpt.c
517
errno == ENOENT) {
sbin/gpt/gpt.c
714
gpt_vwarnx(gpt, fmt, ap, strerror(errno));
sbin/gpt/main.c
126
errno = 0;
sbin/gpt/main.c
128
if (b == eb || *eb || errno) {
sbin/gpt/main.c
132
errno = 0;
sbin/gpt/main.c
133
if ((when = parsedate(b, NULL, NULL)) != -1 || errno == 0)
sbin/gpt/main.c
177
errno = 0;
sbin/gpt/main.c
179
if (errno != 0 || mediasz < 1)
sbin/ifconfig/af_atalk.c
210
if (errno == EAFNOSUPPORT)
sbin/ifconfig/af_atalk.c
222
else if (errno == EADDRNOTAVAIL || errno == EAFNOSUPPORT) {
sbin/ifconfig/af_atalk.c
235
if (errno == EADDRNOTAVAIL)
sbin/ifconfig/af_inet6.c
140
errno = ENOENT;
sbin/ifconfig/af_inet6.c
158
errno = ENOENT;
sbin/ifconfig/af_inet6.c
173
errno = ENOENT;
sbin/ifconfig/af_inet6.c
213
errno = ENOENT;
sbin/ifconfig/af_inet6.c
305
if (errno == EAFNOSUPPORT)
sbin/ifconfig/af_inet6.c
315
if (errno != EADDRNOTAVAIL)
sbin/ifconfig/af_inetany.c
164
} else if (errno == EADDRNOTAVAIL)
sbin/ifconfig/agr.c
100
errno = ENOENT;
sbin/ifconfig/agr.c
106
errno = ENOENT;
sbin/ifconfig/agr.c
144
if (errno != E2BIG) {
sbin/ifconfig/carp.c
168
errno = ENOENT;
sbin/ifconfig/carp.c
190
errno = ENOENT;
sbin/ifconfig/carp.c
209
errno = ENOENT;
sbin/ifconfig/carp.c
229
errno = ENOENT;
sbin/ifconfig/carp.c
249
errno = ENOENT;
sbin/ifconfig/carp.c
270
errno = ENOENT;
sbin/ifconfig/env.c
136
errno = ENOENT;
sbin/ifconfig/env.c
141
errno = ENAMETOOLONG;
sbin/ifconfig/env.c
157
errno = ENOENT;
sbin/ifconfig/env.c
162
errno = ENAMETOOLONG;
sbin/ifconfig/env.c
176
errno = ENOENT;
sbin/ifconfig/ieee80211.c
381
errno = EINVAL;
sbin/ifconfig/ieee80211.c
392
errno = EINVAL;
sbin/ifconfig/ifconfig.c
1449
errno = ENOENT;
sbin/ifconfig/ifconfig.c
1495
errno = ENOENT;
sbin/ifconfig/ifconfig.c
368
errno = EEXIST;
sbin/ifconfig/ifconfig.c
379
errno = EINVAL;
sbin/ifconfig/ifconfig.c
449
errno = ENOMEM;
sbin/ifconfig/ifconfig.c
468
errno = EINVAL;
sbin/ifconfig/ifconfig.c
958
errno = ENOENT;
sbin/ifconfig/l2tp.c
161
errno = ENOENT;
sbin/ifconfig/l2tp.c
167
errno = ENOENT;
sbin/ifconfig/l2tp.c
208
errno = ENOENT;
sbin/ifconfig/l2tp.c
212
errno = ENOENT;
sbin/ifconfig/l2tp.c
219
errno = ENOENT;
sbin/ifconfig/l2tp.c
223
errno = ENOENT;
sbin/ifconfig/lagg.c
280
if (errno != ENOBUFS)
sbin/ifconfig/lagg.c
356
errno = ENOENT;
sbin/ifconfig/lagg.c
370
errno = EFAULT;
sbin/ifconfig/lagg.c
380
errno = EPROTONOSUPPORT;
sbin/ifconfig/lagg.c
407
errno = ENOENT;
sbin/ifconfig/lagg.c
414
errno = ENOBUFS;
sbin/ifconfig/lagg.c
541
errno = ENOENT;
sbin/ifconfig/media.c
128
if (errno != E2BIG)
sbin/ifconfig/media.c
249
errno = ENOENT;
sbin/ifconfig/parse.c
142
errno = ENOMEM;
sbin/ifconfig/parse.c
156
errno = EINVAL;
sbin/ifconfig/parse.c
162
errno = EINVAL;
sbin/ifconfig/parse.c
169
errno = ENOMEM;
sbin/ifconfig/parse.c
193
errno = EINVAL;
sbin/ifconfig/parse.c
198
if ((val == INTMAX_MIN || val == INTMAX_MAX) && errno == ERANGE)
sbin/ifconfig/parse.c
202
errno = EINVAL;
sbin/ifconfig/parse.c
207
errno = ERANGE;
sbin/ifconfig/parse.c
214
errno = ENOMEM;
sbin/ifconfig/parse.c
324
errno = EINVAL;
sbin/ifconfig/parse.c
371
errno = EMLINK;
sbin/ifconfig/parse.c
382
errno = ENOENT;
sbin/ifconfig/parse.c
396
errno = ERANGE;
sbin/ifconfig/parse.c
504
errno = EINVAL;
sbin/ifconfig/parse.c
526
errno = EINVAL;
sbin/ifconfig/parse.c
531
errno = ENOMEM;
sbin/ifconfig/parse.c
608
errno = ENOENT;
sbin/ifconfig/parse.c
615
errno = EMLINK;
sbin/ifconfig/parse.c
630
errno = EINVAL;
sbin/ifconfig/parse.c
657
errno = ENOENT;
sbin/ifconfig/parse.c
699
errno = ENOMEM;
sbin/ifconfig/parse.c
935
errno = EFBIG;
sbin/ifconfig/pfsync.c
138
errno = ENOENT;
sbin/ifconfig/pfsync.c
159
errno = ENOENT;
sbin/ifconfig/pfsync.c
182
errno = ENOENT;
sbin/ifconfig/pfsync.c
193
errno = ENOENT;
sbin/ifconfig/tunnel.c
97
errno = ENOENT;
sbin/ifconfig/util.c
186
errno = EINVAL;
sbin/ifconfig/util.c
192
errno = EINVAL;
sbin/ifconfig/util.c
304
if (errno == EPROTONOSUPPORT)
sbin/ifconfig/util.c
312
if (errno == EADDRNOTAVAIL || errno == EAFNOSUPPORT)
sbin/ifconfig/vlan.c
122
errno = ENOENT;
sbin/ifconfig/vlan.c
144
errno = ENOENT;
sbin/ifconfig/vlan.c
151
errno = ENOENT;
sbin/init/init.c
1641
if (kill(-1, death_sigs[i]) == -1 && errno == ESRCH)
sbin/init/init.c
1649
while (clang == 0 && errno != ECHILD);
sbin/init/init.c
1651
if (errno == ECHILD)
sbin/init/init.c
1832
if (errno == ENOENT) {
sbin/init/init.c
239
errno = EPERM;
sbin/init/init.c
509
if (errno == ENOENT)
sbin/init/init.c
778
if (errno == EINTR)
sbin/init/init.c
883
if (errno == EINTR)
sbin/iscsictl/iscsic_main.c
275
progname, cmdname, lbuf, strerror(errno));
sbin/iscsid/iscsid_discover.c
430
DEB(10,("Getsockname returned error %d", errno));
sbin/iscsid/iscsid_driverif.c
346
errno, res->status));
sbin/iscsid/iscsid_driverif.c
571
DEB(1, ("Creating socket failed (error %d)", errno));
sbin/iscsid/iscsid_driverif.c
579
DEB(1, ("Binding to interface failed (error %d)", errno));
sbin/iscsid/iscsid_driverif.c
589
DEB(1, ("Connecting to socket failed (error %d)", errno));
sbin/iscsid/iscsid_driverif.c
935
strerror(errno)));
sbin/iscsid/iscsid_main.c
592
} while (ret == -1 && errno == EAGAIN);
sbin/iscsid/iscsid_main.c
595
DEBOUT(("Receiving from socket: %s",strerror(errno)));
sbin/ldconfig/ldconfig.c
234
if (!silent || errno != ENOENT)
sbin/ldconfig/ldconfig.c
491
if (unlink(_PATH_LD_HINTS) != 0 && errno != ENOENT) {
sbin/mbrlabel/mbrlabel.c
312
errno = 0;
sbin/mbrlabel/mbrlabel.c
318
if ((errno == ERANGE && ulsector == ULONG_MAX) ||
sbin/mknod/mknod.c
221
errno = 0;
sbin/mknod/mknod.c
223
if (*p == 0 && errno == 0)
sbin/mknod/mknod.c
257
if (rval < 0 && errno == EEXIST && r_flag) {
sbin/modstat/main.c
120
switch (errno) {
sbin/modstat/main.c
150
switch (errno) {
sbin/mount/mount.c
327
pid > 0 && kill(pid, SIGHUP) == -1 && errno != ESRCH)
sbin/mount/mount.c
519
if (errno != ENOENT)
sbin/mount/mount.c
523
if (errno == ENOENT)
sbin/mount/mount.c
741
if (errno != EBUSY)
sbin/mount_ados/mount_ados.c
143
if (errno != EROFS)
sbin/mount_ados/mount_ados.c
147
assert(errno != EROFS);
sbin/mount_ext2fs/mount_ext2fs.c
136
switch (errno) {
sbin/mount_ext2fs/mount_ext2fs.c
148
errcause = strerror(errno);
sbin/mount_ffs/mount_ffs.c
140
switch (errno) {
sbin/mount_ffs/mount_ffs.c
152
errcause = strerror(errno);
sbin/mount_lfs/mount_lfs.c
180
switch (errno) {
sbin/mount_lfs/mount_lfs.c
192
errcause = strerror(errno);
sbin/mount_nfs/getnfsargs.c
272
errno = nfhret.stat;
sbin/mount_nfs/getnfsargs_small.c
178
return errno;
sbin/mount_nfs/mount_nfs.c
450
if (errno == EPROGMISMATCH &&
sbin/mount_portal/activate.c
95
return (errno);
sbin/mount_portal/conf.c
312
int sverrno = errno;
sbin/mount_portal/conf.c
315
errno = sverrno;
sbin/mount_portal/pt_file.c
156
error = errno;
sbin/mount_portal/pt_file.c
164
error = errno;
sbin/mount_portal/pt_file.c
177
error = errno;
sbin/mount_portal/pt_file.c
78
return (errno);
sbin/mount_portal/pt_filter.c
145
return errno;
sbin/mount_portal/pt_filter.c
151
error = errno;
sbin/mount_portal/pt_filter.c
189
return errno;
sbin/mount_portal/pt_filter.c
195
error = errno;
sbin/mount_portal/pt_tcp.c
128
errno = 0;
sbin/mount_portal/pt_tcp.c
137
return (errno);
sbin/mount_portal/puffs_portal.c
135
rv = errno;
sbin/mount_portal/puffs_portal.c
199
if (errno != EAGAIN)
sbin/mount_portal/puffs_portal.c
200
return errno;
sbin/mount_portal/puffs_portal.c
249
return errno;
sbin/mount_portal/puffs_portal.c
261
if (errno != EAGAIN)
sbin/mount_portal/puffs_portal.c
262
return errno;
sbin/mount_portal/puffs_portal.c
310
rv = errno;
sbin/mount_portal/puffs_portal.c
362
errno = EIO;
sbin/mount_portal/puffs_portal.c
367
errno = error;
sbin/mount_portal/puffs_portal.c
372
errno = EIO;
sbin/mount_portal/puffs_portal.c
382
return errno;
sbin/mount_portal/puffs_portal.c
385
return errno;
sbin/mount_portal/puffs_portal.c
393
return errno;
sbin/mount_portal/puffs_portal.c
590
res = errno;
sbin/mount_portal/puffs_portal.c
692
error = errno;
sbin/mount_portal/puffs_portal.c
754
error = errno;
sbin/mount_portal/puffs_portal.c
781
return errno;
sbin/mount_portal/puffs_portal.c
802
return errno;
sbin/mount_sysvbfs/mount_sysvbfs.c
128
switch (errno) {
sbin/mount_sysvbfs/mount_sysvbfs.c
140
errcause = strerror(errno);
sbin/mount_v7fs/mount_v7fs.c
112
switch (errno) {
sbin/mount_v7fs/mount_v7fs.c
124
errcause = strerror(errno);
sbin/newfs/mkfs.c
1441
(long long)bno, strerror(errno));
sbin/newfs/mkfs.c
1467
(long long)bno, strerror(errno));
sbin/newfs/newfs.c
760
exit(errno); /* parent prints message */
sbin/newfs/newfs.c
793
errno = 0;
sbin/newfs/newfs.c
823
if (errno == ERANGE || result >> shift != r1)
sbin/newfs_ext2fs/newfs_ext2fs.c
412
errno = 0;
sbin/newfs_ext2fs/newfs_ext2fs.c
446
if (errno == ERANGE || result >> shift != r1)
sbin/newfs_lfs/make_lfs.c
681
fatal("time: %s", strerror(errno));
sbin/newfs_lfs/newfs.c
301
fatal("%s: %s", special, strerror(errno));
sbin/newfs_lfs/newfs.c
308
fatal("%s: %s", special, strerror(errno));
sbin/newfs_lfs/newfs.c
310
fatal("%s: %s", special, strerror(errno));
sbin/newfs_lfs/newfs.c
408
errno = 0;
sbin/newfs_lfs/newfs.c
435
if (errno == ERANGE || result >> shift != r1)
sbin/newfs_lfs/newfs.c
452
errno = 0;
sbin/newfs_lfs/newfs.c
454
if (errno || *s != '\0') {
sbin/newfs_msdos/newfs_msdos.c
208
errno = 0;
sbin/newfs_msdos/newfs_msdos.c
224
errno = 0;
sbin/newfs_msdos/newfs_msdos.c
227
if (errno || x < 0 || (s[0] && s[1]) )
sbin/newfs_msdos/newfs_msdos.c
78
errno = 0;
sbin/newfs_msdos/newfs_msdos.c
79
if ((when = parsedate(b, NULL, NULL)) != -1 || errno == 0)
sbin/newfs_msdos/newfs_msdos.c
82
errno = 0;
sbin/newfs_msdos/newfs_msdos.c
84
if (b == eb || *eb || errno)
sbin/newfs_udf/udf_core.c
3168
errno = EINVAL;
sbin/newfs_udf/udf_core.c
3170
return errno;
sbin/newfs_udf/udf_core.c
3280
errno = EINVAL;
sbin/newfs_udf/udf_core.c
3282
return errno;
sbin/newfs_udf/udf_core.c
3691
return errno;
sbin/newfs_udf/udf_core.c
3695
return errno;
sbin/newfs_udf/udf_core.c
3749
return errno;
sbin/newfs_udf/udf_core.c
3763
return errno;
sbin/newfs_v7fs/main.c
114
errno = error;
sbin/newfs_v7fs/main.c
133
errno = error = EIO;
sbin/newfs_v7fs/main.c
145
errno = error = EIO;
sbin/newfs_v7fs/main.c
152
errno = error;
sbin/newfs_v7fs/main.c
191
errno = EIO;
sbin/newfs_v7fs/main.c
249
errno = error;
sbin/newfs_v7fs/main.c
292
errno = error;
sbin/newfs_v7fs/main.c
89
if (errno == EROFS) {
sbin/nvmectl/nvmectl.c
220
return (errno);
sbin/nvmectl/nvmectl.c
239
if (nsloc == NULL || (*nsid == 0 && errno != 0))
sbin/ping/ping.c
797
if (errno == EINTR)
sbin/ping/ping.c
810
if (errno != EINTR) {
sbin/ping/ping.c
830
int serrno = errno;
sbin/ping/ping.c
857
errno = serrno;
sbin/ping6/ping6.c
365
errno = 0;
sbin/ping6/ping6.c
369
if (errno || !*optarg || *e ||
sbin/ping6/ping6.c
390
errno = EPERM;
sbin/ping6/ping6.c
445
errno = EPERM;
sbin/ping6/ping6.c
979
if (errno != EINTR) {
sbin/ping6/ping6.c
999
if (errno != EINTR) {
sbin/raidctl/raidctl.c
562
if (errno == EINVAL) {
sbin/raidctl/rf_configure.c
350
retcode = errno = EINVAL;
sbin/raidctl/rf_configure.c
352
errno = retcode;
sbin/reboot/reboot.c
210
if (errno != ESRCH) {
sbin/reboot/reboot.c
228
if (errno == ESRCH)
sbin/reboot/reboot.c
245
sverrno = errno;
sbin/restore/dirs.c
204
fprintf(stderr, "opendirfile: %s\n", strerror(errno));
sbin/restore/dirs.c
614
fprintf(stderr, "fopen: %s\n", strerror(errno));
sbin/restore/dirs.c
726
fprintf(stderr, "cannot create file: %s\n", strerror(errno));
sbin/restore/dirs.c
737
fprintf(stderr, "read: %s\n", strerror(errno));
sbin/restore/dirs.c
744
fprintf(stderr, "write: %s\n", strerror(errno));
sbin/restore/dirs.c
845
if (errno == ENOSPC) {
sbin/restore/symtab.c
463
fprintf(stderr, "fopen: %s\n", strerror(errno));
sbin/restore/symtab.c
525
fprintf(stderr, "fwrite: %s\n", strerror(errno));
sbin/restore/symtab.c
559
fprintf(stderr, "open: %s\n", strerror(errno));
sbin/restore/symtab.c
563
fprintf(stderr, "stat: %s\n", strerror(errno));
sbin/restore/symtab.c
572
fprintf(stderr, "read: %s\n", strerror(errno));
sbin/restore/tape.c
1198
strerror(errno));
sbin/restore/tape.c
1219
strerror(errno));
sbin/restore/tape.c
1357
"continuation failed: %s\n", strerror(errno));
sbin/restore/tape.c
1402
fprintf(stderr, "tape read error: %s\n", strerror(errno));
sbin/restore/tape.c
256
_PATH_TTY, strerror(errno));
sbin/restore/tape.c
260
_PATH_DEVNULL, strerror(errno));
sbin/restore/tape.c
308
fprintf(stderr, "%s: %s\n", magtape, strerror(errno));
sbin/restore/tape.c
344
fprintf(stderr, "cannot stat .: %s\n", strerror(errno));
sbin/restore/tape.c
596
fprintf(stderr, "ioctl MTFSF: %s\n", strerror(errno));
sbin/restore/tape.c
730
name, strerror(errno));
sbin/restore/tape.c
765
name, strerror(errno));
sbin/restore/tape.c
795
name, strerror(errno));
sbin/restore/utilities.c
131
from, to, strerror(errno));
sbin/restore/utilities.c
150
fprintf(stderr, "warning: %s: %s\n", cp, strerror(errno));
sbin/restore/utilities.c
172
fprintf(stderr, "warning: %s: %s\n", cp, strerror(errno));
sbin/restore/utilities.c
192
fprintf(stderr, "warning: %s: %s\n", cp, strerror(errno));
sbin/restore/utilities.c
209
new, existing, strerror(errno));
sbin/restore/utilities.c
216
new, existing, strerror(errno));
sbin/restore/utilities.c
237
name, strerror(errno));
sbin/restore/utilities.c
259
name, strerror(errno));
sbin/rndctl/rndctl.c
221
int error = errno;
sbin/rndctl/rndctl.c
232
int error = errno;
sbin/rndctl/rndctl.c
318
error = errno;
sbin/route/route.c
1183
errno = 0;
sbin/route/route.c
1232
} while (rlen == -1 && errno == ENOBUFS);
sbin/route/route.c
1234
warnx("writing to routing socket: %s", route_strerror(errno));
sbin/route/route.c
353
} while (rlen == -1 && errno == ENOBUFS);
sbin/route/route.c
356
route_strerror(errno));
sbin/route/route.c
647
errno = 0;
sbin/route/route.c
650
if (errno != ENETUNREACH && errno != ESRCH)
sbin/route/route.c
662
oerrno = errno;
sbin/route/rtutil.c
159
if (errno == ENOPROTOOPT)
sbin/routed/defs.h
532
#define LOGERR(msg) msglog(msg ": %s", strerror(errno))
sbin/routed/defs.h
534
#define BADERR(dump,msg) logbad(dump,msg ": %s", strerror(errno))
sbin/routed/if.c
514
&& errno != EADDRNOTAVAIL
sbin/routed/if.c
733
if (errno != ENOMEM && errno != EFAULT)
sbin/routed/input.c
82
if (cc < 0 && errno != EWOULDBLOCK)
sbin/routed/main.c
302
logbad(1, "fcntl(rt_sock) O_NONBLOCK: %s", strerror(errno));
sbin/routed/main.c
512
if (n < 0 && errno != EINTR && errno != EAGAIN)
sbin/routed/main.c
612
name, strerror(errno));
sbin/routed/main.c
616
name, strerror(errno));
sbin/routed/main.c
621
name, strerror(errno));
sbin/routed/main.c
628
name, rbuf, strerror(errno));
sbin/routed/main.c
638
name, rbuf, strerror(errno));
sbin/routed/main.c
669
BADERR(errno != EADDRINUSE, "bind(rip_sock)");
sbin/routed/output.c
181
serrno = errno;
sbin/routed/output.c
184
errno = serrno;
sbin/routed/output.c
209
serrno = errno;
sbin/routed/output.c
215
strerror(errno));
sbin/routed/output.c
216
errno = serrno;
sbin/routed/rdisc.c
789
strerror(errno));
sbin/routed/rdisc.c
983
if (cc < 0 && errno != EWOULDBLOCK)
sbin/routed/rtquery/rtquery.c
352
if (errno != EADDRINUSE
sbin/routed/rtquery/rtquery.c
477
if (errno == EINTR)
sbin/routed/table.c
1077
if (errno != ENOMEM && errno != EFAULT)
sbin/routed/table.c
1178
if (cc < 0 && errno != EWOULDBLOCK)
sbin/routed/table.c
738
if (errno == ESRCH
sbin/routed/table.c
747
msglog("write(rt_sock)" PAT ": %s", ARGS, strerror(errno));
sbin/routed/trace.c
361
fn, strerror(errno));
sbin/savecore/savecore.c
530
path, strerror(nw == 0 ? EIO : errno));
sbin/savecore/savecore.c
584
path, strerror(nw == 0 ? EIO : errno));
sbin/savecore/savecore.c
608
path, strerror(nw == 0 ? EIO : errno));
sbin/savecore/savecore.c
633
path, strerror(nw == 0 ? EIO : errno));
sbin/savecore/savecore.c
739
path, strerror(nw == 0 ? EIO : errno));
sbin/scsictl/scsictl.c
157
if (errno == ENOENT) {
sbin/shutdown/shutdown.c
418
serrno = errno;
sbin/shutdown/shutdown.c
420
errno = serrno;
sbin/slattach/slattach.c
138
if (ioctl(fd, TIOCSDTR, 0) < 0 && errno != ENOTTY)
sbin/sysctl/pathconf.c
172
switch (errno) {
sbin/sysctl/sysctl.c
1083
errno = 0;
sbin/sysctl/sysctl.c
1085
if (t == value || *t != '\0' || errno != 0) {
sbin/sysctl/sysctl.c
1139
errno = 0;
sbin/sysctl/sysctl.c
1146
if (t == value || *t != '\0' || errno != 0) {
sbin/sysctl/sysctl.c
1158
errno = 0;
sbin/sysctl/sysctl.c
1160
if (t == value || *t != '\0' || errno != 0 ||
sbin/sysctl/sysctl.c
1242
errno = 0;
sbin/sysctl/sysctl.c
1244
if (t == data || *t != '\0' || errno != 0 ||
sbin/sysctl/sysctl.c
1262
errno = 0;
sbin/sysctl/sysctl.c
1264
if (t == data || *t != '\0' || errno != 0 ||
sbin/sysctl/sysctl.c
1294
errno = 0;
sbin/sysctl/sysctl.c
1296
if (t == data || *t != '\0' || errno != 0) {
sbin/sysctl/sysctl.c
1461
nname, strerror(errno));
sbin/sysctl/sysctl.c
1504
l, strerror(errno));
sbin/sysctl/sysctl.c
1552
gsname, strerror(errno));
sbin/sysctl/sysctl.c
1644
if (i == 0 && errno == ENOMEM)
sbin/sysctl/sysctl.c
1702
switch (errno) {
sbin/sysctl/sysctl.c
1711
"(%s)\n", gsname, strerror(errno));
sbin/sysctl/sysctl.c
1717
sysctlperror("%s: %s\n", gsname, strerror(errno));
sbin/sysctl/sysctl.c
1772
errno = 0;
sbin/sysctl/sysctl.c
1774
if (qi == UQUAD_MAX && errno == ERANGE) {
sbin/sysctl/sysctl.c
1775
sysctlperror("%s: %s\n", value, strerror(errno));
sbin/sysctl/sysctl.c
1813
if (!optional || errno != EPERM) {
sbin/sysctl/sysctl.c
1858
if (!optional || errno != EPERM) {
sbin/sysctl/sysctl.c
2527
errno = 0;
sbin/sysctl/sysctl.c
2529
if (t == value || *t != '\0' || errno != 0) {
sbin/sysctl/sysctl.c
2647
errno = 0;
sbin/sysctl/sysctl.c
2665
if (errno) {
sbin/sysctl/sysctl.c
2747
errno = 0;
sbin/sysctl/sysctl.c
2749
if ((l == ULONG_MAX && errno == ERANGE) || s == e || *e)
sbin/sysctl/sysctl.c
777
if (rc == -1 && errno == ENOMEM) {
sbin/ttyflags/ttyflags.c
218
if (!(errno == ENXIO ||
sbin/ttyflags/ttyflags.c
219
(errno == ENOENT && (st & TTY_ON) == 0)))
sbin/ttyflags/ttyflags.c
226
if (errno != ENOTTY || vflag) {
sbin/ttyflags/ttyflags.c
228
rval = (errno != ENOTTY);
sbin/tunefs/tunefs.c
240
if (fi >= 0 || errno != ENOENT)
sbin/umbctl/umbctl.c
174
return _error(2, "%s: %s", ifname, strerror(errno));
sbin/umbctl/umbctl.c
196
return _error(2, "%s: %s", filename, strerror(errno));
sbin/umbctl/umbctl.c
226
return _error(2, "%s: %s", filename, strerror(errno));
sbin/umbctl/umbctl.c
251
return _error(2, "%s: %s", ifname, strerror(errno));
sbin/umbctl/umbctl.c
295
return _error(-1, "%s: %s", ifname, strerror(errno));
sbin/umbctl/umbctl.c
437
return _error(-1, "socket: %s", strerror(errno));
sbin/umount/umount.c
321
if (errno != ENOENT) {
sbin/wsconsctl/display.c
97
if (res == 0 || errno != EAGAIN)
sbin/wsconsctl/keyboard.c
190
if (errno != ENODEV)
sbin/wsconsctl/keyboard.c
311
if (errno != ENODEV)
sbin/wsconsctl/util.c
506
errno = 0;
sbin/wsconsctl/util.c
510
if (errno == ERANGE && (lval == LONG_MAX || lval == LONG_MIN))
share/examples/pud/intro/intro.c
167
printf("wrote %d %d\n", n, errno);
share/examples/pud/intro/intro.c
83
printf("read %d %d\n", n, errno);
share/examples/puffs/icfs/icfs.c
120
return errno;
share/examples/puffs/pgfs/mount.c
165
errno = error;
share/examples/puffs/pgfs/pgfs_db.c
512
errno = 0;
share/examples/puffs/pgfs/pgfs_db.c
514
assert(errno == 0);
share/examples/puffs/pgfs/pgfs_puffs.c
1053
return errno;
share/examples/puffs/pgfs/pgfs_puffs.c
394
return errno;
share/examples/puffs/pgfs/pgfs_puffs.c
436
return errno;
share/examples/puffs/pgfs/pgfs_subs.c
204
assert(errno != 0);
share/examples/puffs/pgfs/pgfs_subs.c
205
return errno;
share/examples/refuse/fanoutfs/fanoutfs.c
299
return -errno;
share/examples/refuse/fanoutfs/fanoutfs.c
328
return -errno;
share/examples/refuse/fanoutfs/fanoutfs.c
355
return -errno;
share/examples/refuse/fanoutfs/fanoutfs.c
370
return -errno;
share/examples/refuse/fanoutfs/fanoutfs.c
385
return -errno;
share/examples/refuse/fanoutfs/fanoutfs.c
400
return -errno;
share/examples/refuse/fanoutfs/fanoutfs.c
502
return -errno;
share/examples/refuse/fanoutfs/fanoutfs.c
517
return -errno;
share/examples/refuse/fanoutfs/fanoutfs.c
532
return -errno;
share/examples/refuse/fanoutfs/fanoutfs.c
547
return -errno;
share/examples/refuse/fanoutfs/fanoutfs.c
562
return -errno;
share/examples/refuse/ian/libfetch/common.c
102
switch (errno) {
share/examples/refuse/ian/libfetch/common.c
152
snprintf(fetchLastErrString, MAXERRSTRING, "%s", strerror(errno));
share/examples/refuse/ian/libfetch/common.c
404
errno = ETIMEDOUT;
share/examples/refuse/ian/libfetch/common.c
408
errno = 0;
share/examples/refuse/ian/libfetch/common.c
411
if (errno == EINTR && fetchRestartCalls)
share/examples/refuse/ian/libfetch/common.c
426
if (errno == EINTR && fetchRestartCalls)
share/examples/refuse/ian/libfetch/common.c
453
errno = ENOMEM;
share/examples/refuse/ian/libfetch/common.c
473
errno = ENOMEM;
share/examples/refuse/ian/libfetch/common.c
530
errno = ETIMEDOUT;
share/examples/refuse/ian/libfetch/common.c
534
errno = 0;
share/examples/refuse/ian/libfetch/common.c
537
if (errno == EINTR && fetchRestartCalls)
share/examples/refuse/ian/libfetch/common.c
542
errno = 0;
share/examples/refuse/ian/libfetch/common.c
552
errno = EPIPE;
share/examples/refuse/ian/libfetch/common.c
557
if (errno == EINTR && fetchRestartCalls)
share/examples/refuse/ian/libfetch/common.c
633
errno = ENOMEM;
share/examples/refuse/ian/libfetch/ftp.c
189
errno = ENOMEM;
share/examples/refuse/ian/libfetch/ftp.c
502
errno = EBADF;
share/examples/refuse/ian/libfetch/ftp.c
506
errno = EBADF;
share/examples/refuse/ian/libfetch/ftp.c
510
errno = io->err;
share/examples/refuse/ian/libfetch/ftp.c
522
if (errno != EINTR)
share/examples/refuse/ian/libfetch/ftp.c
523
io->err = errno;
share/examples/refuse/ian/libfetch/ftp.c
535
errno = EBADF;
share/examples/refuse/ian/libfetch/ftp.c
539
errno = EBADF;
share/examples/refuse/ian/libfetch/ftp.c
543
errno = io->err;
share/examples/refuse/ian/libfetch/ftp.c
549
if (errno != EINTR)
share/examples/refuse/ian/libfetch/ftp.c
550
io->err = errno;
share/examples/refuse/ian/libfetch/ftp.c
562
errno = EBADF;
share/examples/refuse/ian/libfetch/ftp.c
565
errno = ESPIPE;
share/examples/refuse/ian/libfetch/ftp.c
577
errno = EBADF;
share/examples/refuse/ian/libfetch/ftp.c
583
errno = EBADF;
share/examples/refuse/ian/libfetch/http.c
382
errno = ENOMEM;
share/examples/refuse/ian/libfetch/http.c
715
errno = EAUTH;
share/examples/refuse/icfs/icfs.c
115
return -errno;
share/examples/refuse/icfs/icfs.c
180
return -errno;
share/examples/refuse/icfs/icfs.c
211
return -errno;
share/examples/refuse/icfs/icfs.c
240
return -errno;
share/examples/refuse/icfs/icfs.c
258
return -errno;
share/examples/refuse/icfs/icfs.c
275
return -errno;
share/examples/refuse/icfs/icfs.c
292
return -errno;
share/examples/refuse/icfs/icfs.c
427
return -errno;
share/examples/refuse/icfs/icfs.c
445
return -errno;
share/examples/refuse/icfs/icfs.c
462
return -errno;
share/examples/refuse/icfs/icfs.c
480
return -errno;
share/examples/refuse/icfs/icfs.c
497
return -errno;
share/examples/rump/sdread/sdread.c
196
sverrno = errno;
share/examples/rump/sdread/sdread.c
204
errno = sverrno;
share/examples/rump/ttyserv/ttyserv.c
65
if (rv != 0 && !(rv == -1 && errno == EEXIST))
share/examples/rump/ttyserv/ttyserv.c
70
if (rv != 0 && !(rv == -1 && errno == EEXIST))
share/examples/rump/umserv/umserv.c
84
if (rv != 0 && !(rv == -1 && errno == EEXIST))
share/examples/rump/wirelessconf/wirelessconf.c
65
if (errno == ENXIO) {
sys/arch/acorn32/include/loadfile_machdep.h
49
if (errno) \
sys/arch/acorn32/include/loadfile_machdep.h
51
strerror(errno)); \
sys/arch/acorn32/stand/lib/riscosfile.c
179
errno = EOFFSET;
sys/arch/acorn32/stand/lib/riscosfile.c
192
errno = riscos_errno(error);
sys/arch/alpha/include/loadfile_machdep.h
44
if (errno) \
sys/arch/alpha/include/loadfile_machdep.h
46
strerror(errno)); \
sys/arch/alpha/stand/netboot/dev_net.c
120
error = errno;
sys/arch/amiga/include/loadfile_machdep.h
50
if (errno) \
sys/arch/amiga/include/loadfile_machdep.h
52
strerror(errno)); \
sys/arch/amiga/stand/bootblock/boot/main.c
378
errno = ENOMEM;
sys/arch/amiga/stand/bootblock/boot/main.c
491
printf("\nError %ld\n", (long)errno);
sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c
112
errno = ENOMEM;
sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c
117
errno = ENOEXEC;
sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c
123
errno = ENOEXEC;
sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c
129
errno = -1;
sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c
134
printf("Error %ld\n", (long)errno);
sys/arch/amiga/stand/loadbsd/loadbsd.c
747
fprintf(stderr, "%s", strerror(errno));
sys/arch/arc/include/loadfile_machdep.h
48
if (errno) \
sys/arch/arc/include/loadfile_machdep.h
50
strerror(errno)); \
sys/arch/atari/stand/ahdilabel/ahdilabel.c
74
strerror (errno));
sys/arch/atari/stand/installboot/installboot.c
146
if (fd < 0 && errno == ENOENT) {
sys/arch/atari/stand/msconfig/msconfig.c
72
strerror(errno));
sys/arch/atari/stand/msconfig/msconfig.c
77
fprintf(stderr, "%s: %s\n", argv[0], strerror(errno));
sys/arch/atari/stand/msconfig/msconfig.c
83
fprintf(stderr, "%s: %s\n", argv[0], strerror(errno));
sys/arch/atari/stand/tostools/libtos/cread.c
127
errno = 0;
sys/arch/atari/stand/tostools/libtos/cread.c
131
if (errno) s->z_err = Z_ERRNO;
sys/arch/atari/stand/tostools/libtos/cread.c
319
errno = 0;
sys/arch/atari/stand/tostools/libtos/cread.c
323
if (errno) {
sys/arch/atari/stand/tostools/libtos/cread.c
415
errno = EINVAL;
sys/arch/atari/stand/tostools/libtos/cread.c
427
errno = EINVAL;
sys/arch/atari/stand/tostools/libtos/cread.c
430
errno = EINVAL;
sys/arch/atari/stand/tostools/libtos/eprintf.c
46
fatal(errno, "%s", fn);
sys/arch/bebox/include/loadfile_machdep.h
44
if (errno) \
sys/arch/bebox/include/loadfile_machdep.h
46
strerror(errno)); \
sys/arch/bebox/stand/boot/monitor.c
37
extern int errno;
sys/arch/cobalt/include/loadfile_machdep.h
48
if (errno) \
sys/arch/cobalt/include/loadfile_machdep.h
50
strerror(errno)); \
sys/arch/cobalt/stand/boot/tlp.c
349
errno = 0;
sys/arch/emips/include/loadfile_machdep.h
48
if (errno) \
sys/arch/emips/include/loadfile_machdep.h
50
strerror(errno)); \
sys/arch/emips/stand/common/bootxx.c
142
printf("open %s: %d\n", bootfname, errno);
sys/arch/epoc32/include/loadfile_machdep.h
44
if (errno) \
sys/arch/epoc32/include/loadfile_machdep.h
46
strerror(errno)); \
sys/arch/evbarm/include/loadfile_machdep.h
27
if (errno) \
sys/arch/evbarm/include/loadfile_machdep.h
29
strerror(errno)); \
sys/arch/evbarm/stand/boot2440/dev_net.c
116
error = errno;
sys/arch/evbarm/stand/boot2440/dev_net.c
66
error = errno;
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
372
errno = ENODEV;
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
390
errno = EIO;
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
397
errno = EIO;
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
403
errno = EIO;
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
416
errno = EIO;
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
421
errno = EIO;
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
431
errno = EIO;
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
443
errno = error;
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
456
errno = EOFFSET;
sys/arch/evbarm/stand/boot2440/dm9000.c
344
errno = 0;
sys/arch/evbarm/stand/boot2440/main.c
210
printf("Failed: %d\n", errno);
sys/arch/evbcf/include/loadfile_machdep.h
50
if (errno) \
sys/arch/evbcf/include/loadfile_machdep.h
52
strerror(errno)); \
sys/arch/evbmips/include/loadfile_machdep.h
45
if (errno) \
sys/arch/evbmips/include/loadfile_machdep.h
47
strerror(errno)); \
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
120
error = errno;
sys/arch/evbppc/include/loadfile_machdep.h
44
if (errno) \
sys/arch/evbppc/include/loadfile_machdep.h
46
strerror(errno)); \
sys/arch/ews4800mips/include/loadfile_machdep.h
48
if (errno) \
sys/arch/ews4800mips/include/loadfile_machdep.h
50
strerror(errno)); \
sys/arch/hp300/include/loadfile_machdep.h
50
if (errno) \
sys/arch/hp300/include/loadfile_machdep.h
52
strerror(errno)); \
sys/arch/hp300/stand/common/devopen.c
131
errno = ENODEV;
sys/arch/hp300/stand/common/netio.c
231
return errno;
sys/arch/hp300/stand/common/netio.c
237
return errno;
sys/arch/hp300/stand/common/netio.c
243
return errno;
sys/arch/hp300/stand/common/netio.c
259
return errno;
sys/arch/hp300/stand/inst/inst.c
676
printf("Read error, errno = %d\n", errno);
sys/arch/hp300/stand/inst/inst.c
691
i, errno);
sys/arch/hp300/stand/inst/inst.c
743
printf("boot: %s\n", strerror(errno));
sys/arch/hp300/stand/uboot/uboot.c
96
printf("boot: %s\n", strerror(errno));
sys/arch/hpcmips/include/loadfile_machdep.h
43
if (errno) \
sys/arch/hpcmips/include/loadfile_machdep.h
45
strerror(errno)); \
sys/arch/hpcmips/stand/libsa/winfs.c
155
errno = EOFFSET;
sys/arch/hpcmips/stand/libsa/winfs.c
161
errno = EINVAL; /* XXX, We shuld check GetLastError(). */
sys/arch/hpcmips/stand/pbsdboot/main.c
122
int errno;
sys/arch/hppa/include/loadfile_machdep.h
49
if (errno) \
sys/arch/hppa/include/loadfile_machdep.h
51
strerror(errno)); \
sys/arch/hppa/stand/boot/boot.c
173
printf("boot: %s\n", strerror(errno));
sys/arch/hppa/stand/common/exec_som.c
52
if (!errno)
sys/arch/hppa/stand/common/exec_som.c
53
errno = EIO;
sys/arch/i386/stand/boot/boot2.c
292
strerror(errno));
sys/arch/i386/stand/boot/boot2.c
663
strerror(errno));
sys/arch/i386/stand/boot/boot2.c
97
int errno;
sys/arch/i386/stand/dosboot/dosfile.c
218
errno = EOFFSET;
sys/arch/i386/stand/dosboot/dosfile.c
223
errno = dos2errno();
sys/arch/i386/stand/dosboot/dosfile.c
230
errno = EOFFSET;
sys/arch/i386/stand/dosboot/main.c
185
strerror(errno));
sys/arch/i386/stand/dosboot/main.c
47
int errno;
sys/arch/i386/stand/efiboot/boot.c
284
strerror(errno));
sys/arch/i386/stand/efiboot/boot.c
45
int errno;
sys/arch/i386/stand/efiboot/boot.c
726
strerror(errno));
sys/arch/i386/stand/efiboot/boot.c
762
errno = 0;
sys/arch/i386/stand/efiboot/boot.c
764
if (ep == arg || *ep != '\0' || errno)
sys/arch/i386/stand/lib/exec.c
326
return errno;
sys/arch/i386/stand/lib/exec.c
339
return errno;
sys/arch/i386/stand/lib/exec.c
384
return errno;
sys/arch/i386/stand/lib/exec.c
449
errno = error;
sys/arch/i386/stand/pxeboot/main.c
103
printf("boot: %s\n", strerror(errno));
sys/arch/i386/stand/pxeboot/main.c
306
strerror(errno));
sys/arch/i386/stand/pxeboot/main.c
56
int errno;
sys/arch/ia64/include/loadfile_machdep.h
60
if (errno) \
sys/arch/ia64/include/loadfile_machdep.h
62
strerror(errno)); \
sys/arch/ia64/stand/common/interp.c
212
command_seterr("can't open '%s': %s\n", filename, strerror(errno));
sys/arch/ia64/stand/common/ls.c
166
command_seterr("open '%s' failed: %s", path, strerror(errno));
sys/arch/ia64/stand/common/ls.c
170
command_seterr("stat failed: %s", strerror(errno));
sys/arch/ia64/stand/common/pager.c
142
printf("can't open '%s': %s\n", fname, strerror(errno));
sys/arch/ia64/stand/common/readdir.c
50
errno = EBADF;
sys/arch/ia64/stand/common/readdir.c
54
errno = EIO;
sys/arch/ia64/stand/common/readdir.c
59
errno = FS_READDIR(f, &dir);
sys/arch/ia64/stand/common/readdir.c
61
if (errno)
sys/arch/ia64/stand/common/strtol.c
133
errno = ERANGE;
sys/arch/ia64/stand/efi/libefi/efifs_ls.c
161
printf("ls: %s\n", strerror(errno));
sys/arch/ia64/stand/efi/libefi/efifs_ls.c
165
printf("stat: %s\n", strerror(errno));
sys/arch/landisk/include/loadfile_machdep.h
44
if (errno) \
sys/arch/landisk/include/loadfile_machdep.h
46
strerror(errno)); \
sys/arch/landisk/stand/boot/boot2.c
206
strerror(errno));
sys/arch/landisk/stand/boot/boot2.c
60
int errno;
sys/arch/luna68k/include/loadfile_machdep.h
51
if (errno) \
sys/arch/luna68k/include/loadfile_machdep.h
53
strerror(errno)); \
sys/arch/luna68k/stand/boot/boot.c
149
printf("Booting kernel failed. (%s)\n", strerror(errno));
sys/arch/macppc/include/loadfile_machdep.h
56
if (errno) \
sys/arch/macppc/include/loadfile_machdep.h
58
strerror(errno)); \
sys/arch/macppc/stand/ofwboot/net.c
157
return errno;
sys/arch/macppc/stand/ofwboot/net.c
92
error = errno;
sys/arch/macppc/stand/ofwboot/netif_of.c
84
errno = ENFILE;
sys/arch/mipsco/include/loadfile_machdep.h
48
if (errno) \
sys/arch/mipsco/include/loadfile_machdep.h
50
strerror(errno)); \
sys/arch/mipsco/stand/common/bootxx.c
132
printf("open %s: %d\n", bootfname, errno);
sys/arch/mmeye/include/loadfile_machdep.h
44
if (errno) \
sys/arch/mmeye/include/loadfile_machdep.h
46
strerror(errno)); \
sys/arch/mvme68k/include/loadfile_machdep.h
51
if (errno) \
sys/arch/mvme68k/include/loadfile_machdep.h
53
strerror(errno)); \
sys/arch/mvme68k/stand/bootsd/boot.c
43
int errno;
sys/arch/mvme68k/stand/bootsd/boot.c
61
printf("boot: %s: %s\n", file, strerror(errno));
sys/arch/mvme68k/stand/bootst/boot.c
43
int errno;
sys/arch/mvme68k/stand/bootst/boot.c
72
printf("tapeboot: %s: %s\n", file, strerror(errno));
sys/arch/mvme68k/stand/bootst/rawfs.c
118
errno = error;
sys/arch/mvme68k/stand/bootst/rawfs.c
128
errno = EROFS;
sys/arch/mvme68k/stand/bootst/rawfs.c
169
errno = EINVAL;
sys/arch/mvme68k/stand/bootst/rawfs.c
174
errno = EINVAL;
sys/arch/mvme68k/stand/bootst/rawfs.c
188
errno = err;
sys/arch/mvme68k/stand/bootst/rawfs.c
205
errno = EFTYPE;
sys/arch/mvme68k/stand/bootst/rawfs.c
234
errno = error;
sys/arch/mvme68k/stand/libsa/bugdev.c
41
int errno;
sys/arch/mvme68k/stand/netboot/boot.c
82
printf("boot: %s: %s\n", file, strerror(errno));
sys/arch/mvme68k/stand/netboot/conf.c
34
int errno;
sys/arch/mvmeppc/include/loadfile_machdep.h
44
if (errno) \
sys/arch/mvmeppc/include/loadfile_machdep.h
46
strerror(errno)); \
sys/arch/mvmeppc/stand/boot/boot.c
150
printf("boot: %s: %s\n", file, strerror(errno));
sys/arch/news68k/include/loadfile_machdep.h
51
if (errno) \
sys/arch/news68k/include/loadfile_machdep.h
53
strerror(errno)); \
sys/arch/newsmips/include/loadfile_machdep.h
45
if (errno) \
sys/arch/newsmips/include/loadfile_machdep.h
47
strerror(errno)); \
sys/arch/newsmips/stand/boot/net.c
124
return (errno);
sys/arch/newsmips/stand/boot/net.c
130
return (errno);
sys/arch/newsmips/stand/boot/net.c
136
return (errno);
sys/arch/newsmips/stand/boot/net.c
158
return (errno);
sys/arch/newsmips/stand/boot/net.c
80
error = errno;
sys/arch/newsmips/stand/boot/netif_news.c
78
errno = ENFILE;
sys/arch/next68k/include/loadfile_machdep.h
51
if (errno) \
sys/arch/next68k/include/loadfile_machdep.h
53
strerror(errno)); \
sys/arch/next68k/stand/boot/boot.c
122
printf("load of %s: %s\n", kernel, strerror(errno));
sys/arch/next68k/stand/boot/devopen.c
55
errno = ENXIO;
sys/arch/next68k/stand/boot/en.c
211
errno = EINVAL;
sys/arch/next68k/stand/boot/en.c
237
errno = EIO;
sys/arch/next68k/stand/boot/en.c
263
errno = EIO;
sys/arch/next68k/stand/boot/en.c
270
errno = EIO; /* too many retries */
sys/arch/next68k/stand/boot/en.c
357
errno = EIO;
sys/arch/next68k/stand/boot/en.c
438
return errno;
sys/arch/next68k/stand/boot/en.c
493
return errno;
sys/arch/ofppc/include/loadfile_machdep.h
44
if (errno) \
sys/arch/ofppc/include/loadfile_machdep.h
46
strerror(errno)); \
sys/arch/ofppc/stand/ofwboot/net.c
158
return errno;
sys/arch/ofppc/stand/ofwboot/net.c
92
error = errno;
sys/arch/ofppc/stand/ofwboot/netif_of.c
83
errno = ENFILE;
sys/arch/pmax/include/loadfile_machdep.h
49
if (errno) \
sys/arch/pmax/include/loadfile_machdep.h
51
strerror(errno)); \
sys/arch/pmax/stand/common/bootxx.c
164
printf("open %s: %d\n", bootfname, errno);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
144
errx(2, "Can't open %s '%s': %s", ftype, file, strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
149
errx(3, "Can't read input '%s': %s", file, strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
196
strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
203
errx(3, "MBR Read Failed: %s", strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
311
strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
328
strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
339
errx(3, "Can't malloc: %s", strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
341
errx(3, "Can't read file '%s' : %s", boot, strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
351
errx(3, "Can't malloc: %s", strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
358
kernel, strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
363
errx(3, "Can't init compression: %s", strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
476
strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
496
strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
505
errx(3, "Can't malloc: %s", strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
507
errx(3, "Can't read file '%s' : %s", boot, strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
520
errx(3, "Can't malloc: %s", strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
526
errx(3, "Can't read kernel '%s' : %s", kernel, strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
530
errx(3, "Can't init compression: %s", strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
707
strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
724
strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
739
errx(3, "Can't malloc: %s", strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
746
kernel, strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
750
errx(3, "Can't init compression: %s", strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
789
errx(3, "Can't malloc: %s", strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
791
errx(3, "Can't read file '%s' : %s", boot, strerror(errno));
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
805
errx(3, "Can't malloc: %s", strerror(errno));
sys/arch/prep/include/loadfile_machdep.h
44
if (errno) \
sys/arch/prep/include/loadfile_machdep.h
46
strerror(errno)); \
sys/arch/prep/stand/boot/monitor.c
40
extern int errno;
sys/arch/riscv/include/loadfile_machdep.h
28
if (errno) \
sys/arch/riscv/include/loadfile_machdep.h
30
strerror(errno)); \
sys/arch/rs6000/include/loadfile_machdep.h
44
if (errno) \
sys/arch/rs6000/include/loadfile_machdep.h
46
strerror(errno)); \
sys/arch/rs6000/stand/boot/monitor.c
40
extern int errno;
sys/arch/sandpoint/include/loadfile_machdep.h
44
if (errno) \
sys/arch/sandpoint/include/loadfile_machdep.h
46
strerror(errno)); \
sys/arch/sandpoint/stand/altboot/fxp.c
383
errno = 0;
sys/arch/sandpoint/stand/altboot/kse.c
234
errno = 0;
sys/arch/sandpoint/stand/altboot/main.c
326
if (errno == ENOENT)
sys/arch/sandpoint/stand/altboot/memfs.c
110
errno = EOFFSET;
sys/arch/sandpoint/stand/altboot/nvt.c
293
errno = 0;
sys/arch/sandpoint/stand/altboot/pcn.c
268
errno = 0;
sys/arch/sandpoint/stand/altboot/rge.c
290
errno = 0;
sys/arch/sandpoint/stand/altboot/sip.c
276
errno = 0;
sys/arch/sandpoint/stand/altboot/skg.c
376
errno = 0;
sys/arch/sandpoint/stand/altboot/sme.c
234
errno = 0;
sys/arch/sandpoint/stand/altboot/stg.c
336
errno = 0;
sys/arch/sandpoint/stand/altboot/tlp.c
252
errno = 0;
sys/arch/sandpoint/stand/altboot/vge.c
363
errno = 0;
sys/arch/sandpoint/stand/altboot/wm.c
269
errno = 0;
sys/arch/sbmips/include/loadfile_machdep.h
45
if (errno) \
sys/arch/sbmips/include/loadfile_machdep.h
47
strerror(errno)); \
sys/arch/sgimips/include/loadfile_machdep.h
50
if (errno) \
sys/arch/sgimips/include/loadfile_machdep.h
52
strerror(errno)); \
sys/arch/sgimips/stand/haudfw/haudfw.c
201
strerror(errno));
sys/arch/sgimips/stand/haudfw/haudfw.c
206
argv[0], strerror(errno));
sys/arch/sgimips/stand/haudfw/haudfw.c
303
argv[1], strerror(errno));
sys/arch/sgimips/stand/haudfw/haudfw.c
306
argv[1], strerror(errno));
sys/arch/sgimips/stand/undist/undist.c
135
fprintf(stderr, "error: strdup failed: %s\n", strerror(errno));
sys/arch/sgimips/stand/undist/undist.c
149
fprintf(stderr, "error: malloc failed: %s\n", strerror(errno));
sys/arch/sgimips/stand/undist/undist.c
163
fprintf(stderr, "error: realloc failed: %s\n", strerror(errno));
sys/arch/sgimips/stand/undist/undist.c
178
file, strerror(errno));
sys/arch/sgimips/stand/undist/undist.c
191
"%s: %s\n", filename, strerror(errno));
sys/arch/sgimips/stand/undist/undist.c
194
strerror(errno));
sys/arch/sgimips/stand/undist/undist.c
389
"%s\n", fname, strerror(errno));
sys/arch/sgimips/stand/undist/undist.c
399
fprintf(stderr, "error: failed to read: %s\n", strerror(errno));
sys/arch/sgimips/stand/undist/undist.c
784
switch (errno) {
sys/arch/sgimips/stand/undist/undist.c
808
if (mkdir(file, dirmode) != 0 && errno != EEXIST)
sys/arch/sgimips/stand/undist/undist.c
883
"file %s: %s\n", dst, strerror(errno));
sys/arch/sgimips/stand/undist/undist.c
890
strerror(errno));
sys/arch/sgimips/stand/undist/undist.c
897
errno = 0;
sys/arch/sgimips/stand/undist/undist.c
908
if (errno == 0)
sys/arch/sgimips/stand/undist/undist.c
914
strerror(errno));
sys/arch/shark/include/loadfile_machdep.h
45
if (errno) \
sys/arch/shark/include/loadfile_machdep.h
47
strerror(errno)); \
sys/arch/shark/stand/ofwboot/net.c
154
return errno;
sys/arch/shark/stand/ofwboot/net.c
89
error = errno;
sys/arch/shark/stand/ofwboot/netif_of.c
83
errno = ENFILE;
sys/arch/sparc/include/loadfile_machdep.h
43
if (errno) \
sys/arch/sparc/include/loadfile_machdep.h
45
strerror(errno)); \
sys/arch/sparc/stand/boot/boot.c
177
return (errno ? errno : ENOENT);
sys/arch/sparc/stand/common/net.c
113
return (errno);
sys/arch/sparc/stand/common/net.c
119
return (errno);
sys/arch/sparc/stand/common/net.c
125
return (errno);
sys/arch/sparc/stand/common/net.c
181
return (errno);
sys/arch/sparc/stand/common/net.c
82
error = errno;
sys/arch/sparc/stand/common/netif_sun.c
112
errno = EBADF;
sys/arch/sparc/stand/common/netif_sun.c
82
errno = ENFILE;
sys/arch/sparc/stand/ofwboot/net.c
142
return (errno);
sys/arch/sparc/stand/ofwboot/net.c
145
return (errno);
sys/arch/sparc/stand/ofwboot/net.c
148
return (errno);
sys/arch/sparc/stand/ofwboot/net.c
234
return (errno);
sys/arch/sparc/stand/ofwboot/net.c
94
error = errno;
sys/arch/sparc/stand/ofwboot/netif_of.c
117
errno = EBADF;
sys/arch/sparc/stand/ofwboot/netif_of.c
86
errno = ENFILE;
sys/arch/sparc64/include/loadfile_machdep.h
44
if (errno) \
sys/arch/sparc64/include/loadfile_machdep.h
46
strerror(errno)); \
sys/arch/sun3/dev/xd.c
1174
rq->tries = rq->errno = rq->lasterror = 0;
sys/arch/sun3/dev/xd.c
1193
iopb->errno = iopb->status = 0;
sys/arch/sun3/dev/xd.c
1493
return iorq->errno;
sys/arch/sun3/dev/xd.c
1525
return iorq->errno;
sys/arch/sun3/dev/xd.c
1596
retval = xdcsc->reqs[iorqno].errno;
sys/arch/sun3/dev/xd.c
1600
xdcsc->reqs[iorqno].errno, xdc_e2str(xdcsc->reqs[iorqno].errno));
sys/arch/sun3/dev/xd.c
1635
xdc_e2str(xdcsc->iopbase->errno));
sys/arch/sun3/dev/xd.c
1686
iorq->errno = error;
sys/arch/sun3/dev/xd.c
1764
int errno, rqno, comm, errs;
sys/arch/sun3/dev/xd.c
1776
errno = xdc->xdc_f_err;
sys/arch/sun3/dev/xd.c
1778
device_xname(xdcsc->sc_dev), errno, xdc_e2str(errno));
sys/arch/sun3/dev/xd.c
1779
if (xdc_reset(xdcsc, 0, XD_RSET_ALL, errno, 0) != XD_ERR_AOK) {
sys/arch/sun3/dev/xd.c
1831
iorq->errno = iopb->errno;
sys/arch/sun3/dev/xd.c
1833
iorq->errno = 0;
sys/arch/sun3/dev/xd.c
1867
iorq->lasterror = iorq->errno = iopb->errno = 0;
sys/arch/sun3/dev/xd.c
1944
printf(" [still trying, new error=%s]", xdc_e2str(iorq->errno));
sys/arch/sun3/dev/xd.c
1946
if (iorq->errno == 0)
sys/arch/sun3/dev/xd.c
196
(ER) = (SC)->reqs[RQ].errno; \
sys/arch/sun3/dev/xd.c
1961
int errno = iorq->errno;
sys/arch/sun3/dev/xd.c
1962
int erract = errno & XD_ERA_MASK;
sys/arch/sun3/dev/xd.c
1970
xdc_reset(xdcsc, 1, XD_RSET_NONE, errno, iorq->xd);
sys/arch/sun3/dev/xd.c
1987
iopb->errno = iopb->done = iopb->errs = 0;
sys/arch/sun3/dev/xd.c
2008
iorq->lasterror = errno;
sys/arch/sun3/dev/xd.c
2013
iorq->errno = iopb->errno = iopb->done = iopb->errs = 0;
sys/arch/sun3/dev/xd.c
2069
xdcsc->iopbase[lcv].errno,
sys/arch/sun3/dev/xd.c
2091
xdcsc->iopbase[lcv].errno);
sys/arch/sun3/dev/xd.c
2231
xio->errno = xdcsc->reqs[rqno].errno;
sys/arch/sun3/dev/xd.c
487
if (xdc->reqs[rqno].errno)
sys/arch/sun3/dev/xd.c
489
xdc_e2str(xdc->reqs[rqno].errno));
sys/arch/sun3/dev/xdreg.h
138
volatile u_char errno; /* status byte 1 (non-zero if error) */
sys/arch/sun3/dev/xdvar.h
50
int errno; /* error number if we fail */
sys/arch/sun3/dev/xio.h
47
u_char errno; /* out: error number */
sys/arch/sun3/dev/xy.c
1117
rq->tries = rq->errno = rq->lasterror = 0;
sys/arch/sun3/dev/xy.c
1138
iopb->errno = 0;
sys/arch/sun3/dev/xy.c
128
(ER) = (SC)->ciorq->errno; \
sys/arch/sun3/dev/xy.c
1365
return (iorq->errno);
sys/arch/sun3/dev/xy.c
1398
return iorq->errno;
sys/arch/sun3/dev/xy.c
1522
retval = iorq->errno;
sys/arch/sun3/dev/xy.c
1526
iorq->errno, xyc_e2str(iorq->errno));
sys/arch/sun3/dev/xy.c
1565
xyc_e2str(xycsc->ciopb->errno));
sys/arch/sun3/dev/xy.c
1614
iorq->errno = error;
sys/arch/sun3/dev/xy.c
1684
int errno, rq, comm, errs;
sys/arch/sun3/dev/xy.c
1697
errno = XY_ERR_DERR;
sys/arch/sun3/dev/xy.c
1699
if (xyc_reset(xycsc, 0, XY_RSET_ALL, errno, 0) != XY_ERR_AOK) {
sys/arch/sun3/dev/xy.c
1731
iorq->errno = iopb->errno;
sys/arch/sun3/dev/xy.c
1733
iorq->errno = 0;
sys/arch/sun3/dev/xy.c
1767
iorq->lasterror = iorq->errno = iopb->errno = 0;
sys/arch/sun3/dev/xy.c
1842
printf(" [still trying, new error=%s]", xyc_e2str(iorq->errno));
sys/arch/sun3/dev/xy.c
1844
if (iorq->errno == 0)
sys/arch/sun3/dev/xy.c
1858
int errno = iorq->errno;
sys/arch/sun3/dev/xy.c
1859
int erract = xyc_entoact(errno);
sys/arch/sun3/dev/xy.c
1866
xyc_reset(xycsc, 1, XY_RSET_NONE, errno, iorq->xy);
sys/arch/sun3/dev/xy.c
1882
iopb->errno = iopb->done = iopb->errs = 0;
sys/arch/sun3/dev/xy.c
1902
iorq->lasterror = errno;
sys/arch/sun3/dev/xy.c
1907
iorq->errno = iopb->errno = iopb->done = iopb->errs = 0;
sys/arch/sun3/dev/xy.c
2009
xio->errno = xycsc->ciorq->errno;
sys/arch/sun3/dev/xy.c
2092
xyc_entoact(int errno)
sys/arch/sun3/dev/xy.c
2095
switch (errno) {
sys/arch/sun3/dev/xyreg.h
127
volatile u_char errno; /* error or completion code */
sys/arch/sun3/dev/xyvar.h
50
int errno; /* error number if we fail */
sys/arch/sun68k/include/loadfile_machdep.h
51
if (errno) \
sys/arch/sun68k/include/loadfile_machdep.h
53
strerror(errno)); \
sys/arch/sun68k/stand/libsa/netif_sun.c
224
errno = EMFILE;
sys/arch/sun68k/stand/libsa/netif_sun.c
232
errno = error;
sys/arch/sun68k/stand/libsa/netif_sun.c
245
errno = EBADF;
sys/arch/sun68k/stand/libsa/netif_sun.c
263
errno = EBADF;
sys/arch/sun68k/stand/tapeboot/boot.c
114
printf("tapeboot: segment %s: %s\n", file, strerror(errno));
sys/arch/usermode/usermode/thunk.c
1001
serrno = errno;
sys/arch/usermode/usermode/thunk.c
1008
serrno = errno;
sys/arch/usermode/usermode/thunk.c
1011
return errno;
sys/arch/usermode/usermode/thunk.c
1100
if (errno == EAGAIN || errno == EINTR)
sys/arch/usermode/usermode/thunk.c
1122
if (errno == EAGAIN || errno == EINTR)
sys/arch/usermode/usermode/thunk.c
1172
return errno;
sys/arch/usermode/usermode/thunk.c
1178
return errno;
sys/arch/usermode/usermode/thunk.c
1185
return errno;
sys/arch/usermode/usermode/thunk.c
1190
return errno;
sys/arch/usermode/usermode/thunk.c
1195
return errno;
sys/arch/usermode/usermode/thunk.c
128
errno = 0;
sys/arch/usermode/usermode/thunk.c
130
if (error == -1 && errno == EACCES) {
sys/arch/usermode/usermode/thunk.c
1310
fprintf(stdout, "rfb: client disconnected: %s\n", strerror(errno));
sys/arch/usermode/usermode/thunk.c
1378
strerror(errno));
sys/arch/usermode/usermode/thunk.c
371
return errno;
sys/arch/usermode/usermode/thunk.c
377
errno = nerrno;
sys/arch/usermode/usermode/thunk.c
934
printf("AUDIO_SETINFO failed: %s\n", strerror(errno));
sys/arch/usermode/usermode/thunk.c
991
serrno = errno;
sys/arch/vax/boot/boot/boot.c
136
errno = 0;
sys/arch/vax/boot/boot/boot.c
152
filelist[fileindex].name, strerror(errno));
sys/arch/vax/boot/boot/boot.c
242
printf("Boot failed: %s\n", strerror(errno));
sys/arch/vax/boot/boot/netio.c
145
return (errno);
sys/arch/vax/boot/boot/netio.c
151
return (errno);
sys/arch/vax/boot/boot/netio.c
157
return (errno);
sys/arch/vax/include/loadfile_machdep.h
48
if (errno) \
sys/arch/vax/include/loadfile_machdep.h
50
strerror(errno)); \
sys/arch/x68k/include/loadfile_machdep.h
53
if (errno) \
sys/arch/x68k/include/loadfile_machdep.h
55
strerror(errno)); \
sys/arch/x86/include/loadfile_machdep.h
47
if (errno) \
sys/arch/x86/include/loadfile_machdep.h
49
strerror(errno)); \
sys/arch/zaurus/include/loadfile_machdep.h
44
if (errno) \
sys/arch/zaurus/include/loadfile_machdep.h
46
strerror(errno)); \
sys/arch/zaurus/stand/zboot/boot.c
263
strerror(errno));
sys/arch/zaurus/stand/zboot/diskprobe.c
384
if ((fd = uopen(path, LINUX_O_RDONLY)) == -1 && errno == ENXIO) {
sys/arch/zaurus/stand/zboot/diskprobe.c
400
errno = EIO;
sys/arch/zaurus/stand/zboot/diskprobe.c
412
errno = ERDLAB;
sys/arch/zaurus/stand/zboot/loadfile_zboot.c
128
printf("%s: can't open (errno %d)\n", _PATH_ZBOOT, errno);
sys/arch/zaurus/stand/zboot/loadfile_zboot.c
143
printf("%s: can't open (errno %d)\n", _PATH_ZBOOT, errno);
sys/arch/zaurus/stand/zboot/loadfile_zboot.c
58
errno = error;
sys/arch/zaurus/stand/zboot/loadfile_zboot.c
82
errno = EFTYPE;
sys/arch/zaurus/stand/zboot/loadfile_zboot.c
91
errno = EFTYPE;
sys/arch/zaurus/stand/zboot/loadfile_zboot.c
97
return errno;
sys/arch/zaurus/stand/zboot/pathfs.c
54
return errno;
sys/arch/zaurus/stand/zboot/pathfs.c
93
return errno;
sys/arch/zaurus/stand/zboot/termios.c
102
errno = EINVAL;
sys/arch/zaurus/stand/zboot/unixdev.c
119
return errno;
sys/arch/zaurus/stand/zboot/unixdev.c
160
return errno;
sys/arch/zaurus/stand/zboot/unixdev.c
203
errno != LINUX_EOVERFLOW)
sys/arch/zaurus/stand/zboot/unixdev.c
207
if (r == -1 && errno == LINUX_EOVERFLOW)
sys/arch/zaurus/stand/zboot/unixdev.c
64
rc = errno;
sys/arch/zaurus/stand/zboot/unixdev.h
53
extern int errno;
sys/dev/ata/wd.c
1352
int errno = xfer->c_bio.r_error;
sys/dev/ata/wd.c
1361
if (errno == 0)
sys/dev/ata/wd.c
1365
if (errno & (1 << i)) {
sys/dev/ic/aic79xx.c
78
uint8_t errno;
sys/dev/ic/aic79xx.c
856
if ((error & ahd_hard_errors[i].errno) != 0)
sys/dev/ic/aic7xxx.c
85
uint8_t errno;
sys/dev/ic/isp_target.c
1172
isp_acknak_abts(ispsoftc_t *isp, void *arg, int errno)
sys/dev/ic/isp_target.c
1218
if (errno == 0) {
sys/dev/ic/isp_target.c
1230
switch (errno) {
sys/dev/ic/sti.c
1002
return a.out.errno;
sys/dev/ic/sti.c
1019
return out->errno;
sys/dev/ic/sti.c
1061
if (a.out.errno)
sys/dev/ic/sti.c
1064
device_xname(rom->rom_softc->sc_dev), a.out.errno);
sys/dev/ic/sti.c
1086
return a.out.errno;
sys/dev/ic/sti.c
934
if (a.out.errno) {
sys/dev/ic/sti.c
936
"returned %d\n", uc, a.out.errno);
sys/dev/ic/stireg.h
297
int32_t errno;
sys/dev/ic/stireg.h
318
int32_t errno;
sys/dev/ic/stireg.h
341
uint32_t errno;
sys/dev/ic/stireg.h
366
uint32_t errno;
sys/dev/ic/stireg.h
384
uint32_t errno;
sys/dev/ic/stireg.h
445
uint32_t errno;
sys/dev/ic/stireg.h
472
uint32_t errno;
sys/dev/ic/stireg.h
513
uint32_t errno;
sys/dev/ic/stireg.h
540
uint32_t errno;
sys/dev/ic/stireg.h
572
uint32_t errno;
sys/dev/ic/stireg.h
594
uint32_t errno;
sys/dev/ic/stireg.h
618
int32_t errno;
sys/dev/ic/stireg.h
637
int32_t errno;
sys/dev/kttcp.c
224
#define snderr(errno) { error = errno; goto release; }
sys/kern/uipc_usrreq.c
1382
unp_drop(struct unpcb *unp, int errno)
sys/kern/uipc_usrreq.c
1388
so->so_error = errno;
sys/lib/libsa/arp.c
201
errno = 0; /* XXX */
sys/lib/libsa/bootp.c
357
errno = 0;
sys/lib/libsa/bootparam.c
289
errno = EBADRPC;
sys/lib/libsa/close.c
77
errno = EBADF;
sys/lib/libsa/close.c
95
errno = err1;
sys/lib/libsa/close.c
99
errno = err2;
sys/lib/libsa/cread.c
157
errno = 0;
sys/lib/libsa/cread.c
161
if (errno)
sys/lib/libsa/cread.c
303
errno = EBADF;
sys/lib/libsa/cread.c
366
errno = 0;
sys/lib/libsa/cread.c
370
if (errno) {
sys/lib/libsa/cread.c
433
errno = EBADF;
sys/lib/libsa/cread.c
493
errno = EOFFSET;
sys/lib/libsa/cread.c
505
errno = EOFFSET;
sys/lib/libsa/cread.c
508
errno = EINVAL;
sys/lib/libsa/dev_net.c
120
printf("NFS mount error=%d\n", errno);
sys/lib/libsa/dosfs.c
186
if ((err = !(fs->buf = alloc(SECSIZ)) ? errno : 0) ||
sys/lib/libsa/errno.c
36
int errno;
sys/lib/libsa/fstat.c
43
errno = EBADF;
sys/lib/libsa/fstat.c
51
errno = EOPNOTSUPP;
sys/lib/libsa/fstat.c
56
errno = FS_STAT(f->f_ops)(f, sb); /* XXX no point setting errno */
sys/lib/libsa/ioctl.c
74
errno = EBADF;
sys/lib/libsa/ioctl.c
80
errno = DEV_IOCTL(f->f_dev)(f, cmd, arg);
sys/lib/libsa/ioctl.c
81
if (errno)
sys/lib/libsa/ioctl.c
86
errno = EIO;
sys/lib/libsa/loadfile.c
108
errno = error;
sys/lib/libsa/loadfile.c
150
errno = EFTYPE;
sys/lib/libsa/loadfile.c
186
errno = EFTYPE;
sys/lib/libsa/loadfile.c
196
return errno;
sys/lib/libsa/loadfile_aout.c
143
errno = EIO;
sys/lib/libsa/loadfile_aout.c
184
errno = EIO;
sys/lib/libsa/loadfile_aout.c
235
errno = EIO;
sys/lib/libsa/loadfile_aout.c
254
errno = EIO;
sys/lib/libsa/loadfile_aout.c
282
errno = EIO;
sys/lib/libsa/loadfile_ecoff.c
107
errno = EIO;
sys/lib/libsa/loadfile_ecoff.c
77
errno = EIO;
sys/lib/libsa/loadfile_elf32.c
295
errno = EIO;
sys/lib/libsa/loadfile_elf32.c
325
errno = EIO;
sys/lib/libsa/loadfile_elf32.c
362
errno = EINVAL;
sys/lib/libsa/loadfile_elf32.c
703
errno = EINVAL;
sys/lib/libsa/ls.c
126
printf("ls: %s\n", strerror(errno));
sys/lib/libsa/ls.c
130
printf("stat: %s\n", strerror(errno));
sys/lib/libsa/ls.c
143
errno = EBADF;
sys/lib/libsa/ls.c
151
errno = EOPNOTSUPP;
sys/lib/libsa/lseek.c
76
errno = EBADF;
sys/lib/libsa/lseek.c
95
errno = EOFFSET;
sys/lib/libsa/net.c
105
errno = ETIMEDOUT;
sys/lib/libsa/net.c
132
if (cc != -1 || errno != 0)
sys/lib/libsa/netif.c
267
errno = EBADF;
sys/lib/libsa/netif.c
285
errno = EMFILE;
sys/lib/libsa/netif.c
293
errno = ENXIO;
sys/lib/libsa/netif.c
299
errno = EINVAL;
sys/lib/libsa/netif.c
312
errno = EBADF;
sys/lib/libsa/nfs.c
157
n_long errno;
sys/lib/libsa/nfs.c
189
if (cc == -1 || cc < 4 || repl->errno) {
sys/lib/libsa/nfs.c
199
errno = EBADRPC;
sys/lib/libsa/nfs.c
202
if (repl->errno) {
sys/lib/libsa/nfs.c
203
errno = ntohl(repl->errno);
sys/lib/libsa/nfs.c
229
n_long errno;
sys/lib/libsa/nfs.c
234
n_long errno;
sys/lib/libsa/nfs.c
309
return errno; /* XXX - from rpc_call */
sys/lib/libsa/nfs.c
315
if (replv2->errno) {
sys/lib/libsa/nfs.c
317
return ntohl(replv2->errno);
sys/lib/libsa/nfs.c
328
if (replv3->errno) {
sys/lib/libsa/nfs.c
330
return ntohl(replv3->errno);
sys/lib/libsa/nfs.c
380
return errno;
sys/lib/libsa/nfs.c
385
if (rdata.d.errno)
sys/lib/libsa/nfs.c
386
return ntohl(rdata.d.errno);
sys/lib/libsa/nfs.c
417
n_long errno;
sys/lib/libsa/nfs.c
423
n_long errno;
sys/lib/libsa/nfs.c
432
n_long errno;
sys/lib/libsa/nfs.c
494
errno = ENOSYS;
sys/lib/libsa/nfs.c
503
errno = EBADRPC;
sys/lib/libsa/nfs.c
509
if (replv2->errno) {
sys/lib/libsa/nfs.c
510
errno = ntohl(replv2->errno);
sys/lib/libsa/nfs.c
517
if (replv3->errno) {
sys/lib/libsa/nfs.c
518
errno = ntohl(replv3->errno);
sys/lib/libsa/nfs.c
533
errno = ENOSYS;
sys/lib/libsa/nfs.c
540
errno = EBADRPC;
sys/lib/libsa/nfs.c
559
errno = EINVAL;
sys/lib/libsa/nfs.c
584
errno = ENOSYS;
sys/lib/libsa/nfs.c
622
return errno;
sys/lib/libsa/nfs.c
71
n_long errno;
sys/lib/libsa/nfs.c
827
strerror(errno));
sys/lib/libsa/nfs.c
829
return errno; /* XXX - from nfs_readdata */
sys/lib/libsa/open.c
155
errno = error;
sys/lib/libsa/open.c
91
errno = EMFILE;
sys/lib/libsa/rarp.c
187
errno = 0; /* XXX */
sys/lib/libsa/read.c
78
errno = EBADF;
sys/lib/libsa/read.c
87
errno = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ,
sys/lib/libsa/read.c
89
if (errno)
sys/lib/libsa/read.c
96
if ((errno = FS_READ(f->f_ops)(f, dest, bcount, &resid)))
sys/lib/libsa/rpc.c
197
errno = EBADRPC;
sys/lib/libsa/rpc.c
215
errno = EBADRPC;
sys/lib/libsa/rpc.c
221
errno = EBADRPC;
sys/lib/libsa/rpc.c
241
errno = 0;
sys/lib/libsa/rpc.c
274
errno = ntohl(reply->rp_u.rpu_errno);
sys/lib/libsa/rpc.c
275
printf("%s: reject, astat=%d, errno=%d\n", __func__, x, errno);
sys/lib/libsa/rpc.c
433
printf("%s: %s", __func__, strerror(errno));
sys/lib/libsa/rpc.c
434
errno = EBADRPC;
sys/lib/libsa/saerrno.h
36
extern int errno;
sys/lib/libsa/strerror.c
37
int errno;
sys/lib/libsa/strerror.c
67
if (mi->errno == err)
sys/lib/libsa/tftp.c
107
errno = 0;
sys/lib/libsa/tftp.c
135
errno = EIO;
sys/lib/libsa/tftp.c
140
errno = tftperrors[ntohs(t->th_code)];
sys/lib/libsa/tftp.c
184
return errno;
sys/lib/libsa/tftp.c
218
return errno;
sys/lib/libsa/tftp.c
456
errno = EOFFSET;
sys/lib/libsa/write.c
75
errno = EBADF;
sys/lib/libsa/write.c
84
errno = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_WRITE,
sys/lib/libsa/write.c
86
if (errno)
sys/lib/libsa/write.c
93
if ((errno = FS_WRITE(f->f_ops)(f, dest, bcount, &resid)))
sys/modules/examples/pollpal/cmd_pollpal.c
111
} while (ret == -1 && errno == EINTR);
sys/modules/examples/pollpal/cmd_pollpal.c
122
} while (ret == -1 && errno == EINTR);
sys/modules/examples/pollpal/cmd_pollpal.c
94
if (errno == EINTR)
sys/net/if_gre.c
509
#define snderr(errno) { error = errno; goto release; }
sys/net/zlib.c
83
extern int errno;
sys/netcan/can.c
818
can_notify(struct canpcb *canp, int errno)
sys/netcan/can.c
821
canp->canp_socket->so_error = errno;
sys/netcan/can.c
832
int errno;
sys/netcan/can.c
839
errno = inetctlerrmap[cmd];
sys/netcan/can.c
844
else if (errno == 0)
sys/netcan/can.c
849
ip->ip_src, uh->uh_sport, errno, notify);
sys/netcan/can.c
853
can_pcbnotifyall(&cbtable, satoscan(sa)->scan_addr, errno,
sys/netcan/can_pcb.c
293
int errno, void (*notify)(struct canpcb *, int))
sys/netcan/can_pcb.c
308
(*notify)(canp, errno);
sys/netcan/can_pcb.c
316
can_pcbnotifyall(struct canpcbtable *table, u_int32_t faddr, int errno,
sys/netcan/can_pcb.c
326
(*notify)(canp, errno);
sys/netinet/dccp_usrreq.c
916
dccp_notify(struct inpcb *inp, int errno)
sys/netinet/dccp_usrreq.c
918
inp->inp_socket->so_error = errno;
sys/netinet/in_pcb.c
770
struct in_addr laddr, u_int lport_arg, int errno,
sys/netinet/in_pcb.c
791
(*notify)(inp, errno);
sys/netinet/in_pcb.c
799
inpcb_notifyall(struct inpcbtable *table, struct in_addr faddr, int errno,
sys/netinet/in_pcb.c
811
(*notify)(inp, errno);
sys/netinet/in_pcb.c
937
inpcb_rtchange(struct inpcb *inp, int errno)
sys/netinet/raw_ip.c
238
struct in_addr faddr, struct in_addr laddr, int proto, int errno,
sys/netinet/raw_ip.c
252
(*notify)(inp, errno);
sys/netinet/raw_ip.c
265
int errno;
sys/netinet/raw_ip.c
272
errno = inetctlerrmap[cmd];
sys/netinet/raw_ip.c
277
else if (errno == 0)
sys/netinet/raw_ip.c
281
ip->ip_src, ip->ip_p, errno, notify);
sys/netinet/raw_ip.c
285
inpcb_notifyall(&rawcbtable, satocsin(sa)->sin_addr, errno,
sys/netinet/sctp_usrreq.c
344
int errno,
sys/netinet/sctp_usrreq.c
367
if ((errno == EHOSTUNREACH) || /* Host is not reachable */
sys/netinet/sctp_usrreq.c
368
(errno == EHOSTDOWN) || /* Host is down */
sys/netinet/sctp_usrreq.c
369
(errno == ECONNREFUSED) || /* Host refused the connection, (not an abort?) */
sys/netinet/sctp_usrreq.c
370
(errno == ENOPROTOOPT) /* SCTP is not present on host */
sys/netinet/sctp_usrreq.c
378
if ((errno == EHOSTUNREACH) || (errno == EHOSTDOWN)) {
sys/netinet/sctp_usrreq.c
406
inp->sctp_socket->so_error = errno;
sys/netinet/tcp_subr.c
1018
tcp_drop(struct tcpcb *tp, int errno)
sys/netinet/tcp_subr.c
1034
if (errno == ETIMEDOUT && tp->t_softerror)
sys/netinet/tcp_subr.c
1035
errno = tp->t_softerror;
sys/netinet/tcp_subr.c
1036
so->so_error = errno;
sys/netinet/tcp_subr.c
1387
int errno;
sys/netinet/tcp_subr.c
1402
errno = inetctlerrmap[cmd];
sys/netinet/tcp_subr.c
1485
else if (errno == 0)
sys/netinet/tcp_subr.c
1490
th->th_dport, ip->ip_src, th->th_sport, errno, notify);
sys/netinet/tcp_subr.c
1506
inpcb_notifyall(&tcbtable, satocsin(sa)->sin_addr, errno,
sys/netinet/tcp_subr.c
1550
tcp_mtudisc(struct inpcb *inp, int errno)
sys/netinet/tcp_subr.c
1565
inpcb_rtchange(inp, errno);
sys/netinet/tcp_subr.c
1610
tcp6_mtudisc(struct inpcb *inp, int errno)
sys/netinet/tcp_subr.c
1625
in6pcb_rtchange(inp, errno);
sys/netinet/udp_usrreq.c
645
udp_notify(struct inpcb *inp, int errno)
sys/netinet/udp_usrreq.c
647
inp->inp_socket->so_error = errno;
sys/netinet/udp_usrreq.c
658
int errno;
sys/netinet/udp_usrreq.c
666
errno = inetctlerrmap[cmd];
sys/netinet/udp_usrreq.c
672
} else if (errno == 0) {
sys/netinet/udp_usrreq.c
679
ip->ip_src, uh->uh_sport, errno, notify);
sys/netinet/udp_usrreq.c
682
inpcb_notifyall(&udbtable, satocsin(sa)->sin_addr, errno,
sys/netinet6/in6_pcb.c
610
int errno;
sys/netinet6/in6_pcb.c
644
errno = inet6ctlerrmap[cmd];
sys/netinet6/in6_pcb.c
741
(*notify)(inp, errno);
sys/netinet6/in6_pcb.c
820
in6pcb_rtchange(struct inpcb *inp, int errno)
sys/netinet6/udp6_usrreq.c
178
udp6_notify(struct inpcb *inp, int errno)
sys/netinet6/udp6_usrreq.c
180
inp->inp_socket->so_error = errno;
sys/nfs/nfs_boot.c
683
u_int32_t errno;
sys/nfs/nfs_boot.c
731
error = fxdr_unsigned(u_int32_t, rdata->errno);
sys/rump/dev/lib/libugenhc/ugenhc_user.c
53
rv = errno;
sys/rump/librump/rumpkern/rump_syscalls.c
39
#define rsys_seterrno(error) errno = error
sys/rump/net/lib/libshmif/shmif_user.c
124
rv = errno;
sys/rump/net/lib/libshmif/shmif_user.c
134
errno = E2BIG; /* pick something */
sys/rump/net/lib/libshmif/shmif_user.c
137
rv = errno;
sys/rump/net/lib/libshmif/shmif_user.c
144
rv = errno;
sys/rump/net/lib/libshmif/shmif_user.c
166
} while (nn == -1 && errno == EINTR);
sys/rump/net/lib/libshmif/shmif_user.c
168
rv = errno;
sys/rump/net/lib/libshmif/shmif_user.c
216
rv = errno;
sys/rump/net/lib/libshmif/shmif_user.c
226
rv = errno;
sys/rump/net/lib/libshmif/shmif_user.c
44
#define seterr(_v_) if ((_v_) == -1) *error = errno; else *error = 0;
sys/rump/net/lib/libshmif/shmif_user.c
68
rv = errno;
sys/rump/net/lib/libshmif/shmif_user.c
76
rv = errno;
sys/rump/net/lib/libshmif/shmif_user.c
96
} while (rv == -1 && errno == EINTR);
sys/rump/net/lib/libshmif/shmif_user.c
98
rv = errno;
sys/rump/net/lib/libsockin/sockin_user.c
52
#define seterror(_v_) if ((_v_) == -1) rv = errno; else rv = 0;
sys/rump/net/lib/libsockin/sockin_user.c
566
errno = EINVAL;
sys/rump/net/lib/libvirtif/virtif_user.c
149
viu->viu_devnum, errno);
sys/rump/net/lib/libvirtif/virtif_user.c
158
if (nn == -1 && errno == EAGAIN)
sys/rump/net/lib/libvirtif/virtif_user.c
201
rv = errno;
sys/rump/net/lib/libvirtif/virtif_user.c
208
rv = errno;
sys/rump/net/lib/libvirtif/virtif_user.c
214
rv = errno;
sys/rump/net/lib/libvirtif/virtif_user.c
88
"%s\n", tapdev, strerror(errno));
sys/rump/net/lib/libvirtif/virtif_user.c
98
"%s\n", "/dev/net/tun", strerror(errno));
sys/rump/net/lib/libwg/wg_user.c
151
wgu->wgu_tun_name, errno);
sys/rump/net/lib/libwg/wg_user.c
168
if (nn == -1 && errno == EAGAIN)
sys/rump/net/lib/libwg/wg_user.c
249
rv = errno;
sys/rump/net/lib/libwg/wg_user.c
262
rv = errno;
sys/rump/net/lib/libwg/wg_user.c
267
rv = errno;
sys/rump/net/lib/libwg/wg_user.c
274
rv = errno;
sys/rump/net/lib/libwg/wg_user.c
362
error = errno;
sys/rump/net/lib/libwg/wg_user.c
379
return errno;
sys/rump/net/lib/libwg/wg_user.c
385
return error == -1 ? errno : 0;
sys/rump/net/lib/libwg/wg_user.c
404
return errno;
sys/rump/net/lib/libwg/wg_user.c
413
return errno;
sys/rump/net/lib/libwg/wg_user.c
96
__func__, tun_name, strerror(errno));
sys/stand/copy.c
53
extern int errno;
sys/stand/copy.c
64
record, errno);
sys/stand/copy.c
83
record, errno);
sys/stand/efiboot/dev_net.c
81
printf("NFS mount error=%d\n", errno);
sys/stand/efiboot/exec.c
110
printf(": %s\n", strerror(errno));
sys/stand/efiboot/exec.c
185
printf("boot: %s: %s\n", fname, strerror(errno));
sys/stand/efiboot/exec.c
211
printf("boot: %s: %s\n", fname, strerror(errno));
sys/stand/efiboot/exec.c
67
strerror(errno));
sys/stand/efiboot/exec.c
69
return errno;
sys/stand/efiboot/exec.c
72
printf("boot: failed to fstat %s: %s\n", path, strerror(errno));
sys/stand/efiboot/exec.c
74
return errno;
sys/sys/timepps.h
240
errno = EINVAL;
tests/compat/linux/arch/x86_64/h_syscall.c
50
errno = -retval;
tests/compat/linux/h_linux.c
36
int errno = 0;
tests/compat/linux/h_linux.h
41
#define RS(x) do { if ((x) == -1) exit(errno); } while (0)
tests/compat/linux/h_linux.h
74
extern int errno;
tests/crypto/opencrypto/h_ioctl.c
236
if (errno != EINPROGRESS) {
tests/crypto/opencrypto/h_ioctl.c
274
} else if (errno == EINPROGRESS) {
tests/crypto/opencrypto/h_ioctl.c
326
if (errno != EINPROGRESS) {
tests/crypto/opencrypto/h_ioctl.c
77
errno = ETIMEDOUT;
tests/crypto/opencrypto/h_ioctl.c
82
errno = EIO;
tests/crypto/opencrypto/h_thread.c
111
if (errno != EBUSY)
tests/crypto/opencrypto/h_thread.c
214
if (errno != EINVAL)
tests/dev/audio/audiotest.c
1876
XP_EQ(-exptable[i].mode1, errno);
tests/dev/audio/audiotest.c
212
backup_errno = errno;
tests/dev/audio/audiotest.c
586
int backup_errno = errno; \
tests/dev/audio/audiotest.c
594
errno = backup_errno; \
tests/dev/audio/audiotest.c
600
int backup_errno = errno; \
tests/dev/audio/audiotest.c
608
errno = backup_errno; \
tests/dev/audio/audiotest.c
862
varname, exp, errno, strerror(errno));
tests/dev/audio/audiotest.c
882
varname, errno, strerror(errno));
tests/dev/audio/audiotest.c
897
} else if (experrno != errno) {
tests/dev/audio/audiotest.c
899
int acterrno = errno;
tests/dev/audio/audiotest.c
928
varname, errno, strerror(errno));
tests/dev/audio/audiotest.c
936
} else if (exp != errno) {
tests/dev/audio/audiotest.c
937
actual_errno = errno;
tests/dev/cgd/t_cgd_aes.c
3168
errno = EDOM; /* Something distinct. */
tests/dev/cgd/t_cgd_aes.c
3569
if (dkfd == -1 && errno == ENOSPC) {
tests/dev/cgd/t_cgd_aes.c
3572
ATF_CHECK_MSG(dkfd != -1, "open_disk: %s", strerror(errno));
tests/dev/md/h_mdserv.c
104
rump_daemonize_done(errno);
tests/dev/md/h_mdserv.c
41
if (errno == ENXIO) {
tests/fs/common/fstest_ffs.c
109
errno = res;
tests/fs/common/fstest_lfs.c
186
fprintf(stderr, "sys_mount errno=%d\n", errno);
tests/fs/common/fstest_lfs.c
198
fprintf(stderr, "LFCNAUTOCLEAN errno=%d\n", errno);
tests/fs/common/fstest_nfs.c
110
return errno;
tests/fs/common/fstest_nfs.c
122
return errno;
tests/fs/common/fstest_nfs.c
136
return errno;
tests/fs/common/fstest_nfs.c
153
return errno;
tests/fs/common/fstest_nfs.c
195
return errno;
tests/fs/common/fstest_nfs.c
209
return errno;
tests/fs/common/fstest_nfs.c
303
sverrno = errno;
tests/fs/common/fstest_nfs.c
312
return errno;
tests/fs/common/fstest_puffs.c
122
fprintf(stderr, "readshovel r1 %zd / %d\n", n, errno);
tests/fs/common/fstest_puffs.c
130
fprintf(stderr, "readshovel r2 %zd / %d\n", n, errno);
tests/fs/common/fstest_puffs.c
145
fprintf(stderr, "readshovel write %zd / %d\n", n, errno);
tests/fs/common/fstest_puffs.c
188
n, errno);
tests/fs/common/fstest_puffs.c
207
fprintf(stderr, "writeshovel wr %zd / %d\n", n, errno);
tests/fs/common/fstest_puffs.c
263
return errno;
tests/fs/common/fstest_puffs.c
270
return errno;
tests/fs/common/fstest_puffs.c
279
return errno;
tests/fs/common/fstest_puffs.c
282
return errno;
tests/fs/common/fstest_puffs.c
284
return errno;
tests/fs/common/fstest_puffs.c
365
if (mkdir("p2kffsfake", 0777) == -1 && errno != EEXIST)
tests/fs/common/fstest_puffs.c
366
return errno;
tests/fs/common/fstest_udf.c
113
errno = res;
tests/fs/common/fstest_zfs.c
120
errno = error;
tests/fs/common/fstest_zfs.c
63
errno = res;
tests/fs/common/fstest_zfs.c
78
errno = res;
tests/fs/common/fstest_zfs.c
84
errno = res;
tests/fs/common/snapshot.c
101
if (errno != ENOENT)
tests/fs/ffs/h_ffs_server.c
92
die("mount point create", errno);
tests/fs/ffs/h_ffs_server.c
97
die("mount ffs", errno);
tests/fs/ffs/h_quota2_tests.c
114
error = errno;
tests/fs/ffs/h_quota2_tests.c
134
error = errno;
tests/fs/ffs/h_quota2_tests.c
139
error = errno;
tests/fs/ffs/h_quota2_tests.c
153
error = errno;
tests/fs/ffs/h_quota2_tests.c
171
error = errno;
tests/fs/ffs/h_quota2_tests.c
176
error = errno;
tests/fs/ffs/h_quota2_tests.c
199
error = errno;
tests/fs/ffs/h_quota2_tests.c
442
die("mount ffs", errno);
tests/fs/ffs/h_quota2_tests.c
52
error = errno;
tests/fs/ffs/h_quota2_tests.c
57
error = errno;
tests/fs/ffs/h_quota2_tests.c
63
error = errno;
tests/fs/ffs/h_quota2_tests.c
68
error = errno;
tests/fs/ffs/h_quota2_tests.c
85
error = errno;
tests/fs/ffs/h_quota2_tests.c
90
error = errno;
tests/fs/ffs/h_quota2_tests.c
96
error = errno;
tests/fs/fifofs/t_fifo.c
141
if (errno == EINTR)
tests/fs/fifofs/t_fifo.c
162
if (errno == EINTR) {
tests/fs/fifofs/t_fifo.c
198
if (errno != EINTR) {
tests/fs/fifofs/t_fifo.c
47
if (errno == EINTR)
tests/fs/nfs/t_mountd.c
68
if (errno == EACCES) {
tests/fs/nfs/t_mountd.c
75
if (errno == EACCES) {
tests/fs/nullfs/t_basic.c
119
|| errno != ENOENT) {
tests/fs/nullfs/t_basic.c
123
|| errno != ENOENT) {
tests/fs/nullfs/t_basic.c
52
return errno;
tests/fs/psshfs/h_have_puffs.c
45
if (errno == ENXIO) {
tests/fs/psshfs/h_have_puffs.c
48
} else if (errno == EACCES) {
tests/fs/ptyfs/t_nullpts.c
30
if (errno != EEXIST)
tests/fs/ptyfs/t_nullpts.c
46
if (errno != EEXIST)
tests/fs/ptyfs/t_nullpts.c
50
if (errno != EEXIST)
tests/fs/ptyfs/t_nullpts.c
82
if (errno != EEXIST)
tests/fs/ptyfs/t_nullpts.c
86
if (errno != EEXIST)
tests/fs/ptyfs/t_ptyfs.c
28
if (errno != EEXIST)
tests/fs/puffs/h_dtfs/dtfs_vnops.c
290
return errno;
tests/fs/puffs/t_basic.c
100
ATF_REQUIRE(errno == ENOTDIR);
tests/fs/tmpfs/h_tools.c
95
if (errno != E2BIG) {
tests/fs/vfs/t_full.c
82
if (errno != ENOSPC)
tests/fs/vfs/t_link.c
93
if (errno != EOPNOTSUPP && allowed)
tests/fs/vfs/t_renamerace.c
100
ATF_CHECK_MSG(errno == ENOENT || errno == EEXIST,
tests/fs/vfs/t_renamerace.c
101
"mkdir: %s (errno=%d)\n", strerror(errno), errno);
tests/fs/vfs/t_renamerace.c
52
if (fd == -1 && errno != EEXIST)
tests/fs/vfs/t_renamerace.c
94
ATF_CHECK_MSG(errno == ENOENT || errno == EEXIST,
tests/fs/vfs/t_renamerace.c
95
"mkdir: %s (errno=%d)\n", strerror(errno), errno);
tests/fs/vfs/t_renamerace.c
97
ATF_CHECK_MSG(errno == ENOENT || errno == EEXIST,
tests/fs/vfs/t_renamerace.c
98
"mkdir: %s (errno=%d)\n", strerror(errno), errno);
tests/fs/vfs/t_rwtoro.c
84
if (errno == EOPNOTSUPP)
tests/fs/vfs/t_union.c
54
return errno;
tests/fs/vfs/t_union.c
83
if (errno == EOPNOTSUPP) {
tests/fs/vfs/t_unpriv.c
109
if (rump_sys_unlink(name) != -1 || errno != EACCES)
tests/fs/vfs/t_unpriv.c
145
if (rump_sys_utimes(name, NULL) != -1 || errno != EACCES)
tests/fs/vfs/t_unpriv.c
159
if (rump_sys_utimes(name, tmv) != -1 || errno != EPERM)
tests/fs/vfs/t_unpriv.c
191
if (errno == EOPNOTSUPP)
tests/fs/vfs/t_unpriv.c
202
if (rump_sys_chflags(name, fflags) != -1 || errno != EPERM)
tests/fs/vfs/t_unpriv.c
58
if (rump_sys_chown(".", 1, -1) != -1 || errno != EPERM)
tests/fs/vfs/t_unpriv.c
60
if (rump_sys_chmod(".", 0000) != -1 || errno != EPERM)
tests/fs/vfs/t_unpriv.c
97
if (rump_sys_open(name, O_RDWR|O_CREAT, 0666) != -1 || errno != EACCES)
tests/fs/vfs/t_vfsops.c
100
} else if (errno != E2BIG) {
tests/fs/vfs/t_vfsops.c
138
if (errno == EOPNOTSUPP) {
tests/fs/vfs/t_vfsops.c
140
} else if (errno != E2BIG) {
tests/fs/vfs/t_vfsops.c
174
if (errno == EOPNOTSUPP) {
tests/fs/vfs/t_vfsops.c
176
} else if (errno != E2BIG) {
tests/fs/vfs/t_vfsops.c
98
if (errno == EOPNOTSUPP) {
tests/fs/vfs/t_vnops.c
1031
ATF_CHECK(size != -1 || errno == EISDIR);
tests/fs/vfs/t_vnops.c
1033
ATF_CHECK(size != -1 || errno == EISDIR);
tests/fs/vfs/t_vnops.c
173
if (rump_sys_stat(pb, &sb) != -1 || errno != ENOENT)
tests/fs/vfs/t_vnops.c
194
if (rump_sys_stat(with_slash, &sb) != -1 || errno != ENOENT)
tests/fs/vfs/t_vnops.c
236
if (rv != -1 || errno != ENOTEMPTY)
tests/fs/vfs/t_vnops.c
329
if (rump_sys_rename(pb1, pb3) != -1 || errno != EINVAL)
tests/fs/vfs/t_vnops.c
331
if (rump_sys_rename(pb3, pb1) != -1 || errno != EISDIR)
tests/fs/vfs/t_vnops.c
339
if (rump_sys_rename(pb2, pb1) != -1 || errno != EINVAL)
tests/fs/vfs/t_vnops.c
344
if (rump_sys_rename(pb2, pb1) != -1 || errno != EINVAL)
tests/fs/vfs/t_vnops.c
350
if (rump_sys_rename(pb2, pb3) != -1 || errno != ENOTEMPTY)
tests/fs/vfs/t_vnops.c
406
if (rump_sys_rename("dir1", "dir1/..") != -1 || errno != EINVAL)
tests/fs/vfs/t_vnops.c
409
if (rump_sys_rename("dir1/..", "sometarget") != -1 || errno != EINVAL)
tests/fs/vfs/t_vnops.c
412
if (rump_sys_rename("dir1", "dir2/..") != -1 || errno != EINVAL)
tests/fs/vfs/t_vnops.c
464
if (rump_sys_stat("file1", &sb) != -1 || errno != ENOENT)
tests/fs/vfs/t_vnops.c
475
if (rump_sys_stat("file3", &sb) != -1 || errno != ENOENT)
tests/fs/vfs/t_vnops.c
481
if (rump_sys_stat("file2", &sb) != -1 || errno != ENOENT)
tests/fs/vfs/t_vnops.c
595
if (val != 0 && (fd != -1 || errno != ENAMETOOLONG))
tests/fs/vfs/t_vnops.c
665
if (val != 0 && (res != -1 || errno != ENAMETOOLONG))
tests/h_macros.h
42
ATF_REQUIRE_MSG((x) != (v), "%s: %s", #x, strerror(errno))
tests/h_macros.h
45
ATF_CHECK_MSG((x) != (v), "%s: %s", #x, strerror(errno))
tests/h_macros.h
49
ATF_CHECK_MSG((x) != -1, "%s [" fmt "]: %s", #x, arg, strerror(errno))
tests/h_macros.h
61
int sverrno = errno;
tests/include/sys/t_socket.c
67
if (errno != EBADF)
tests/include/sys/t_socket.c
69
"got %d\n(%s)", errno, strerror(errno));
tests/include/t_paths.c
140
errno = 0;
tests/include/t_paths.c
143
switch (errno) {
tests/include/t_paths.c
159
errno, strerror(errno));
tests/include/t_paths.c
175
paths[i].path, errno, strerror(errno));
tests/kernel/arch/aarch64/execregs.c
222
errno = error;
tests/kernel/arch/hppa/execregs.c
383
errno = error;
tests/kernel/arch/i386/execregs.c
128
errno = error;
tests/kernel/arch/vax/execregs.c
162
errno = error;
tests/kernel/arch/x86_64/execregs.c
152
errno = error;
tests/kernel/h_cloexec.c
45
if (errno != EBADF)
tests/kernel/kqueue/read/t_fifo.c
55
errno = 0;
tests/kernel/kqueue/read/t_fifo.c
61
if (errno == EOPNOTSUPP) {
tests/kernel/kqueue/t_empty.c
112
error = errno;
tests/kernel/kqueue/t_empty.c
92
error = errno;
tests/kernel/kqueue/write/t_fifo.c
111
ATF_REQUIRE(errno == EAGAIN);
tests/kernel/kqueue/write/t_fifo.c
55
errno = 0;
tests/kernel/kqueue/write/t_fifo.c
61
if (errno == EOPNOTSUPP) {
tests/kernel/kqueue/write/t_pipe.c
69
ATF_REQUIRE_EQ_MSG(errno, EBADF, "got: %s", strerror(errno));
tests/kernel/t_cloexec.c
214
ATF_CHECK_EQ_MSG(errno, EINPROGRESS, "connect failed %d: %s",
tests/kernel/t_cloexec.c
215
errno, strerror(errno));
tests/kernel/t_cloexec.c
81
ATF_CHECK_EQ_MSG(errno, EINPROGRESS, "connect failed %d: %s",
tests/kernel/t_cloexec.c
82
errno, strerror(errno));
tests/kernel/t_clofork.c
204
ATF_CHECK_EQ_MSG(errno, EINPROGRESS, "connect failed %d: %s",
tests/kernel/t_clofork.c
205
errno, strerror(errno));
tests/kernel/t_clofork.c
82
ATF_CHECK_EQ_MSG(errno, EINPROGRESS, "connect failed %d: %s",
tests/kernel/t_clofork.c
83
errno, strerror(errno));
tests/kernel/t_extent.c
76
FAIL("%s", strerror(errno));
tests/kernel/t_fcntl.c
112
strerror(errno));
tests/kernel/t_fcntl.c
117
memfd_names[i].bare, strerror(errno));
tests/kernel/t_fcntl.c
71
ATF_REQUIRE_MSG(errno == files[i].rv,
tests/kernel/t_fcntl.c
72
"Unexpected error %d != %d for `%s'", errno,
tests/kernel/t_fcntl.c
77
strerror(errno));
tests/kernel/t_fdrestart.c
134
error = errno;
tests/kernel/t_fdrestart.c
144
error = errno;
tests/kernel/t_fdrestart.c
172
"errno=%d (%s)", errno, strerror(errno));
tests/kernel/t_fdrestart.c
88
error = errno;
tests/kernel/t_fdrestart.c
98
error = errno;
tests/kernel/t_kauth_pr_47598.c
123
ATF_REQUIRE_MSG(s != -1, "socket: %d", errno);
tests/kernel/t_kauth_pr_47598.c
129
"bind: %d", errno);
tests/kernel/t_kauth_pr_47598.c
130
ATF_REQUIRE_MSG(listen(s, 16) == 0, "listen: %d", errno);
tests/kernel/t_kauth_pr_47598.c
137
"getsockname: %d", errno);
tests/kernel/t_kauth_pr_47598.c
139
ATF_REQUIRE_MSG(s2 != -1, "socket: %d", errno);
tests/kernel/t_kauth_pr_47598.c
142
ATF_REQUIRE_MSG(err == -1 && errno == EINPROGRESS,
tests/kernel/t_kauth_pr_47598.c
143
"connect returned %d with errno %d", err, errno);
tests/kernel/t_ksem.c
60
ATF_REQUIRE(_ksem_close(ksem) == -1 && errno == EINVAL);
tests/kernel/t_ksem.c
77
ATF_REQUIRE(_ksem_close(ksem) == -1 && errno == EINVAL);
tests/kernel/t_ksem.c
94
ATF_REQUIRE(_ksem_destroy(ksem) == -1 && errno == EINVAL);
tests/kernel/t_lockf.c
131
ATF_REQUIRE_MSG(fd >= 0, "open(%s): %s", lockfile, strerror(errno));
tests/kernel/t_lockf.c
134
"ftruncate(%s): %s", lockfile, strerror(errno));
tests/kernel/t_lockf.c
136
ATF_REQUIRE_MSG(pipe(pipe_fd) == 0, "pipe: %s", strerror(errno));
tests/kernel/t_lockf.c
160
"parent: read_pipe(%i): %s", i, strerror(errno));
tests/kernel/t_lockf.c
198
return errno;
tests/kernel/t_lockf.c
203
return errno;
tests/kernel/t_lockf.c
226
ATF_REQUIRE_MSG(fd >= 0, "open(%s): %s", lockfile, strerror(errno));
tests/kernel/t_lockf.c
229
"ftruncate(%s): %s", lockfile, strerror(errno));
tests/kernel/t_lockf.c
234
ATF_REQUIRE_MSG(error == 0, "initial dolock: %s", strerror(errno));
tests/kernel/t_lockf.c
237
ATF_REQUIRE_MSG(pid != -1, "fork failed: %s", strerror(errno));
tests/kernel/t_lockf.c
241
strerror(errno));
tests/kernel/t_lockf.c
249
strerror(errno));
tests/kernel/t_lockf.c
251
ATF_REQUIRE_MSG(ret != -1, "failed to kill child: %s", strerror(errno));
tests/kernel/t_lua.c
211
if (errno != EACCES) {
tests/kernel/t_memfd_create.c
207
strerror(errno));
tests/kernel/t_memfd_create.c
269
ATF_REQUIRE_MSG(errno != EPERM,
tests/kernel/t_memfd_create.c
271
ATF_REQUIRE_MSG(errno == EPERM,
tests/kernel/t_memfd_create.c
273
strerror(errno));
tests/kernel/t_memfd_create.c
281
ATF_REQUIRE_MSG(errno != EPERM,
tests/kernel/t_memfd_create.c
283
ATF_REQUIRE_MSG(errno == EPERM,
tests/kernel/t_memfd_create.c
285
strerror(errno));
tests/kernel/t_memfd_create.c
294
strerror(errno));
tests/kernel/t_memfd_create.c
300
ATF_REQUIRE_MSG(errno != EPERM,
tests/kernel/t_memfd_create.c
302
ATF_REQUIRE_MSG(errno == EPERM,
tests/kernel/t_memfd_create.c
304
strerror(errno));
tests/kernel/t_memfd_create.c
311
ATF_REQUIRE_MSG(errno != EPERM,
tests/kernel/t_memfd_create.c
313
ATF_REQUIRE_MSG(errno == EPERM,
tests/kernel/t_memfd_create.c
315
strerror(errno));
tests/kernel/t_memfd_create.c
413
strerror(errno));
tests/kernel/t_memfd_create.c
465
strerror(errno));
tests/kernel/t_mqueue.c
119
ATF_REQUIRE_MSG(mqfd != (mqd_t)-1, "mq_open(%s, ...) failed: %d", mq_name, errno);
tests/kernel/t_mqueue.c
125
ATF_REQUIRE_MSG(status == 0, "mq_close failed: %d", errno);
tests/kernel/t_mqueue.c
31
"mq_send 1 failed: %d", errno);
tests/kernel/t_mqueue.c
35
"mq_send 2 failed: %d", errno);
tests/kernel/t_mqueue.c
39
"mq_send 3 failed: %d", errno);
tests/kernel/t_mqueue.c
43
"mq_send 4 failed: %d", errno);
tests/kernel/t_mqueue.c
47
"mq_send 5 failed: %d", errno);
tests/kernel/t_mqueue.c
51
"mq_send 6 failed: %d", errno);
tests/kernel/t_mqueue.c
63
errno);
tests/kernel/t_mqueue.c
70
"mq_receive 1 failed: %d", errno);
tests/kernel/t_mqueue.c
75
"mq_receive 2 failed: %d", errno);
tests/kernel/t_mqueue.c
80
"mq_receive 3 failed: %d", errno);
tests/kernel/t_mqueue.c
85
"mq_receive 4 failed: %d", errno);
tests/kernel/t_mqueue.c
90
"mq_receive 5 failed: %d", errno);
tests/kernel/t_mqueue.c
95
"mq_receive 6 failed: %d", errno);
tests/kernel/t_proccwd.c
135
errno = 0;
tests/kernel/t_proccwd.c
138
ASSERT(errno == ENOENT);
tests/kernel/t_pty.c
230
if (errno == EAGAIN)
tests/kernel/t_semtimedop.c
118
ATF_REQUIRE_MSG(semid != -1, "semget failed: %s", strerror(errno));
tests/kernel/t_semtimedop.c
123
ATF_REQUIRE_MSG(0, "semctl SETVAL failed: %s", strerror(errno));
tests/kernel/t_semtimedop.c
127
ATF_REQUIRE_MSG(pid != -1, "fork failed: %s", strerror(errno));
tests/kernel/t_semtimedop.c
142
if (errno == EAGAIN || errno == EINTR) {
tests/kernel/t_semtimedop.c
156
"semctl IPC_RMID failed: %s", strerror(errno));
tests/kernel/t_semtimedop.c
179
ATF_REQUIRE_MSG(semid != -1, "semget failed: %s", strerror(errno));
tests/kernel/t_semtimedop.c
184
ATF_REQUIRE_MSG(0, "semctl SETVAL failed: %s", strerror(errno));
tests/kernel/t_semtimedop.c
188
ATF_REQUIRE_MSG(pid != -1, "fork failed: %s", strerror(errno));
tests/kernel/t_semtimedop.c
217
"semctl IPC_RMID failed: %s", strerror(errno));
tests/kernel/t_semtimedop.c
244
&& errno == EINVAL, "semtimedop did not fail on invalid semid");
tests/kernel/t_semtimedop.c
249
ATF_REQUIRE_MSG(semid != -1, "semget failed: %s", strerror(errno));
tests/kernel/t_semtimedop.c
254
ATF_REQUIRE_MSG(0, "semctl SETVAL failed: %s", strerror(errno));
tests/kernel/t_semtimedop.c
264
&& errno == EFBIG, "semtimedop did not fail on invalid sem_num");
tests/kernel/t_semtimedop.c
268
"semctl IPC_RMID failed: %s", strerror(errno));
tests/kernel/t_semtimedop.c
65
ATF_REQUIRE_MSG(semid != -1, "semget failed: %s", strerror(errno));
tests/kernel/t_semtimedop.c
71
strerror(errno));
tests/kernel/t_semtimedop.c
85
ATF_REQUIRE_MSG(0, "semtimedop failed: %s", strerror(errno));
tests/kernel/t_semtimedop.c
95
"semctl IPC_RMID failed: %s", strerror(errno));
tests/kernel/t_sysctl.c
60
ATF_REQUIRE_EQ(errno, ENOMEM);
tests/kernel/t_sysv.c
148
ATF_REQUIRE_MSG(tmpdir != NULL, "mkdtemp() failed: %d", errno);
tests/kernel/t_sysv.c
159
atf_tc_fail("open() of temp file failed: %d", errno);
tests/kernel/t_sysv.c
168
ATF_REQUIRE_MSG(unlink(token_key) != -1, "unlink() failed: %d", errno);
tests/kernel/t_sysv.c
169
ATF_REQUIRE_MSG(rmdir(token_dir) != -1, "rmdir() failed: %d", errno);
tests/kernel/t_sysv.c
201
"sigaction SIGSYS: %d", errno);
tests/kernel/t_sysv.c
207
ATF_REQUIRE_MSG(sender_msqid != -1, "msgget: %d", errno);
tests/kernel/t_sysv.c
216
"msgctl IPC_STAT 1: %d", errno);
tests/kernel/t_sysv.c
223
"msgctl IPC_SET: %d", errno);
tests/kernel/t_sysv.c
228
"msgctl IPC_STAT 2: %d", errno);
tests/kernel/t_sysv.c
239
atf_tc_fail("fork: %d", errno);
tests/kernel/t_sysv.c
257
0) != -1, "sender: msgsnd 1: %d", errno);
tests/kernel/t_sysv.c
261
"sender: msgrcv 1 ack: %d", errno);
tests/kernel/t_sysv.c
271
!= -1, "sender: msgsnd 2: %d", errno);
tests/kernel/t_sysv.c
275
"sender: msgrcv 2 ack: %d", errno);
tests/kernel/t_sysv.c
283
wait_result, wait_result == -1 ? strerror(errno) : "");
tests/kernel/t_sysv.c
290
"msgctl IPC_STAT: %d", errno);
tests/kernel/t_sysv.c
422
"sigaction SIGSYS: %d", errno);
tests/kernel/t_sysv.c
428
ATF_REQUIRE_MSG(sender_semid != -1, "semget: %d", errno);
tests/kernel/t_sysv.c
438
"semctl IPC_STAT: %d", errno);
tests/kernel/t_sysv.c
446
"semctl IPC_SET: %d", errno);
tests/kernel/t_sysv.c
452
"semctl IPC_STAT: %d", errno);
tests/kernel/t_sysv.c
464
atf_tc_fail("fork: %d", errno);
tests/kernel/t_sysv.c
494
"sender: semctl SETVAL to 1: %d", errno);
tests/kernel/t_sysv.c
502
strerror(errno));
tests/kernel/t_sysv.c
511
"semctl IPC_STAT: %d", errno);
tests/kernel/t_sysv.c
626
"sigaction SIGSYS: %d", errno);
tests/kernel/t_sysv.c
635
"shmget: %d", errno);
tests/kernel/t_sysv.c
639
"shmctl IPC_STAT: %d", errno);
tests/kernel/t_sysv.c
646
"shmctl IPC_SET: %d", errno);
tests/kernel/t_sysv.c
651
"shmctl IPC_STAT: %d", errno);
tests/kernel/t_sysv.c
659
ATF_REQUIRE_MSG(shm_buf != (void *) -1, "sender: shmat: %d", errno);
tests/kernel/t_sysv.c
670
atf_tc_fail("fork: %d", errno);
tests/kernel/t_sysv.c
686
wait_result, wait_result == -1 ? strerror(errno) : "");
tests/kernel/t_sysv.c
693
"shmctl IPC_STAT: %d", errno);
tests/kernel/t_time_arith.c
62
const int errno_save = errno;
tests/kernel/t_time_arith.c
68
errno = errno_save;
tests/kernel/t_zombie.c
151
errno = 0;
tests/kernel/t_zombie.c
153
ASSERT_NEQ(errno, ESRCH);
tests/kernel/t_zombie.c
179
errno = 0;
tests/kernel/t_zombie.c
182
ASSERT_NEQ(errno, ESRCH);
tests/lib/libc/c063/t_faccessat.c
167
ATF_REQUIRE(errno == ENOENT);
tests/lib/libc/c063/t_fchmodat.c
181
ATF_REQUIRE(errno == ENOENT);
tests/lib/libc/c063/t_fchownat.c
224
ATF_REQUIRE(errno == ENOENT);
tests/lib/libc/c063/t_fexecve.c
69
if (errno == ENOSYS)
tests/lib/libc/c063/t_fstatat.c
178
ATF_REQUIRE(errno == ENOENT);
tests/lib/libc/c063/t_o_search.c
187
ATF_REQUIRE(errno == EACCES);
tests/lib/libc/c063/t_o_search.c
270
ATF_REQUIRE(errno == ENOTDIR);
tests/lib/libc/c063/t_o_search.c
93
ATF_REQUIRE(errno == EACCES);
tests/lib/libc/c063/t_symlinkat.c
120
ATF_REQUIRE(errno == ENOENT);
tests/lib/libc/c063/t_unlinkat.c
161
ATF_REQUIRE(errno == EPERM);
tests/lib/libc/db/h_db.c
722
errno = E2BIG;
tests/lib/libc/db/t_db_hash_seq.c
108
if (errno == ENOENT && (flags & O_CREAT) == 0)
tests/lib/libc/db/t_db_hash_seq.c
203
errno = EEXIST;
tests/lib/libc/gen/execve/t_execve.c
58
ATF_REQUIRE_MSG(errno == EFAULT,
tests/lib/libc/gen/execve/t_execve.c
59
"wrong error returned %d instead of %d", errno, EFAULT);
tests/lib/libc/gen/execve/t_execve.c
93
if (write(fd[1], (char[]){0}, 1) == -1 && errno != EPIPE)
tests/lib/libc/gen/execve/t_execve.c
94
atf_tc_fail("write failed: %s", strerror(errno));
tests/lib/libc/gen/isqemu.h
71
if (errno == ENOENT)
tests/lib/libc/gen/isqemu.h
78
if (errno == ENOENT)
tests/lib/libc/gen/posix_spawn/h_fileactions.c
59
if (read(3, buf, BUFSIZE) != -1 || errno != EBADF) {
tests/lib/libc/gen/posix_spawn/h_fileactions.c
65
if (read(4, buf, BUFSIZE) != -1 || errno != EBADF) {
tests/lib/libc/gen/posix_spawn/h_spawnattr.c
85
getprogname(), parent_pipe, errno);
tests/lib/libc/gen/posix_spawn/t_spawn.c
544
if (write(fd[1], (char[]){0}, 1) == -1 && errno != EPIPE)
tests/lib/libc/gen/posix_spawn/t_spawn.c
545
atf_tc_fail("write failed: %s", strerror(errno));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
150
scheduler, child_scheduler, pid, errno);
tests/lib/libc/gen/t_arc4random.c
316
if (errno != ENOENT) {
tests/lib/libc/gen/t_arc4random.c
318
ENOENT, errno);
tests/lib/libc/gen/t_arc4random.c
364
if (errno != EMFILE) {
tests/lib/libc/gen/t_arc4random.c
366
EMFILE, errno);
tests/lib/libc/gen/t_closefrom.c
128
errno = 0;
tests/lib/libc/gen/t_dir.c
105
"third", strerror(errno));
tests/lib/libc/gen/t_dir.c
111
"first[1]", strerror(errno));
tests/lib/libc/gen/t_dir.c
120
"second[1]", strerror(errno));
tests/lib/libc/gen/t_dir.c
128
"third[1]", strerror(errno));
tests/lib/libc/gen/t_dir.c
62
strerror(errno)); \
tests/lib/libc/gen/t_dir.c
67
"mkdir failed: %s", strerror(errno));
tests/lib/libc/gen/t_dir.c
79
".", strerror(errno));
tests/lib/libc/gen/t_dir.c
83
"..", strerror(errno));
tests/lib/libc/gen/t_dir.c
88
"first", strerror(errno));
tests/lib/libc/gen/t_dir.c
91
ATF_REQUIRE_MSG(here != -1, "telldir failed: %s", strerror(errno));
tests/lib/libc/gen/t_dir.c
96
"second", strerror(errno));
tests/lib/libc/gen/t_getcwd.c
54
errno = 0;
tests/lib/libc/gen/t_getcwd.c
57
ATF_REQUIRE(errno == EINVAL);
tests/lib/libc/gen/t_getcwd.c
59
errno = 0;
tests/lib/libc/gen/t_getcwd.c
62
ATF_REQUIRE(errno == EFAULT);
tests/lib/libc/gen/t_getentropy.c
151
atf_tc_fail("mmap: %d (%s)", errno, strerror(errno));
tests/lib/libc/gen/t_getentropy.c
153
atf_tc_fail("mprotect: %d (%s)", errno, strerror(errno));
tests/lib/libc/gen/t_getentropy.c
157
atf_tc_fail("getentropy 1: %d (%s)", errno, strerror(errno));
tests/lib/libc/gen/t_getentropy.c
170
atf_tc_fail("getentropy 2: %d (%s)", errno, strerror(errno));
tests/lib/libc/gen/t_getentropy.c
174
atf_tc_fail("munmap: %d (%s)", errno, strerror(errno));
tests/lib/libc/gen/t_getentropy.c
57
atf_tc_fail("getentropy: %d (%s)", errno, strerror(errno));
tests/lib/libc/gen/t_getentropy.c
72
atf_tc_fail("getentropy: %d (%s)", errno, strerror(errno));
tests/lib/libc/gen/t_getentropy.c
89
atf_tc_fail("getentropy: %d (%s)", errno, strerror(errno));
tests/lib/libc/gen/t_glob.c
129
errno = ENOENT;
tests/lib/libc/gen/t_glob.c
182
errno = ENOENT;
tests/lib/libc/gen/t_nice.c
105
errno = 0;
tests/lib/libc/gen/t_nice.c
107
ATF_REQUIRE(errno == 0);
tests/lib/libc/gen/t_nice.c
121
errno = 0;
tests/lib/libc/gen/t_nice.c
123
ATF_REQUIRE(errno == 0);
tests/lib/libc/gen/t_nice.c
53
errno = 0;
tests/lib/libc/gen/t_nice.c
55
ATF_REQUIRE(errno == 0);
tests/lib/libc/gen/t_nice.c
82
errno = 0;
tests/lib/libc/gen/t_setdomainname.c
110
errno = 0;
tests/lib/libc/gen/t_sethostname.c
110
errno = 0;
tests/lib/libc/gen/t_sleep.c
101
ret = (errno == EINTR ? 0 : errno);
tests/lib/libc/gen/t_sleep.c
115
ret = (errno == EINTR ? 0 : errno);
tests/lib/libc/gen/t_sleep.c
129
ret = (errno == EINTR ? 0 : errno);
tests/lib/libc/gen/t_sleep.c
155
ATF_REQUIRE_MSG((kq = kqueue()) != -1, "kqueue: %s", strerror(errno));
tests/lib/libc/gen/t_sleep.c
174
kerrno = errno;
tests/lib/libc/gen/t_ttyname.c
57
errno = 0;
tests/lib/libc/gen/t_ttyname.c
60
ATF_REQUIRE(errno == EBADF);
tests/lib/libc/gen/t_ttyname.c
62
errno = 0;
tests/lib/libc/gen/t_ttyname.c
65
ATF_REQUIRE(errno == EBADF);
tests/lib/libc/gen/t_ttyname.c
72
errno = 0;
tests/lib/libc/gen/t_ttyname.c
75
ATF_REQUIRE(errno == ENOTTY);
tests/lib/libc/gen/t_ttyname.c
77
errno = 0;
tests/lib/libc/gen/t_ttyname.c
80
ATF_REQUIRE(errno == ENOTTY);
tests/lib/libc/locale/t_btowc.c
98
if (errno != 0)
tests/lib/libc/locale/t_btowc.c
99
printf(" btowc() failed with errno=%d\n", errno);
tests/lib/libc/locale/t_c16rtomb.c
104
ATF_CHECK_EQ_MSG(errno, EILSEQ, "errno=%d", errno);
tests/lib/libc/locale/t_c16rtomb.c
209
ATF_CHECK_EQ_MSG(errno, EILSEQ, "errno=%d", errno);
tests/lib/libc/locale/t_c16rtomb.c
255
ATF_CHECK_EQ_MSG(errno, EILSEQ, "errno=%d", errno);
tests/lib/libc/locale/t_c16rtomb.c
263
ATF_CHECK_EQ_MSG(errno, EILSEQ, "errno=%d", errno);
tests/lib/libc/locale/t_c16rtomb.c
55
locale_name, errno);
tests/lib/libc/locale/t_c8rtomb.c
135
ATF_CHECK_EQ_MSG(errno, EILSEQ, "errno=%d", errno);
tests/lib/libc/locale/t_c8rtomb.c
275
ATF_CHECK_EQ_MSG(errno, EILSEQ, "errno=%d", errno);
tests/lib/libc/locale/t_c8rtomb.c
327
ATF_CHECK_EQ_MSG(errno, EILSEQ, "errno=%d", errno);
tests/lib/libc/locale/t_c8rtomb.c
335
ATF_CHECK_EQ_MSG(errno, EILSEQ, "errno=%d", errno);
tests/lib/libc/locale/t_c8rtomb.c
398
int error = errno;
tests/lib/libc/locale/t_c8rtomb.c
448
int error = errno;
tests/lib/libc/locale/t_c8rtomb.c
77
locale_name, errno);
tests/lib/libc/locale/t_iconv.c
169
error = errno;
tests/lib/libc/locale/t_iconv.c
177
error = errno;
tests/lib/libc/locale/t_iconv.c
192
error = errno;
tests/lib/libc/locale/t_iconv.c
245
error = errno;
tests/lib/libc/locale/t_mbrtoc16.c
55
locale_name, errno);
tests/lib/libc/locale/t_mbrtoc8.c
55
locale_name, errno);
tests/lib/libc/locale/t_mbrtowc.c
222
ATF_REQUIRE_EQ(errno, EILSEQ);
tests/lib/libc/locale/t_mbstowcs.c
71
ATF_REQUIRE_MSG((x) != (v), "%s: %s", #x, strerror(errno))
tests/lib/libc/locale/t_mbtowc.c
127
(void)printf("errno: %s\n", strerror(errno));
tests/lib/libc/locale/t_mbtowc.c
128
ATF_REQUIRE_EQ(errno, EILSEQ);
tests/lib/libc/locale/t_mbtowc.c
143
errno = 0;
tests/lib/libc/locale/t_mbtowc.c
147
(void)printf("errno: %s\n", strerror(errno));
tests/lib/libc/locale/t_mbtowc.c
148
ATF_REQUIRE_EQ(errno, 0);
tests/lib/libc/locale/t_wcsrtombs.c
57
ATF_REQUIRE_EQ(errno, EILSEQ);
tests/lib/libc/locale/t_wcstod.c
438
errno = 0;
tests/lib/libc/locale/t_wcstod.c
441
(void)printf(" got : %s\n", strerror(errno));
tests/lib/libc/locale/t_wcstod.c
443
ATF_REQUIRE_EQ(errno, t->err);
tests/lib/libc/membar/t_dekker.c
132
atf_tc_fail("hw.ncpu: (%d) %s", errno, strerror(errno));
tests/lib/libc/membar/t_seqlock.c
160
atf_tc_fail("hw.ncpu: (%d) %s", errno, strerror(errno));
tests/lib/libc/membar/t_spinlock.c
128
atf_tc_fail("hw.ncpu: (%d) %s", errno, strerror(errno));
tests/lib/libc/net/t_if_nametoindex.c
65
if (errno != ENXIO)
tests/lib/libc/rpc/t_rpc.c
190
ERRX(EXIT_FAILURE, "Fork failed (%s)", strerror(errno));
tests/lib/libc/setjmp/t_threadjmp.c
82
#define REQUIRE_ERRNO(x) ATF_REQUIRE_MSG(x, "%s", strerror(errno))
tests/lib/libc/ssp/h_getcwd2.c
8
errno = ENOSYS;
tests/lib/libc/stdio/h_intr.c
217
if (errno == EINTR)
tests/lib/libc/stdio/h_intr.c
241
errno = 0;
tests/lib/libc/stdio/h_intr.c
246
if (errno == EINTR)
tests/lib/libc/stdio/h_intr.c
274
if (errno == EINTR)
tests/lib/libc/stdio/h_intr.c
297
errno = 0;
tests/lib/libc/stdio/h_intr.c
302
if (errno == EINTR)
tests/lib/libc/stdio/h_intr.c
387
int oe = errno;
tests/lib/libc/stdio/h_intr.c
393
errno = oe;
tests/lib/libc/stdio/t_clearerr.c
57
errno = 0;
tests/lib/libc/stdio/t_clearerr.c
60
ATF_REQUIRE(errno == 0);
tests/lib/libc/stdio/t_clearerr.c
80
errno = 0;
tests/lib/libc/stdio/t_clearerr.c
83
ATF_REQUIRE(errno == 0);
tests/lib/libc/stdio/t_fflush.c
160
errno = 0;
tests/lib/libc/stdio/t_fflush.c
59
errno = 0;
tests/lib/libc/stdio/t_fmemopen.c
308
errno = 0;
tests/lib/libc/stdio/t_fmemopen.c
311
ATF_CHECK(errno == EINVAL);
tests/lib/libc/stdio/t_fmemopen.c
313
errno = 0;
tests/lib/libc/stdio/t_fmemopen.c
316
ATF_CHECK(errno == EINVAL);
tests/lib/libc/stdio/t_fmemopen.c
337
ATF_CHECK(errno == EINVAL);
tests/lib/libc/stdio/t_fmemopen.c
364
errno = 0;
tests/lib/libc/stdio/t_fmemopen.c
367
ATF_CHECK(errno == EINVAL);
tests/lib/libc/stdio/t_fmemopen.c
396
ATF_CHECK(errno == ENOMEM);
tests/lib/libc/stdio/t_fopen.c
103
errno = 0;
tests/lib/libc/stdio/t_fopen.c
106
errno = 0;
tests/lib/libc/stdio/t_fopen.c
179
errno = 0;
tests/lib/libc/stdio/t_fopen.c
182
if (f == NULL && errno == EINVAL)
tests/lib/libc/stdio/t_fopen.c
194
errno = 0;
tests/lib/libc/stdio/t_fopen.c
197
errno = 0;
tests/lib/libc/stdio/t_fopen.c
200
errno = 0;
tests/lib/libc/stdio/t_fopen.c
301
if (errno == ENOSYS)
tests/lib/libc/stdio/t_fopen.c
303
if (errno == EPERM)
tests/lib/libc/stdio/t_fopen.c
305
ATF_REQUIRE_EQ_MSG(errno, 0, "unexpected error %d from "
tests/lib/libc/stdio/t_fopen.c
306
"modctl(MODCTL_EXISTS, 0)", errno);
tests/lib/libc/stdio/t_fopen.c
323
errno = 0;
tests/lib/libc/stdio/t_fopen.c
327
strerror(errno));
tests/lib/libc/stdio/t_fopen.c
414
errno = 0;
tests/lib/libc/stdio/t_fopen.c
417
errno = 0;
tests/lib/libc/stdio/t_fopen.c
439
errno = 0;
tests/lib/libc/stdio/t_fopen.c
442
if (f == NULL && errno == EFTYPE)
tests/lib/libc/stdio/t_fopen.c
452
"err %d (%s) from open of %s as %s", errno,
tests/lib/libc/stdio/t_fopen.c
453
strerror(errno), devs[i], mode[j]);
tests/lib/libc/stdio/t_fopen.c
477
errno = 0;
tests/lib/libc/stdio/t_fopen.c
480
if (f == NULL && errno == EFTYPE)
tests/lib/libc/stdio/t_fopen.c
490
"err %d (%s) from open of %s as %s", errno,
tests/lib/libc/stdio/t_fopen.c
491
strerror(errno), linkpath, mode[j]);
tests/lib/libc/stdio/t_fopen.c
95
errno = 0;
tests/lib/libc/stdio/t_fopen.c
98
errno = 0;
tests/lib/libc/stdio/t_popen.c
107
errno = EFBIG;
tests/lib/libc/stdio/t_popen.c
111
errno = EINVAL;
tests/lib/libc/stdio/t_popen.c
116
errno = EIO;
tests/lib/libc/stdio/t_printf.c
280
errno = 0;
tests/lib/libc/stdio/t_printf.c
282
ATF_CHECK(errno != 0);
tests/lib/libc/stdlib/t_getenv_thread.c
66
ATF_CHECK(errno == ENOENT);
tests/lib/libc/stdlib/t_hsearch.c
76
#define REQUIRE_ERRNO(x) ATF_REQUIRE_MSG(x, "%s", strerror(errno))
tests/lib/libc/stdlib/t_posix_memalign.c
182
ATF_CHECK_EQ_MSG(errno, EINVAL,
tests/lib/libc/stdlib/t_posix_memalign.c
184
align[i], size[j], strerror(errno));
tests/lib/libc/stdlib/t_posix_memalign.c
191
align[i], size[j], p, strerror(errno));
tests/lib/libc/stdlib/t_posix_memalign.c
192
ATF_CHECK_MSG((errno == EINVAL ||
tests/lib/libc/stdlib/t_posix_memalign.c
193
errno == ENOMEM),
tests/lib/libc/stdlib/t_posix_memalign.c
196
strerror(errno));
tests/lib/libc/stdlib/t_posix_memalign.c
207
if (p == NULL && errno == EINVAL)
tests/lib/libc/stdlib/t_posix_memalign.c
217
strerror(errno));
tests/lib/libc/stdlib/t_strtod.c
102
errno == 0 && *end == '\0' && val == testcases[i].val,
tests/lib/libc/stdlib/t_strtod.c
104
testcases[i].str, testcases[i].val, val, errno, end);
tests/lib/libc/stdlib/t_strtod.c
307
errno = 0;
tests/lib/libc/stdlib/t_strtod.c
310
if (d != 0 || errno != ERANGE)
tests/lib/libc/stdlib/t_strtod.c
339
errno = 0;
tests/lib/libc/stdlib/t_strtod.c
341
error = errno;
tests/lib/libc/stdlib/t_strtod.c
367
errno = 0;
tests/lib/libc/stdlib/t_strtod.c
369
error = errno;
tests/lib/libc/stdlib/t_strtod.c
66
errno = 0;
tests/lib/libc/stdlib/t_strtod.c
70
i, buf, d, errno);
tests/lib/libc/stdlib/t_strtod.c
71
ATF_CHECK_EQ_MSG(errno, 0, "i=%zu buf=\"%s\" d=%g errno=%d",
tests/lib/libc/stdlib/t_strtod.c
72
i, buf, d, errno);
tests/lib/libc/stdlib/t_strtod.c
98
errno = 0;
tests/lib/libc/stdlib/t_strtoi.c
179
errno = 0;
tests/lib/libc/stdlib/t_strtoi.c
182
check_errno(errno);
tests/lib/libc/stdlib/t_strtoi.c
190
errno = 0;
tests/lib/libc/stdlib/t_strtoi.c
195
check_errno(errno);
tests/lib/libc/stdlib/t_strtoi.c
237
errno = 0;
tests/lib/libc/stdlib/t_strtoi.c
240
check_errno(errno);
tests/lib/libc/stdlib/t_strtoi.c
290
errno = 0;
tests/lib/libc/stdlib/t_strtoi.c
293
if (errno != 0)
tests/lib/libc/stdlib/t_strtoi.c
294
atf_tc_fail("Range test %zd set errno=%d", i, errno);
tests/lib/libc/stdlib/t_strtoi.c
295
check_errno(errno);
tests/lib/libc/stdlib/t_strtoi.c
325
errno = 0;
tests/lib/libc/stdlib/t_strtoi.c
328
check_errno(errno);
tests/lib/libc/stdlib/t_strtoi.c
380
errno = 0;
tests/lib/libc/stdlib/t_strtoi.c
383
check_errno(errno);
tests/lib/libc/stdlib/t_strtol.c
169
if (errno != EINVAL) \
tests/lib/libc/stdlib/t_strtol.c
171
"%s(1, boo, -2) failed errno=%d", # fun, errno)
tests/lib/libc/stdlib/t_strtol.c
247
errno = 0;
tests/lib/libc/stdlib/t_strtol.c
250
if (errno != ERANGE)
tests/lib/libc/string/t_strerror.c
67
errno = 0;
tests/lib/libc/string/t_strerror.c
70
ATF_REQUIRE(errno == EINVAL);
tests/lib/libc/string/t_strerror.c
72
errno = 0;
tests/lib/libc/string/t_strerror.c
75
ATF_REQUIRE(errno == EINVAL);
tests/lib/libc/sys/t_access.c
101
errno = 0;
tests/lib/libc/sys/t_access.c
104
ATF_REQUIRE(errno == EFAULT);
tests/lib/libc/sys/t_access.c
117
errno = 0;
tests/lib/libc/sys/t_access.c
120
ATF_REQUIRE(errno == EINVAL);
tests/lib/libc/sys/t_access.c
135
errno = 0;
tests/lib/libc/sys/t_access.c
148
ATF_REQUIRE(errno == ENOTDIR);
tests/lib/libc/sys/t_access.c
164
errno = 0;
tests/lib/libc/sys/t_access.c
167
ATF_REQUIRE(errno == ENOENT);
tests/lib/libc/sys/t_access.c
192
errno = 0;
tests/lib/libc/sys/t_access.c
195
ATF_REQUIRE(errno == ENAMETOOLONG);
tests/lib/libc/sys/t_access.c
70
errno = 0;
tests/lib/libc/sys/t_access.c
73
ATF_REQUIRE(errno == EACCES);
tests/lib/libc/sys/t_access.c
96
errno = 0;
tests/lib/libc/sys/t_access.c
99
ATF_REQUIRE(errno == EFAULT);
tests/lib/libc/sys/t_aio_cancel.c
101
strerror(errno));
tests/lib/libc/sys/t_aio_cancel.c
211
errno = 0;
tests/lib/libc/sys/t_aio_cancel.c
214
ATF_REQUIRE_EQ(EBADF, errno);
tests/lib/libc/sys/t_aio_lio.c
100
strerror(errno));
tests/lib/libc/sys/t_aio_lio.c
139
strerror(errno));
tests/lib/libc/sys/t_aio_lio.c
203
strerror(errno));
tests/lib/libc/sys/t_aio_lio.c
232
strerror(errno));
tests/lib/libc/sys/t_aio_rw.c
99
strerror(errno));
tests/lib/libc/sys/t_bind.c
67
ATF_REQUIRE(EAFNOSUPPORT == errno);
tests/lib/libc/sys/t_chroot.c
123
errno = 0;
tests/lib/libc/sys/t_chroot.c
126
errno = 0;
tests/lib/libc/sys/t_chroot.c
129
errno = 0;
tests/lib/libc/sys/t_chroot.c
154
errno = 0;
tests/lib/libc/sys/t_chroot.c
159
if (errno != EPERM)
tests/lib/libc/sys/t_chroot.c
247
errno = 0;
tests/lib/libc/sys/t_chroot.c
250
errno = 0;
tests/lib/libc/sys/t_chroot.c
286
errno = 0;
tests/lib/libc/sys/t_chroot.c
291
if (errno != EPERM)
tests/lib/libc/sys/t_chroot.c
74
errno = 0;
tests/lib/libc/sys/t_chroot.c
79
if (errno != ENOENT)
tests/lib/libc/sys/t_clock_gettime.c
98
atf_tc_fail_nonfatal("%s: %s", #x, strerror(errno)); \
tests/lib/libc/sys/t_clone.c
133
ATF_REQUIRE_ERRNO(errno, sigprocmask(SIG_BLOCK, &mask, NULL) != -1);
tests/lib/libc/sys/t_clone.c
142
atf_tc_fail("clone() failed: %s", strerror(errno));
tests/lib/libc/sys/t_clone.c
192
ATF_REQUIRE_EQ(errno, EINVAL);
tests/lib/libc/sys/t_clone.c
209
errno = 0;
tests/lib/libc/sys/t_clone.c
214
ATF_REQUIRE_EQ(errno, EINVAL);
tests/lib/libc/sys/t_clone.c
234
ATF_REQUIRE_ERRNO(errno, getrlimit(RLIMIT_NPROC, &rl) != -1);
tests/lib/libc/sys/t_clone.c
239
ATF_REQUIRE_ERRNO(errno, setrlimit(RLIMIT_NPROC, &rl) != -1);
tests/lib/libc/sys/t_clone.c
241
errno = 0;
tests/lib/libc/sys/t_clone.c
246
ATF_REQUIRE_EQ(errno, EAGAIN);
tests/lib/libc/sys/t_clone.c
62
ATF_REQUIRE_ERRNO(errno, stack != MAP_FAILED);
tests/lib/libc/sys/t_clone.c
75
ATF_REQUIRE_ERRNO(errno, munmap(stack, STACKSIZE) != -1);
tests/lib/libc/sys/t_connect.c
121
ATF_REQUIRE(EAFNOSUPPORT == errno);
tests/lib/libc/sys/t_connect.c
72
atf_tc_fail("setsockopt failed: %s", strerror(errno));
tests/lib/libc/sys/t_connect.c
81
int serrno = errno;
tests/lib/libc/sys/t_dup.c
145
errno = 0;
tests/lib/libc/sys/t_dup.c
148
errno = 0;
tests/lib/libc/sys/t_dup.c
151
errno = 0;
tests/lib/libc/sys/t_dup.c
175
errno = 0;
tests/lib/libc/sys/t_dup.c
210
errno = 0;
tests/lib/libc/sys/t_dup.c
213
errno = 0;
tests/lib/libc/sys/t_dup.c
216
errno = 0;
tests/lib/libc/sys/t_dup.c
219
errno = 0;
tests/lib/libc/sys/t_dup.c
222
errno = 0;
tests/lib/libc/sys/t_dup.c
241
errno = 0;
tests/lib/libc/sys/t_dup.c
271
errno = 0;
tests/lib/libc/sys/t_dup.c
325
errno = 0;
tests/lib/libc/sys/t_dup.c
328
if (fd != -1 || errno != EMFILE)
tests/lib/libc/sys/t_fork.c
172
errno = 0;
tests/lib/libc/sys/t_fork.c
175
ASSERT_EQ(errno, 0);
tests/lib/libc/sys/t_fsync.c
60
errno = 0;
tests/lib/libc/sys/t_fsync.c
63
ATF_REQUIRE(errno == EBADF);
tests/lib/libc/sys/t_fsync.c
73
errno = 0;
tests/lib/libc/sys/t_fsync.c
76
ATF_REQUIRE(errno == EINVAL);
tests/lib/libc/sys/t_fsync.c
78
errno = 0;
tests/lib/libc/sys/t_fsync.c
81
ATF_REQUIRE(errno == EINVAL);
tests/lib/libc/sys/t_futex_ops.c
184
d->futex_error = errno;
tests/lib/libc/sys/t_futex_ops.c
294
STORE(d->error_ptr, errno);
tests/lib/libc/sys/t_futex_ops.c
317
STORE(d->error_ptr, errno);
tests/lib/libc/sys/t_futex_ops.c
958
ATF_CHECK_MSG(nwoken != -1, "errno=%d (%s)", errno, strerror(errno));
tests/lib/libc/sys/t_getcontext.c
72
errno = 0;
tests/lib/libc/sys/t_getcontext.c
85
errno = 0;
tests/lib/libc/sys/t_getgroups.c
53
errno = 0;
tests/lib/libc/sys/t_getgroups.c
56
ATF_REQUIRE(errno == EFAULT);
tests/lib/libc/sys/t_getgroups.c
58
errno = 0;
tests/lib/libc/sys/t_getgroups.c
61
ATF_REQUIRE(errno == EINVAL);
tests/lib/libc/sys/t_getitimer.c
106
errno = 0;
tests/lib/libc/sys/t_getitimer.c
109
errno = 0;
tests/lib/libc/sys/t_getitimer.c
112
errno = 0;
tests/lib/libc/sys/t_getitimer.c
160
errno = 0;
tests/lib/libc/sys/t_getitimer.c
163
errno = 0;
tests/lib/libc/sys/t_getitimer.c
166
errno = 0;
tests/lib/libc/sys/t_getlogin.c
141
errno = 0;
tests/lib/libc/sys/t_getlogin.c
146
if (errno != EINVAL)
tests/lib/libc/sys/t_getlogin.c
149
errno = 0;
tests/lib/libc/sys/t_getlogin.c
154
if (errno != EFAULT)
tests/lib/libc/sys/t_getlogin.c
202
errno = 0;
tests/lib/libc/sys/t_getlogin.c
207
if (errno != EPERM)
tests/lib/libc/sys/t_getrandom.c
115
ATF_CHECK_EQ(errno, EAGAIN);
tests/lib/libc/sys/t_getrandom.c
179
ATF_CHECK_EQ(errno, EINTR);
tests/lib/libc/sys/t_getrandom.c
205
ATF_CHECK_EQ(errno, EAGAIN);
tests/lib/libc/sys/t_getrandom.c
229
ATF_CHECK_EQ(errno, EINVAL);
tests/lib/libc/sys/t_getrandom.c
246
ATF_CHECK_EQ(errno, EINVAL);
tests/lib/libc/sys/t_getrandom.c
263
ATF_CHECK_EQ(errno, EINVAL);
tests/lib/libc/sys/t_getrandom.c
278
ATF_CHECK_EQ(errno, EFAULT);
tests/lib/libc/sys/t_getrandom.c
66
"sigaction(SIGALRM): %s", strerror(errno));
tests/lib/libc/sys/t_getrandom.c
92
ATF_CHECK_EQ(errno, EINTR);
tests/lib/libc/sys/t_getrusage.c
87
errno = 0;
tests/lib/libc/sys/t_getrusage.c
90
ATF_REQUIRE(errno == EINVAL);
tests/lib/libc/sys/t_getrusage.c
92
errno = 0;
tests/lib/libc/sys/t_getrusage.c
95
ATF_REQUIRE(errno == EFAULT);
tests/lib/libc/sys/t_getsid.c
68
errno = 0;
tests/lib/libc/sys/t_getsid.c
71
ATF_REQUIRE(errno == ESRCH);
tests/lib/libc/sys/t_gettimeofday.c
49
errno = 0;
tests/lib/libc/sys/t_kevent.c
132
ATF_REQUIRE_EQ_MSG(errno, EBADF, "errno is %d", errno);
tests/lib/libc/sys/t_kevent.c
157
switch (errno) {
tests/lib/libc/sys/t_kill.c
102
errno = 0;
tests/lib/libc/sys/t_kill.c
105
if (rv == 0 || errno != ESRCH)
tests/lib/libc/sys/t_kill.c
187
errno = 0;
tests/lib/libc/sys/t_kill.c
192
if (errno != EPERM)
tests/lib/libc/sys/t_kill.c
96
errno = 0;
tests/lib/libc/sys/t_kill.c
99
if (rv == 0 || errno != EINVAL)
tests/lib/libc/sys/t_link.c
122
errno = 0;
tests/lib/libc/sys/t_link.c
126
errno = 0;
tests/lib/libc/sys/t_link.c
129
errno = 0;
tests/lib/libc/sys/t_link.c
132
errno = 0;
tests/lib/libc/sys/t_link.c
135
errno = 0;
tests/lib/libc/sys/t_link.c
138
errno = 0;
tests/lib/libc/sys/t_link.c
141
errno = 0;
tests/lib/libc/sys/t_link.c
166
errno = 0;
tests/lib/libc/sys/t_link.c
168
ATF_REQUIRE_MSG(rv == -1 && (errno == EACCES || errno == EPERM),
tests/lib/libc/sys/t_link.c
170
"returned %d, errno %d", rv, errno);
tests/lib/libc/sys/t_link.c
172
errno = 0;
tests/lib/libc/sys/t_listen.c
110
ATF_REQUIRE_MSG(sd != -1, "socket failed: %s", strerror(errno));
tests/lib/libc/sys/t_listen.c
115
atf_tc_fail("setsockopt failed: %s", strerror(errno));
tests/lib/libc/sys/t_listen.c
118
int serrno = errno;
tests/lib/libc/sys/t_lwp_create.c
141
serrno = errno;
tests/lib/libc/sys/t_lwp_create.c
90
ATF_REQUIRE(error != 0 && errno == EINVAL); \
tests/lib/libc/sys/t_mincore.c
132
errno = 0;
tests/lib/libc/sys/t_mincore.c
135
errno = 0;
tests/lib/libc/sys/t_mincore.c
138
errno = 0;
tests/lib/libc/sys/t_mincore.c
198
if (rv == -1 && errno == EAGAIN)
tests/lib/libc/sys/t_mincore.c
226
errno = 0;
tests/lib/libc/sys/t_mincore.c
227
if (mlockall(MCL_CURRENT|MCL_FUTURE) != 0 && errno != ENOMEM)
tests/lib/libc/sys/t_mincore.c
229
if (errno == ENOMEM)
tests/lib/libc/sys/t_mincore.c
83
#define ATF_REQUIRE_STRERROR(a) ATF_REQUIRE_MSG(a, " (%s)", strerror(errno))
tests/lib/libc/sys/t_mkdir.c
69
errno = 0;
tests/lib/libc/sys/t_mkdir.c
73
errno = 0;
tests/lib/libc/sys/t_mkdir.c
76
errno = 0;
tests/lib/libc/sys/t_mkdir.c
79
errno = 0;
tests/lib/libc/sys/t_mkdir.c
92
errno = 0;
tests/lib/libc/sys/t_mkfifo.c
130
errno = 0;
tests/lib/libc/sys/t_mkfifo.c
133
errno = 0;
tests/lib/libc/sys/t_mkfifo.c
136
errno = 0;
tests/lib/libc/sys/t_mkfifo.c
139
errno = 0;
tests/lib/libc/sys/t_mkfifo.c
142
errno = 0;
tests/lib/libc/sys/t_mkfifo.c
189
errno = 0;
tests/lib/libc/sys/t_mkfifo.c
219
errno = 0;
tests/lib/libc/sys/t_mkfifo.c
227
errno = 0;
tests/lib/libc/sys/t_mkfifo.c
53
errno = 0;
tests/lib/libc/sys/t_mkfifo.c
60
if (errno == EOPNOTSUPP)
tests/lib/libc/sys/t_mknod.c
103
errno = 0;
tests/lib/libc/sys/t_mknod.c
124
errno = 0;
tests/lib/libc/sys/t_mknod.c
127
errno = 0;
tests/lib/libc/sys/t_mknod.c
61
errno = 0;
tests/lib/libc/sys/t_mknod.c
64
errno = 0;
tests/lib/libc/sys/t_mknod.c
67
errno = 0;
tests/lib/libc/sys/t_mknod.c
70
errno = 0;
tests/lib/libc/sys/t_mknod.c
96
errno = 0;
tests/lib/libc/sys/t_mlock.c
100
errno = 0;
tests/lib/libc/sys/t_mlock.c
103
errno = 0;
tests/lib/libc/sys/t_mlock.c
106
errno = 0;
tests/lib/libc/sys/t_mlock.c
109
errno = 0;
tests/lib/libc/sys/t_mlock.c
112
errno = 0;
tests/lib/libc/sys/t_mlock.c
115
errno = 0;
tests/lib/libc/sys/t_mlock.c
126
errno = 0;
tests/lib/libc/sys/t_mlock.c
136
errno, strerror(errno));
tests/lib/libc/sys/t_mlock.c
142
errno, strerror(errno));
tests/lib/libc/sys/t_mlock.c
154
errno = 0;
tests/lib/libc/sys/t_mlock.c
157
errno = 0;
tests/lib/libc/sys/t_mlock.c
194
errno = 0;
tests/lib/libc/sys/t_mlock.c
196
if ((sta = mlock(buf, i)) != -1 || errno != EAGAIN) {
tests/lib/libc/sys/t_mlock.c
198
buf, i, sta, errno, strerror(errno));
tests/lib/libc/sys/t_mlock.c
235
" [%d] %s\n", page, PROT_READ | PROT_WRITE, flags, errno,
tests/lib/libc/sys/t_mlock.c
236
strerror(errno));
tests/lib/libc/sys/t_mlock.c
257
" [%d] %s\n", page, PROT_NONE, flags, errno,
tests/lib/libc/sys/t_mlock.c
258
strerror(errno));
tests/lib/libc/sys/t_mlock.c
289
i, maxiter, buf, page, err, errno, strerror(errno));
tests/lib/libc/sys/t_mlock.c
296
buf, page, err, errno, strerror(errno));
tests/lib/libc/sys/t_mlock.c
73
strerror(errno));
tests/lib/libc/sys/t_mlock.c
78
buf, page - i, strerror(errno), err1?"failed":"ok");
tests/lib/libc/sys/t_mmap.c
194
(void)fprintf(stderr, "%s: %s\n", dev, strerror(errno));
tests/lib/libc/sys/t_mmap.c
202
ATF_REQUIRE_MSG(map != MAP_FAILED, "mmap: %s", strerror(errno));
tests/lib/libc/sys/t_mmap.c
222
errno = 0;
tests/lib/libc/sys/t_mmap.c
226
ATF_REQUIRE(errno == EBADF);
tests/lib/libc/sys/t_mmap.c
228
errno = 0;
tests/lib/libc/sys/t_mmap.c
232
ATF_REQUIRE_MSG(errno == EINVAL, "errno %d != EINVAL", errno);
tests/lib/libc/sys/t_mmap.c
234
errno = 0;
tests/lib/libc/sys/t_mmap.c
238
ATF_REQUIRE(errno == EINVAL);
tests/lib/libc/sys/t_mmap.c
458
atf_tc_fail("mmap: %s", strerror(errno));
tests/lib/libc/sys/t_mmap.c
465
atf_tc_fail("update mmap: %s", strerror(errno));
tests/lib/libc/sys/t_mmap.c
471
atf_tc_fail("munmap: %s", strerror(errno));
tests/lib/libc/sys/t_mmap.c
630
atf_tc_fail_nonfatal("mmap1 hint=%p: errno=%d", hint, errno);
tests/lib/libc/sys/t_mmap.c
636
hint, map1, errno);
tests/lib/libc/sys/t_mmap.c
642
hint, map1, errno);
tests/lib/libc/sys/t_mmap.c
675
"sysctl vm.minaddress: errno=%d", errno);
tests/lib/libc/sys/t_mmap.c
678
"sysctl vm.maxaddress: errno=%d", errno);
tests/lib/libc/sys/t_mprotect.c
105
errno = 0;
tests/lib/libc/sys/t_mprotect.c
108
ATF_REQUIRE(errno == EACCES);
tests/lib/libc/sys/t_mprotect.c
128
errno = 0;
tests/lib/libc/sys/t_mprotect.c
131
ATF_REQUIRE(errno == EINVAL);
tests/lib/libc/sys/t_msgctl.c
142
errno = 0;
tests/lib/libc/sys/t_msgctl.c
147
if (errno != EPERM)
tests/lib/libc/sys/t_msgctl.c
160
if (errno != EPERM)
tests/lib/libc/sys/t_msgctl.c
88
errno = 0;
tests/lib/libc/sys/t_msgctl.c
91
errno = 0;
tests/lib/libc/sys/t_msgctl.c
95
errno = 0;
tests/lib/libc/sys/t_msgget.c
227
errno = 0;
tests/lib/libc/sys/t_msgget.c
231
if (buf[i] != -1 || errno != ENOSPC)
tests/lib/libc/sys/t_msgget.c
81
errno = 0;
tests/lib/libc/sys/t_msgget.c
86
ATF_REQUIRE(errno == EEXIST);
tests/lib/libc/sys/t_msgrcv.c
164
errno = 0;
tests/lib/libc/sys/t_msgrcv.c
171
errno = 0;
tests/lib/libc/sys/t_msgrcv.c
176
errno = 0;
tests/lib/libc/sys/t_msgrcv.c
181
errno = 0;
tests/lib/libc/sys/t_msgrcv.c
188
errno = 0;
tests/lib/libc/sys/t_msgsnd.c
142
errno = 0;
tests/lib/libc/sys/t_msgsnd.c
150
if (rv == -1 && errno == EAGAIN)
tests/lib/libc/sys/t_msgsnd.c
184
errno = 0;
tests/lib/libc/sys/t_msgsnd.c
189
errno = 0;
tests/lib/libc/sys/t_msgsnd.c
194
errno = 0;
tests/lib/libc/sys/t_msgsnd.c
199
errno = 0;
tests/lib/libc/sys/t_msgsnd.c
236
errno = 0;
tests/lib/libc/sys/t_msgsnd.c
239
if (rv == -1 && errno == EAGAIN)
tests/lib/libc/sys/t_msgsnd.c
300
errno = 0;
tests/lib/libc/sys/t_msgsnd.c
305
if (errno != EACCES)
tests/lib/libc/sys/t_msgsnd.c
315
if (errno == EX_OSERR)
tests/lib/libc/sys/t_msync.c
163
errno = 0;
tests/lib/libc/sys/t_msync.c
175
ATF_REQUIRE(errno == EFAULT);
tests/lib/libc/sys/t_msync.c
77
strerror(errno));
tests/lib/libc/sys/t_nanosleep.c
109
errno = 0;
tests/lib/libc/sys/t_nanosleep.c
114
errno = 0;
tests/lib/libc/sys/t_nanosleep.c
119
errno = 0;
tests/lib/libc/sys/t_nanosleep.c
122
errno = 0;
tests/lib/libc/sys/t_nanosleep.c
157
errno = 0;
tests/lib/libc/sys/t_nanosleep.c
162
if (errno != EINTR)
tests/lib/libc/sys/t_pipe.c
111
if (sigsuspend(&emptysigset) != -1 || errno != EINTR)
tests/lib/libc/sys/t_pipe.c
113
strerror(errno));
tests/lib/libc/sys/t_pipe2.c
132
strerror(errno));
tests/lib/libc/sys/t_pipe2.c
64
strerror(errno));
tests/lib/libc/sys/t_poll.c
238
errno = 0;
tests/lib/libc/sys/t_poll.c
241
errno = 0;
tests/lib/libc/sys/t_poll.c
251
errno = 0;
tests/lib/libc/sys/t_poll.c
257
if (errno == EOPNOTSUPP) {
tests/lib/libc/sys/t_poll.c
330
ATF_REQUIRE_EQ_MSG(errno, EAGAIN, "errno=%d", errno);
tests/lib/libc/sys/t_poll.c
376
ATF_REQUIRE_EQ_MSG(errno, EAGAIN, "errno=%d", errno);
tests/lib/libc/sys/t_poll.c
513
ATF_CHECK_EQ_MSG(errno, EAGAIN, "errno=%d", errno);
tests/lib/libc/sys/t_pollts.c
138
errno = 0;
tests/lib/libc/sys/t_pollts.c
144
errno = 0;
tests/lib/libc/sys/t_posix_fallocate.c
45
errno = 1111;
tests/lib/libc/sys/t_posix_fallocate.c
47
saved = errno;
tests/lib/libc/sys/t_ptrace.c
185
} else if (errno != EPERM) {
tests/lib/libc/sys/t_ptrace.c
89
errno = 0;
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
392
errno = 0;
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
396
SYSCALL_REQUIRE_ERRNO(errno, 0);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
412
errno = 0;
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
415
SYSCALL_REQUIRE_ERRNO(errno, 0);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
589
errno = 0;
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
591
ATF_REQUIRE_EQ(errno, 0);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
646
errno = 0;
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
765
errno = 0;
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
767
ATF_REQUIRE_EQ(errno, EINVAL);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
775
errno = 0;
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
777
ATF_REQUIRE_EQ(errno, EINVAL);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
790
errno = 0;
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
792
ATF_REQUIRE_EQ(errno, EINVAL);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
805
errno = 0;
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
807
ATF_REQUIRE_EQ(errno, EINVAL);
tests/lib/libc/sys/t_ptrace_kill.c
48
#define SYSCALL(a, b) ATF_REQUIRE_EQ_MSG(a, b, "%s got %s", #a, strerror(errno))
tests/lib/libc/sys/t_ptrace_misc_wait.h
82
errno = 0;
tests/lib/libc/sys/t_ptrace_misc_wait.h
84
ATF_REQUIRE_EQ(errno, EINVAL);
tests/lib/libc/sys/t_ptrace_sigchld.c
69
strerror(errno))
tests/lib/libc/sys/t_ptrace_signal_wait.h
1410
errno = 0;
tests/lib/libc/sys/t_ptrace_signal_wait.h
1413
FORKEE_ASSERT_EQ(errno, 0);
tests/lib/libc/sys/t_ptrace_topology_wait.h
559
(rv = stat(fname, &st)) == 0 || (errno == ENOENT));
tests/lib/libc/sys/t_ptrace_topology_wait.h
65
SYSCALL_REQUIRE_ERRNO(errno, EPERM);
tests/lib/libc/sys/t_ptrace_wait.c
92
strerror(errno))
tests/lib/libc/sys/t_ptrace_wait.h
253
errno = _forkee_pthread_error; \
tests/lib/libc/sys/t_ptrace_wait.h
297
FORKEE_ASSERTX(((a) == errno) && ((b) == -1))
tests/lib/libc/sys/t_ptrace_wait.h
303
FORKEE_ASSERTX(((a) == errno) && ((b) == -1))
tests/lib/libc/sys/t_recvmmsg.c
117
strerror(errno));
tests/lib/libc/sys/t_recvmmsg.c
121
ATF_REQUIRE_MSG(0, "fork failed (%s)", strerror(errno));
tests/lib/libc/sys/t_recvmmsg.c
133
if (cnt == -1 && errno == ENOBUFS) {
tests/lib/libc/sys/t_recvmmsg.c
141
strerror(errno));
tests/lib/libc/sys/t_recvmmsg.c
170
} while (error == -1 && errno == ENOBUFS);
tests/lib/libc/sys/t_recvmmsg.c
172
strerror(errno));
tests/lib/libc/sys/t_recvmmsg.c
176
strerror(errno));
tests/lib/libc/sys/t_recvmmsg.c
90
ATF_REQUIRE_MSG(error != -1, "socketpair failed (%s)", strerror(errno));
tests/lib/libc/sys/t_recvmmsg.c
93
ATF_REQUIRE_MSG(buf != NULL, "malloc failed (%s)", strerror(errno));
tests/lib/libc/sys/t_recvmmsg.c
97
ATF_REQUIRE_MSG(mmsghdr != NULL, "malloc failed (%s)", strerror(errno));
tests/lib/libc/sys/t_recvmmsg.c
99
ATF_REQUIRE_MSG(iov != NULL, "malloc failed (%s)", strerror(errno));
tests/lib/libc/sys/t_revoke.c
110
errno = 0;
tests/lib/libc/sys/t_revoke.c
113
errno = 0;
tests/lib/libc/sys/t_revoke.c
116
errno = 0;
tests/lib/libc/sys/t_revoke.c
119
errno = 0;
tests/lib/libc/sys/t_revoke.c
151
errno = 0;
tests/lib/libc/sys/t_revoke.c
156
if (errno != EACCES)
tests/lib/libc/sys/t_select.c
117
if(errno == EINTR) {
tests/lib/libc/sys/t_select.c
227
if (fcntl(fd, F_GETFL) != -1 || errno != EBADF)
tests/lib/libc/sys/t_select.c
233
errno = 0;
tests/lib/libc/sys/t_select.c
235
error = errno;
tests/lib/libc/sys/t_select.c
237
errno = error;
tests/lib/libc/sys/t_sendmmsg.c
105
ATF_REQUIRE_MSG(mmsghdr != NULL, "malloc failed (%s)", strerror(errno));
tests/lib/libc/sys/t_sendmmsg.c
107
ATF_REQUIRE_MSG(iov != NULL, "malloc failed (%s)", strerror(errno));
tests/lib/libc/sys/t_sendmmsg.c
127
strerror(errno));
tests/lib/libc/sys/t_sendmmsg.c
131
ATF_REQUIRE_MSG(0, "fork failed (%s)", strerror(errno));
tests/lib/libc/sys/t_sendmmsg.c
153
if (cnt == -1 && errno == ENOBUFS) {
tests/lib/libc/sys/t_sendmmsg.c
166
n, strerror(errno));
tests/lib/libc/sys/t_sendmmsg.c
187
ATF_REQUIRE_MSG(cnt != -1 || errno != ENOBUFS,
tests/lib/libc/sys/t_sendmmsg.c
188
"recv failed (%s)", strerror(errno));
tests/lib/libc/sys/t_sendmmsg.c
195
} while (cnt == -1 && errno == ENOBUFS);
tests/lib/libc/sys/t_sendmmsg.c
199
strerror(errno));
tests/lib/libc/sys/t_sendmmsg.c
77
type == SO_RCVBUF ? "rcv" : "snd", strerror(errno));
tests/lib/libc/sys/t_sendmmsg.c
95
ATF_REQUIRE_MSG(error != -1, "socketpair failed (%s)", strerror(errno));
tests/lib/libc/sys/t_sendmmsg.c
98
ATF_REQUIRE_MSG(buf != NULL, "malloc failed (%s)", strerror(errno));
tests/lib/libc/sys/t_sendrecv.c
106
ATF_REQUIRE_MSG(errno == ENOBUFS, "recv %s", strerror(errno));
tests/lib/libc/sys/t_sendrecv.c
119
ATF_REQUIRE_MSG(error != -1, "socketpair failed (%s)", strerror(errno));
tests/lib/libc/sys/t_sendrecv.c
121
ATF_REQUIRE_MSG(error != -1, "pipe failed (%s)", strerror(errno));
tests/lib/libc/sys/t_sendrecv.c
127
"setsockopt(SO_RERROR) failed (%s)", strerror(errno));
tests/lib/libc/sys/t_sendrecv.c
136
strerror(errno));
tests/lib/libc/sys/t_sendrecv.c
140
ATF_REQUIRE_MSG(errno == 0,
tests/lib/libc/sys/t_sendrecv.c
141
"fork failed (%s)", strerror(errno));
tests/lib/libc/sys/t_sendrecv.c
75
ATF_REQUIRE_MSG(errno == ENOBUFS, "send %s", strerror(errno));
tests/lib/libc/sys/t_setrlimit.c
163
errno = 0;
tests/lib/libc/sys/t_setrlimit.c
166
ATF_REQUIRE(errno == EFAULT);
tests/lib/libc/sys/t_setrlimit.c
169
errno = 0;
tests/lib/libc/sys/t_setrlimit.c
172
ATF_REQUIRE(errno == EINVAL);
tests/lib/libc/sys/t_setrlimit.c
329
errno = 0;
tests/lib/libc/sys/t_setrlimit.c
332
if (fd >= 0 || errno != EMFILE)
tests/lib/libc/sys/t_setrlimit.c
391
if (fd >= 0 || errno != EMFILE)
tests/lib/libc/sys/t_setrlimit.c
503
errno = 0;
tests/lib/libc/sys/t_setuid.c
51
errno = 0;
tests/lib/libc/sys/t_setuid.c
54
ATF_REQUIRE(errno == EPERM);
tests/lib/libc/sys/t_sigqueue.c
93
errno = 0;
tests/lib/libc/sys/t_sigtimedwait.c
133
error = errno;
tests/lib/libc/sys/t_sigtimedwait.c
134
ATF_REQUIRE_MSG(errno == EAGAIN, "errno=%d (%s), expected EAGAIN=%d",
tests/lib/libc/sys/t_sigtimedwait.c
200
error = errno;
tests/lib/libc/sys/t_sigtimedwait.c
201
ATF_REQUIRE_MSG(errno == EINTR, "errno=%d (%s), expected EINTR=%d",
tests/lib/libc/sys/t_sigtimedwait.c
230
error = errno;
tests/lib/libc/sys/t_sigtimedwait.c
231
ATF_REQUIRE_MSG(errno == EINTR, "errno=%d (%s), expected EINTR=%d",
tests/lib/libc/sys/t_sigtimedwait.c
72
error = errno;
tests/lib/libc/sys/t_sigtimedwait.c
76
errno = error;
tests/lib/libc/sys/t_sigtimedwait.c
77
ATF_REQUIRE_MSG(errno == EAGAIN, "errno=%d (%s), expected EAGAIN=%d",
tests/lib/libc/sys/t_stat.c
168
errno = 0;
tests/lib/libc/sys/t_stat.c
171
errno = 0;
tests/lib/libc/sys/t_stat.c
174
errno = 0;
tests/lib/libc/sys/t_stat.c
177
errno = 0;
tests/lib/libc/sys/t_stat.c
180
errno = 0;
tests/lib/libc/sys/t_stat.c
183
errno = 0;
tests/lib/libc/sys/t_stat.c
186
errno = 0;
tests/lib/libc/sys/t_stat.c
189
errno = 0;
tests/lib/libc/sys/t_stat.c
192
errno = 0;
tests/lib/libc/sys/t_stat.c
351
errno = 0;
tests/lib/libc/sys/t_stat.c
357
errno = 0;
tests/lib/libc/sys/t_stat.c
359
if (fstat(fd, &st) != 0 || errno != 0)
tests/lib/libc/sys/t_timer_create.c
262
errno = 0;
tests/lib/libc/sys/t_timer_create.c
268
errno = 0;
tests/lib/libc/sys/t_timer_create.c
53
const int errno_save = errno;
tests/lib/libc/sys/t_timer_create.c
62
errno = errno_save;
tests/lib/libc/sys/t_timerfd.c
116
errno = EIO;
tests/lib/libc/sys/t_truncate.c
101
errno = 0;
tests/lib/libc/sys/t_truncate.c
155
errno = 0;
tests/lib/libc/sys/t_truncate.c
158
errno = 0;
tests/lib/libc/sys/t_truncate.c
161
errno = 0;
tests/lib/libc/sys/t_truncate.c
164
errno = 0;
tests/lib/libc/sys/t_truncate.c
98
errno = 0;
tests/lib/libc/sys/t_unlink.c
114
errno = 0;
tests/lib/libc/sys/t_unlink.c
134
errno = 0;
tests/lib/libc/sys/t_unlink.c
136
ATF_REQUIRE_MSG(rv == -1 && (errno == EACCES || errno == EPERM),
tests/lib/libc/sys/t_unlink.c
138
"unlink() returned %d, errno %d", rv, errno);
tests/lib/libc/sys/t_unlink.c
140
errno = 0;
tests/lib/libc/sys/t_unlink.c
65
errno = 0;
tests/lib/libc/sys/t_unlink.c
87
errno = 0;
tests/lib/libc/sys/t_unlink.c
90
errno = 0;
tests/lib/libc/sys/t_unlink.c
93
errno = 0;
tests/lib/libc/sys/t_wait.c
61
&& errno == EINVAL);
tests/lib/libc/sys/t_write.c
121
errno = 0;
tests/lib/libc/sys/t_write.c
124
if (write(fds[1], "x", 1) != -1 || errno != EPIPE)
tests/lib/libc/sys/t_write.c
211
errno = 0;
tests/lib/libc/sys/t_write.c
215
ATF_REQUIRE_EQ_MSG(errno, EINVAL, "got: %s", strerror(errno));
tests/lib/libc/sys/t_write.c
240
ATF_REQUIRE_EQ_MSG(errno, EFAULT, "got: %s", strerror(errno));
tests/lib/libc/sys/t_write.c
266
ATF_REQUIRE_EQ_MSG(errno, EFAULT, "got: %s", strerror(errno));
tests/lib/libc/sys/t_write.c
71
errno = 0;
tests/lib/libc/sys/t_write.c
78
errno = 0;
tests/lib/libc/sys/t_write.c
81
errno = 0;
tests/lib/libc/sys/t_write.c
84
errno = 0;
tests/lib/libc/termios/t_tcsetpgrp.c
66
errno = 0;
tests/lib/libc/termios/t_tcsetpgrp.c
69
if (rv == 0 || errno != EPERM)
tests/lib/libc/time/t_mktime.c
100
errno = 0;
tests/lib/libc/time/t_mktime.c
112
errno = 0;
tests/lib/libc/time/t_mktime.c
128
errno = 0;
tests/lib/libc/time/t_mktime.c
139
errno = 0;
tests/lib/libc/time/t_mktime.c
74
errno = 0;
tests/lib/libc/time/t_mktime.c
92
errno = 0;
tests/lib/libc/time/t_strptime.c
559
error = errno;
tests/lib/libc/ttyio/t_ptm.c
133
if (errno == ENOENT || errno == ENODEV)
tests/lib/libc/ttyio/t_ptm.c
134
atf_tc_skip("/dev/ptmx: %s", strerror(errno));
tests/lib/libc/ttyio/t_ptm.c
136
atf_tc_fail("/dev/ptmx: %s", strerror(errno));
tests/lib/libc/ttyio/t_ptm.c
181
if (errno == ENOENT || errno == ENODEV)
tests/lib/libc/ttyio/t_ptm.c
182
atf_tc_skip("/dev/ptmx: %s", strerror(errno));
tests/lib/libc/ttyio/t_ptm.c
184
atf_tc_fail("/dev/ptmx: %s", strerror(errno));
tests/lib/libc/ttyio/t_ptm.c
50
ATF_REQUIRE_MSG(x != v, "%s: %s", #x, strerror(errno))
tests/lib/libc/ttyio/t_ptm.c
68
if (errno == ENOENT || errno == ENODEV)
tests/lib/libc/ttyio/t_ptm.c
69
atf_tc_skip("/dev/ptm: %s", strerror(errno));
tests/lib/libc/ttyio/t_ptm.c
70
atf_tc_fail("/dev/ptm: %s", strerror(errno));
tests/lib/libc/ttyio/t_ttyio.c
103
atf_tc_fail("fork(): %s", strerror(errno));
tests/lib/libc/ttyio/t_ttyio.c
118
atf_tc_fail("fork(): %s", strerror(errno));
tests/lib/libc/ttyio/t_ttyio.c
146
(void)printf("parent: tcsetattr: %s\n", strerror(errno));
tests/lib/libc/ttyio/t_ttyio.c
61
#define REQUIRE_ERRNO(x, v) ATF_REQUIRE_MSG(x != v, "%s: %s", #x, strerror(errno))
tests/lib/libcurses/director/testlang_parse.y
2105
if (errno == EAGAIN)
tests/lib/libcurses/director/testlang_parse.y
552
if (errno != EINTR)
tests/lib/libi386/t_user_ldt.c
155
ATF_REQUIRE_EQ(errno, EINVAL);
tests/lib/libi386/t_user_ldt.c
161
ATF_REQUIRE_EQ(errno, EACCES);
tests/lib/libi386/t_user_ldt.c
167
ATF_REQUIRE_EQ(errno, EACCES);
tests/lib/libi386/t_user_ldt.c
174
ATF_REQUIRE_EQ(errno, EACCES);
tests/lib/libi386/t_user_ldt.c
182
ATF_REQUIRE_EQ(errno, EINVAL);
tests/lib/libi386/t_user_ldt.c
58
user_ldt_supported = (ret != -1) || (errno != ENOSYS && errno != EPERM);
tests/lib/libm/t_errhandling.c
73
errno = 0;
tests/lib/libm/t_errhandling.c
85
ATF_CHECK_EQ_MSG(errno, EDOM, "errno=%d", errno);
tests/lib/libm/t_log.c
74
errno = 0; \
tests/lib/libm/t_log.c
76
_checknan_error = errno; \
tests/lib/libm/t_log.c
77
ATF_CHECK_EQ_MSG(errno, EDOM, \
tests/lib/libm/t_log.c
88
errno = 0; \
tests/lib/libm/t_log.c
90
_checknan_error = errno; \
tests/lib/libm/t_log.c
91
ATF_CHECK_EQ_MSG(errno, EDOM, \
tests/lib/libm/t_scalbn.c
240
errno = 0;
tests/lib/libm/t_scalbn.c
242
ATF_CHECK_EQ_MSG(errno, tests[i].error,
tests/lib/libm/t_scalbn.c
243
"test %zu: errno %d instead of %d", i, errno,
tests/lib/libm/t_scalbn.c
385
errno = 0;
tests/lib/libm/t_scalbn.c
387
ATF_CHECK_EQ_MSG(errno, tests[i].error,
tests/lib/libm/t_scalbn.c
388
"test %zu: errno %d instead of %d", i, errno,
tests/lib/libm/t_scalbn.c
86
errno = 0;
tests/lib/libm/t_scalbn.c
91
ATF_CHECK_EQ_MSG(errno, tests[i].error,
tests/lib/libm/t_scalbn.c
92
"test %zu: errno %d instead of %d", i, errno,
tests/lib/libm/t_scalbn.c
95
ATF_CHECK_EQ_MSG(errno, tests[i].error,
tests/lib/libnvmm/h_io_assist.c
121
err(errno, "nvmm_vcpu_setstate");
tests/lib/libnvmm/h_io_assist.c
133
err(errno, "mmap");
tests/lib/libnvmm/h_io_assist.c
137
err(errno, "mmap");
tests/lib/libnvmm/h_io_assist.c
140
err(errno, "nvmm_hva_map");
tests/lib/libnvmm/h_io_assist.c
142
err(errno, "nvmm_hva_map");
tests/lib/libnvmm/h_io_assist.c
146
err(errno, "nvmm_gpa_map");
tests/lib/libnvmm/h_io_assist.c
150
err(errno, "nvmm_gpa_map");
tests/lib/libnvmm/h_io_assist.c
155
err(errno, "mmap");
tests/lib/libnvmm/h_io_assist.c
159
err(errno, "mmap");
tests/lib/libnvmm/h_io_assist.c
163
err(errno, "mmap");
tests/lib/libnvmm/h_io_assist.c
167
err(errno, "mmap");
tests/lib/libnvmm/h_io_assist.c
170
err(errno, "nvmm_hva_map");
tests/lib/libnvmm/h_io_assist.c
172
err(errno, "nvmm_hva_map");
tests/lib/libnvmm/h_io_assist.c
174
err(errno, "nvmm_hva_map");
tests/lib/libnvmm/h_io_assist.c
176
err(errno, "nvmm_hva_map");
tests/lib/libnvmm/h_io_assist.c
181
err(errno, "nvmm_gpa_map");
tests/lib/libnvmm/h_io_assist.c
185
err(errno, "nvmm_gpa_map");
tests/lib/libnvmm/h_io_assist.c
189
err(errno, "nvmm_gpa_map");
tests/lib/libnvmm/h_io_assist.c
193
err(errno, "nvmm_gpa_map");
tests/lib/libnvmm/h_io_assist.c
235
err(errno, "nvmm_assist_io");
tests/lib/libnvmm/h_io_assist.c
248
err(errno, "nvmm_vcpu_run");
tests/lib/libnvmm/h_io_assist.c
376
err(errno, "nvmm_init");
tests/lib/libnvmm/h_io_assist.c
378
err(errno, "nvmm_machine_create");
tests/lib/libnvmm/h_io_assist.c
380
err(errno, "nvmm_vcpu_create");
tests/lib/libnvmm/h_mem_assist.c
223
err(errno, "nvmm_vcpu_getstate");
tests/lib/libnvmm/h_mem_assist.c
269
err(errno, "nvmm_vcpu_setstate");
tests/lib/libnvmm/h_mem_assist.c
281
err(errno, "mmap");
tests/lib/libnvmm/h_mem_assist.c
284
err(errno, "nvmm_hva_map");
tests/lib/libnvmm/h_mem_assist.c
288
err(errno, "nvmm_gpa_map");
tests/lib/libnvmm/h_mem_assist.c
293
err(errno, "mmap");
tests/lib/libnvmm/h_mem_assist.c
297
err(errno, "mmap");
tests/lib/libnvmm/h_mem_assist.c
301
err(errno, "mmap");
tests/lib/libnvmm/h_mem_assist.c
305
err(errno, "mmap");
tests/lib/libnvmm/h_mem_assist.c
308
err(errno, "nvmm_hva_map");
tests/lib/libnvmm/h_mem_assist.c
310
err(errno, "nvmm_hva_map");
tests/lib/libnvmm/h_mem_assist.c
312
err(errno, "nvmm_hva_map");
tests/lib/libnvmm/h_mem_assist.c
314
err(errno, "nvmm_hva_map");
tests/lib/libnvmm/h_mem_assist.c
319
err(errno, "nvmm_gpa_map");
tests/lib/libnvmm/h_mem_assist.c
323
err(errno, "nvmm_gpa_map");
tests/lib/libnvmm/h_mem_assist.c
327
err(errno, "nvmm_gpa_map");
tests/lib/libnvmm/h_mem_assist.c
331
err(errno, "nvmm_gpa_map");
tests/lib/libnvmm/h_mem_assist.c
361
err(errno, "nvmm_machine_create");
tests/lib/libnvmm/h_mem_assist.c
363
err(errno, "nvmm_vcpu_create");
tests/lib/libnvmm/h_mem_assist.c
373
err(errno, "nvmm_vcpu_destroy");
tests/lib/libnvmm/h_mem_assist.c
375
err(errno, "nvmm_machine_destroy");
tests/lib/libnvmm/h_mem_assist.c
409
err(errno, "nvmm_vcpu_getstate");
tests/lib/libnvmm/h_mem_assist.c
416
err(errno, "nvmm_vcpu_setstate");
tests/lib/libnvmm/h_mem_assist.c
427
err(errno, "mmap");
tests/lib/libnvmm/h_mem_assist.c
430
err(errno, "nvmm_hva_map");
tests/lib/libnvmm/h_mem_assist.c
434
err(errno, "nvmm_gpa_map");
tests/lib/libnvmm/h_mem_assist.c
449
err(errno, "nvmm_machine_create");
tests/lib/libnvmm/h_mem_assist.c
451
err(errno, "nvmm_vcpu_create");
tests/lib/libnvmm/h_mem_assist.c
461
err(errno, "nvmm_vcpu_destroy");
tests/lib/libnvmm/h_mem_assist.c
463
err(errno, "nvmm_machine_destroy");
tests/lib/libnvmm/h_mem_assist.c
471
err(errno, "nvmm_init");
tests/lib/libnvmm/h_mem_assist.c
83
err(errno, "nvmm_assist_mem");
tests/lib/libnvmm/h_mem_assist.c
96
err(errno, "nvmm_vcpu_run");
tests/lib/libposix/t_rename.c
71
ATF_REQUIRE_EQ(errno, ENOENT);
tests/lib/libposix/t_rename.c
80
ATF_REQUIRE_EQ(errno, ENOENT);
tests/lib/libpthread/t_fpu.c
83
"sched_yield failed: %s", strerror(errno));
tests/lib/libpthread/t_fpu.c
91
"sched_yield failed: %s", strerror(errno));
tests/lib/libpthread/t_mutex.c
322
ATF_REQUIRE_EQ(errno, ENOENT);
tests/lib/libpthread/t_preempt.c
87
ATF_REQUIRE_MSG(mem != NULL, "%s", strerror(errno));
tests/lib/libpthread/t_preempt.c
90
ATF_REQUIRE_MSG(fd != -1, "%s", strerror(errno));
tests/lib/libpthread/t_rwlock.c
101
"%s", strerror(errno));
tests/lib/libpthread/t_rwlock.c
110
"%s", strerror(errno));
tests/lib/libpthread/t_rwlock.c
115
"%s", strerror(errno));
tests/lib/libpthread/t_sem.c
111
ATF_REQUIRE_EQ_MSG(x, 0, "%s", strerror(errno))
tests/lib/libpthread/t_sem.c
124
ATF_REQUIRE_MSG(-1 != sysconf(_SC_SEMAPHORES), "%s", strerror(errno));
tests/lib/libpthread/t_sem.c
130
ATF_REQUIRE_MSG(semp != SEM_FAILED, "%s", strerror(errno));
tests/lib/libpthread/t_sem.c
163
ATF_REQUIRE_MSG(-1 != sysconf(_SC_SEMAPHORES), "%s", strerror(errno));
tests/lib/libpthread/t_sem.c
177
ATF_REQUIRE_EQ(errno, EAGAIN);
tests/lib/libpthread/t_sem.c
240
} while (ret == -1 && errno == EINTR);
tests/lib/libpthread/t_sem.c
245
ATF_REQUIRE(errno == EAGAIN);
tests/lib/libpthread/t_sigmask.c
232
strerror(errno));
tests/lib/libpthread/t_sigmask.c
246
if (select(1, NULL, NULL, NULL, NULL) == -1 && errno == EINTR)
tests/lib/libpthread/t_swapcontext.c
101
strerror(errno));
tests/lib/libpthread/t_swapcontext.c
79
strerror(errno));
tests/lib/librt/t_sem.c
102
ATF_REQUIRE_EQ(errno, EAGAIN);
tests/lib/librt/t_sem.c
304
ATF_REQUIRE(sem_destroy(sem) == -1 && errno == EINVAL);
tests/lib/librt/t_sem.c
308
ATF_REQUIRE(sem_close(&the_sem) == -1 && errno == EINVAL);
tests/lib/librt/t_sem.c
329
ATF_REQUIRE(sem2 == SEM_FAILED && errno == EEXIST);
tests/lib/librumpclient/h_execthr.c
127
errno = pthread_create(&pt, NULL,
tests/lib/librumpclient/h_execthr.c
129
if (errno != 0)
tests/lib/librumpclient/h_execthr.c
139
if (n != -1 || errno != EBADF)
tests/lib/librumpclient/h_execthr.c
176
errno = pthread_create(&pt, NULL,
tests/lib/librumpclient/h_execthr.c
178
if (errno != 0)
tests/lib/librumpclient/h_execthr.c
183
errno = pthread_create(&pt, NULL,
tests/lib/librumpclient/h_execthr.c
185
if (errno != 0)
tests/lib/librumpclient/h_execthr.c
207
errno = pthread_create(&pt, NULL,
tests/lib/librumpclient/h_execthr.c
209
if (errno != 0)
tests/lib/librumphijack/h_client.c
114
rv, errno);
tests/lib/librumphijack/h_client.c
130
if (fd != -1 || errno != ENFILE)
tests/lib/librumphijack/h_client.c
131
errx(EXIT_FAILURE, "unexpected fd8 %d %d", fd, errno);
tests/lib/librumphijack/h_client.c
135
errx(EXIT_FAILURE, "rump open %d %d", fd, errno);
tests/lib/libutil/t_parsedate.c
504
errno = 0;
tests/lib/libutil/t_parsedate.c
505
ATF_CHECK(parsedate("@-1", NULL, &tzoff) == (time_t)-1 && errno == 0);
tests/lib/libutil/t_parsedate.c
506
ATF_CHECK(parsedate("@-2", NULL, &tzoff) == (time_t)-2 && errno == 0);
tests/lib/libutil/t_parsedate.c
509
errno = 0;
tests/lib/libutil/t_parsedate.c
510
ATF_CHECK(parsedate("@junk", NULL, NULL) == (time_t)-1 && errno != 0);
tests/lib/libutil/t_parsedate.c
601
errno = 0;
tests/lib/libutil/t_parsedate.c
603
&& errno != 0);
tests/lib/libutil/t_parsedate.c
604
errno = 0;
tests/lib/libutil/t_parsedate.c
606
&& errno != 0);
tests/lib/libutil/t_parsedate.c
607
errno = 0;
tests/lib/libutil/t_parsedate.c
609
&& errno != 0);
tests/lib/libutil/t_parsedate.c
610
errno = 0;
tests/lib/libutil/t_parsedate.c
612
&& errno != 0);
tests/lib/libutil/t_parsedate.c
613
errno = 0;
tests/lib/libutil/t_parsedate.c
615
&& errno != 0);
tests/lib/libutil/t_parsedate.c
616
errno = 0;
tests/lib/libutil/t_parsedate.c
618
&& errno != 0);
tests/lib/semaphore/sem.c
148
if (errno == EBUSY)
tests/lib/semaphore/sem.c
250
ATF_REQUIRE_EQ(errno, ENOENT);
tests/lib/semaphore/sem.c
258
ATF_REQUIRE_EQ(errno, EEXIST);
tests/lib/semaphore/sem.c
275
ATF_REQUIRE_EQ(errno, EAGAIN);
tests/lib/semaphore/sem.c
282
ATF_REQUIRE_EQ(errno, EINVAL);
tests/lib/semaphore/sem.c
289
ATF_REQUIRE_EQ(errno, EAGAIN);
tests/lib/semaphore/sem.c
49
ATF_REQUIRE(errno == EAGAIN);
tests/lib/semaphore/sem.c
95
ATF_REQUIRE_EQ(errno, EINVAL);
tests/libexec/ld.elf_so/t_dladdr.c
113
ATF_CHECK_MSG(dladdr(&errno, &info) != 0,
tests/libexec/ld.elf_so/t_dladdr.c
114
"[errno @ %p] dladdr failed: %s", &errno, dlerror());
tests/libexec/ld.elf_so/t_dladdr.c
122
&errno, info.dli_fname);
tests/modules/k_helper3/k_helper3.c
82
errno = serrno = 0;
tests/modules/k_helper3/k_helper3.c
87
serrno = errno;
tests/modules/t_builtin.c
158
errno = 0;
tests/modules/t_builtin.c
161
int err = errno;
tests/modules/t_kcov.c
68
} while (fcntl(fd2, F_GETFL) != -1 || errno != EBADF);
tests/modules/t_modctl.c
102
int err = errno;
tests/modules/t_modctl.c
142
if (ret == -1 && errno != ENOENT) {
tests/modules/t_modctl.c
144
strerror(errno));
tests/modules/t_modctl.c
297
errno = err = 0;
tests/modules/t_modctl.c
300
err = errno;
tests/modules/t_modctl.c
323
errno = err = 0;
tests/modules/t_modctl.c
326
err = errno;
tests/modules/t_modctl.c
76
if (errno == ENOSYS)
tests/modules/t_modctl.c
78
else if (errno == EPERM)
tests/modules/t_modctl.c
80
ATF_REQUIRE_EQ_MSG(errno, 0, "unexpected error %d from "
tests/modules/t_modctl.c
81
"modctl(MODCTL_EXISTS, 0)", errno);
tests/modules/t_modctl.c
99
errno = 0;
tests/modules/t_ufetchstore.c
148
rv = errno;
tests/modules/ufetchstore/t_ufetchstore.c
148
rv = errno;
tests/net/bpfilter/t_bpfilter.c
311
e = errno;
tests/net/bpfilter/t_bpfilter.c
314
errno = e;
tests/net/can/h_canutils.c
115
errno = EWOULDBLOCK;
tests/net/can/h_canutils.c
153
errno = EWOULDBLOCK;
tests/net/can/t_can.c
154
if (errno == EWOULDBLOCK)
tests/net/can/t_can.c
268
ATF_CHECK_MSG(rv < 0 && errno == EDESTADDRREQ,
tests/net/can/t_can.c
395
ATF_CHECK_MSG(rv < 0 && errno == EDESTADDRREQ,
tests/net/can/t_can.c
579
if (errno == EWOULDBLOCK) {
tests/net/can/t_canfilter.c
168
if (errno == EWOULDBLOCK)
tests/net/can/t_canfilter.c
241
if (errno == EWOULDBLOCK)
tests/net/can/t_canfilter.c
369
if (errno == EWOULDBLOCK)
tests/net/fdpass/fdpass.c
128
(errno == EAGAIN || errno == EINTR)) {
tests/net/fdpass/fdpass.c
82
(errno == EAGAIN || errno == EINTR)) {
tests/net/icmp/t_ping.c
189
if (errno == ENOBUFS)
tests/net/icmp/t_ping.c
199
if (n == -1 && (errno == EAGAIN || errno == ENOBUFS))
tests/net/icmp/t_ping.c
431
if (errno == ENOBUFS)
tests/net/if_loop/t_pr.c
139
errno = ENOENT;
tests/net/if_loop/t_pr.c
148
return errno;
tests/net/if_vlan/bpfopen.c
175
log_debug("open: %s", strerror(errno));
tests/net/if_vlan/bpfopen.c
183
log_debug("BIOCSETIF: %s", strerror(errno));
tests/net/if_vlan/bpfopen.c
188
log_debug("BIOCPROMISC: %s", strerror(errno));
tests/net/if_vlan/bpfopen.c
219
strerror(errno), bufsiz);
tests/net/if_vlan/bpfopen.c
226
log_debug("malloc: %s", strerror(errno));
tests/net/if_vlan/bpfopen.c
243
if (nfds == -1 && errno != EINTR) {
tests/net/inpcb/broadcast_bind.c
55
(rc != 0 && expected_errno == errno)) {
tests/net/inpcb/broadcast_bind.c
61
expected_errno, errno);
tests/net/inpcb/inpcb_bind.c
113
if (close(*fds++) && errno != EBADF)
tests/net/inpcb/inpcb_bind.c
94
if (error && (expected == 0 || expected != errno)) {
tests/net/mcast/mcast.c
150
errno = EOPNOTSUPP;
tests/net/mcast/mcast.c
208
lasterrno = errno;
tests/net/mcast/mcast.c
227
lasterrno = errno;
tests/net/mcast/mcast.c
252
ERRX(EXIT_FAILURE, "poll (%s)", strerror(errno));
tests/net/mcast/mcast.c
258
ERRX(EXIT_FAILURE, "read (%s)", strerror(errno));
tests/net/mcast/mcast.c
261
ERRX(EXIT_FAILURE, "write (%s)", strerror(errno));
tests/net/mcast/mcast.c
286
ERRX(EXIT_FAILURE, "clock (%s)", strerror(errno));
tests/net/mcast/mcast.c
290
ERRX(EXIT_FAILURE, "clock (%s)", strerror(errno));
tests/net/mcast/mcast.c
299
ERRX(EXIT_FAILURE, "send (%s)", strerror(errno));
tests/net/mcast/mcast.c
330
ERRX(EXIT_FAILURE, "poll (%s)", strerror(errno));
tests/net/mcast/mcast.c
334
ERRX(EXIT_FAILURE, "recv (%s)", strerror(errno));
tests/net/mcast/mcast.c
357
ERRX(EXIT_FAILURE, "socketpair (%s)", strerror(errno));
tests/net/mcast/mcast.c
364
ERRX(EXIT_FAILURE, "fork (%s)", strerror(errno));
tests/net/mcast/mcast.c
370
ERRX(EXIT_FAILURE, "wait (%s)", strerror(errno));
tests/net/mcast/mcast.c
381
strerror(errno));
tests/net/net/t_ip_reass.c
149
ATF_REQUIRE_MSG(n >= 0, "packet write failed: %s", strerror(errno));
tests/net/net/t_ip_reass.c
174
if (fd < 0 && errno == ENOENT)
tests/net/net/t_ip_reass.c
176
ATF_REQUIRE_MSG(fd >= 0, "open(/dev/bpf0): %s", strerror(errno));
tests/net/net/t_ip_reass.c
191
ATF_REQUIRE_MSG(error == 0, "ioctl(BIOCSETIF): %s", strerror(errno));
tests/net/net/t_ip_reass.c
210
strerror(errno));
tests/net/net/t_pktinfo.c
53
#define ERR(msg) ATF_REQUIRE_MSG(0, "%s: %s", msg, strerror(errno))
tests/net/net/t_pktinfo_send.c
393
ATF_REQUIRE_MSG(errno == EISCONN,
tests/net/net/t_pktinfo_send.c
395
" but got %s", strerror(errno));
tests/net/net/t_pktinfo_send.c
425
ATF_REQUIRE_MSG(errno == EADDRNOTAVAIL,
tests/net/net/t_pktinfo_send.c
427
" should be EADDRNOTAVAIL, but got %s", strerror(errno));
tests/net/net/t_pktinfo_send.c
458
ATF_REQUIRE_MSG(errno == EADDRNOTAVAIL,
tests/net/net/t_pktinfo_send.c
460
" but got %s", strerror(errno));
tests/net/net/t_pktinfo_send.c
543
ATF_REQUIRE_MSG(errno == EADDRNOTAVAIL,
tests/net/net/t_pktinfo_send.c
545
" should be EADDRNOTAVAIL, but got %s", strerror(errno));
tests/net/net/t_pktinfo_send.c
571
" does nothing (no error), but error %s", strerror(errno));
tests/net/net/t_pktinfo_send.c
581
ATF_REQUIRE_MSG(errno == EADDRNOTAVAIL,
tests/net/net/t_pktinfo_send.c
583
" should be EADDRNOTAVAIL, but got %s", strerror(errno));
tests/net/net/t_tcp.c
111
errno = EINVAL;
tests/net/net/t_tcp.c
159
if (ok != -1 || errno != EINPROGRESS)
tests/net/net/t_tcp.c
174
if (ok == -1 && errno != EISCONN) {
tests/net/net/t_tcp.c
175
if (count-- && errno == EALREADY) {
tests/net/net/t_tcp.c
250
if (n == -1 && errno != EINTR)
tests/net/net/t_tcp.c
253
if (n != -1 || errno != EWOULDBLOCK)
tests/net/net/t_udp.c
38
strerror(errno));
tests/net/net/t_udp.c
42
strerror(errno));
tests/net/net/t_udp.c
47
strerror(errno));
tests/net/net/t_udp.c
52
strerror(errno));
tests/net/net/t_udp.c
56
strerror(errno));
tests/net/net/t_udp.c
61
strerror(errno));
tests/net/net/t_udp.c
65
strerror(errno));
tests/net/net/t_udp.c
69
strerror(errno));
tests/net/net/t_udp.c
73
strerror(errno));
tests/net/net/t_unix.c
267
if (errno == EINVAL && sl >= 256) {
tests/net/net/t_unix.c
413
"test(false, false, false, 254): %s", strerror(errno));
tests/net/net/t_unix.c
428
"test(false, false, false, 253): %s", strerror(errno));
tests/net/net/t_unix.c
442
"test(false, true, false, 100): %s", strerror(errno));
tests/net/net/t_unix.c
536
"test(true, true, false, 100): %s", strerror(errno));
tests/net/net/t_unix.c
550
"test(true, true, true, 100): %s", strerror(errno));
tests/net/tcp/t_tcp_connect_port.c
213
strerror(errno));
tests/net/tcp/t_tcp_connect_port.c
215
ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno));
tests/net/tcp/t_tcp_connect_port.c
217
ATF_REQUIRE_MSG(error == 0, "listen() failed: %s", strerror(errno));
tests/net/tcp/t_tcp_connect_port.c
227
strerror(errno));
tests/net/tcp/t_tcp_connect_port.c
240
i, strerror(errno));
tests/net/tcp/t_tcp_connect_port.c
245
i, strerror(errno));
tests/net/tcp/t_tcp_connect_port.c
251
i, strerror(errno));
tests/net/tcp/t_tcp_connect_port.c
258
i, strerror(errno));
tests/net/tcp/t_tcp_connect_port.c
283
i, strerror(errno));
tests/net/tcp/t_tcp_connect_port.c
288
i, strerror(errno));
tests/net/tcp/t_tcp_connect_port.c
293
i, strerror(errno));
tests/net/tcp/tcp_shutdown.c
102
if (e == -1 && errno != EINVAL)
tests/net/tcp/tcp_shutdown.c
108
if (e == -1 && errno != EINVAL)
tests/net/tcp/tcp_shutdown.c
121
if (e == -1 && errno != EINVAL)
tests/net/tcp/tcp_shutdown.c
127
if (e == -1 && errno != EINVAL)
tests/net/tcp/tcp_shutdown.c
87
if (e == -1 && errno != EINVAL)
tests/net/tcp/tcp_shutdown.c
94
if (e == -1 && errno != ECONNRESET)
tests/rump/rumpkern/h_client/h_forkcli.c
132
if (!(rv == -1 && errno == ESRCH))
tests/rump/rumpkern/t_modcmd.c
108
return errno;
tests/rump/rumpkern/t_modcmd.c
85
errno = ENOENT;
tests/rump/rumpkern/t_modcmd.c
93
return errno;
tests/rump/rumpkern/t_modcmd.c
99
errno = ENOENT;
tests/usr.bin/id/pwgr.c
140
errno = EINVAL;
tests/usr.sbin/inetd/t_inetd.c
184
if (errno == EAGAIN) {
tests/usr.sbin/inetd/t_inetd.c
217
if(errno == ECONNRESET || errno == EAGAIN) {
tests/usr.sbin/inetd/t_inetd.c
281
rpid, pid, strerror(errno));
tests/usr.sbin/inetd/t_inetd.c
49
"%s", strerror(errno))
tests/usr.sbin/inetd/test_server.c
49
strerror(errno));\
tools/compat/fgetln.c
46
errno = EINVAL;
tools/compat/fgetln.c
62
e = errno;
tools/compat/fgetln.c
64
errno = e;
tools/compat/flock.c
63
errno = EINVAL;
tools/compat/flock.c
70
if (rc && (errno == EAGAIN))
tools/compat/flock.c
71
errno = EWOULDBLOCK;
tools/compat/pread.c
49
olderrno = errno;
tools/compat/pread.c
51
errno = olderrno;
tools/compat/pwrite.c
49
olderrno = errno;
tools/compat/pwrite.c
51
errno = olderrno;
tools/m4/bootstrap/tokenizer.c
1418
int oerrno = errno;
tools/m4/bootstrap/tokenizer.c
1436
errno = oerrno;
tools/m4/bootstrap/tokenizer.c
1864
errno = 0;
tools/m4/bootstrap/tokenizer.c
1866
if (((l == LONG_MAX || l == LONG_MIN) && errno == ERANGE) ||
tools/m4/bootstrap/tokenizer.c
627
errno=0; \
tools/m4/bootstrap/tokenizer.c
630
if( errno != EINTR) \
tools/m4/bootstrap/tokenizer.c
635
errno=0; \
usr.bin/at/at.c
243
if (errno != ENOENT)
usr.bin/audiocfg/audiodev.c
81
if (errno == ENODEV) {
usr.bin/audiocfg/audiodev.c
85
if (errno == EINVAL)
usr.bin/audiocfg/main.c
174
errno = 0;
usr.bin/audiocfg/main.c
176
if (errno)
usr.bin/audiocfg/main.c
188
errno = 0;
usr.bin/audiocfg/main.c
190
if (errno)
usr.bin/audiocfg/main.c
207
errno = 0;
usr.bin/audiocfg/main.c
209
if (errno)
usr.bin/audiocfg/main.c
231
if (errno)
usr.bin/audiocfg/main.c
233
errno = 0;
usr.bin/audiocfg/main.c
235
if (errno)
usr.bin/audiocfg/main.c
238
errno = 0;
usr.bin/audiocfg/main.c
240
if (errno)
usr.bin/audiocfg/main.c
251
errno = 0;
usr.bin/audiocfg/main.c
253
if (errno)
usr.bin/base64/base64.c
123
return errno;
usr.bin/base64/base64.c
158
return errno;
usr.bin/base64/base64.c
164
return errno;
usr.bin/base64/base64.c
170
return errno;
usr.bin/base64/base64.c
71
return errno;
usr.bin/base64/base64.c
74
return errno;
usr.bin/base64/base64.c
80
return errno;
usr.bin/base64/base64.c
83
return errno;
usr.bin/bdes/bdes.c
369
(void)fprintf(stderr, "%s\n", s ? s : strerror(errno));
usr.bin/btkey/device.c
139
errno = ENODEV;
usr.bin/btkey/device.c
224
errno = ENODEV;
usr.bin/btkey/device.c
254
errno = ENODEV;
usr.bin/btpin/btpin.c
178
fprintf(stdout, "failed (%s)\n", strerror(errno));
usr.bin/cal/cal.c
874
errno = 0;
usr.bin/cal/cal.c
878
if (errno == ERANGE && result == ULONG_MAX)
usr.bin/calendar/calendar.c
143
errno = EPERM;
usr.bin/calendar/calendar.c
517
serrno = errno;
usr.bin/calendar/calendar.c
519
errno = serrno;
usr.bin/calendar/calendar.c
528
errno = EPERM;
usr.bin/calendar/calendar.c
531
errno = EPERM;
usr.bin/calendar/calendar.c
537
errno = EISDIR;
usr.bin/calendar/calendar.c
543
errno = EINVAL;
usr.bin/calendar/calendar.c
548
serrno = errno;
usr.bin/calendar/calendar.c
551
errno = serrno;
usr.bin/cdplay/cdplay.c
1147
int oerrno = errno;
usr.bin/cdplay/cdplay.c
1148
if (errno == EINVAL && start_digital("") == 0)
usr.bin/cdplay/cdplay.c
1150
errno = oerrno;
usr.bin/cdplay/cdplay.c
1379
if (errno == ENXIO) {
usr.bin/chflags/chflags.c
117
errno = 0;
usr.bin/chflags/chflags.c
120
errno = ERANGE;
usr.bin/chflags/chflags.c
121
if (errno)
usr.bin/chflags/chflags.c
194
if (errno)
usr.bin/chpass/chpass.c
262
if (errno != EEXIST)
usr.bin/chpass/chpass.c
267
if (errno != EEXIST)
usr.bin/chpass/field.c
111
errno = 0;
usr.bin/chpass/field.c
145
errno = 0;
usr.bin/cmp/cmp.c
127
errno = 0;
usr.bin/cmp/cmp.c
129
if (errno || ep == argv[2])
usr.bin/cmp/cmp.c
134
if (errno || ep == argv[3])
usr.bin/compress/compress.c
405
if (errno != EPERM)
usr.bin/compress/zopen.c
482
errno = EFTYPE;
usr.bin/compress/zopen.c
490
errno = EFTYPE;
usr.bin/compress/zopen.c
519
errno = EINVAL;
usr.bin/compress/zopen.c
660
errno = EINVAL;
usr.bin/config/main.c
683
if ((ret = unlink(q)) == -1 && errno != ENOENT)
usr.bin/crunch/crunchide/exec_aout.c
127
rc == -1? strerror(errno) : "short read");
usr.bin/crunch/crunchide/exec_aout.c
188
rc == -1? strerror(errno) : "short write");
usr.bin/crunch/crunchide/exec_elf32.c
80
rv == -1 ? strerror(errno) : "short read");
usr.bin/crunch/crunchide/exec_elf32.c
97
rv == -1 ? strerror(errno) : "short write");
usr.bin/csplit/csplit.c
124
errno = 0;
usr.bin/csplit/csplit.c
126
if (sufflen <= 0 || *ep != '\0' || errno != 0)
usr.bin/csplit/csplit.c
183
errno = 0;
usr.bin/csplit/csplit.c
185
if (reps < 0 || *ep != '}' || errno != 0)
usr.bin/csplit/csplit.c
384
errno = 0;
usr.bin/csplit/csplit.c
386
if (*ep != '\0' || errno != 0)
usr.bin/csplit/csplit.c
455
errno = 0;
usr.bin/csplit/csplit.c
457
if (tgtline <= 0 || errno != 0 || *ep != '\0')
usr.bin/diff/diff.c
336
if (!Nflag || errno != ENOENT)
usr.bin/diff/diff.c
346
if (!Nflag || errno != ENOENT)
usr.bin/diff/diffdir.c
189
if (!(Nflag || Pflag) || errno != ENOENT) {
usr.bin/diff/diffdir.c
198
if (!Nflag || errno != ENOENT) {
usr.bin/diff/diffdir.c
86
if (errno == ENOENT && (Nflag || Pflag)) {
usr.bin/diff/diffdir.c
98
if (errno == ENOENT && Nflag) {
usr.bin/du/du.c
251
if (errno)
usr.bin/env/env.c
168
int e = errno;
usr.bin/env/env.c
183
errno = e;
usr.bin/env/env.c
186
errno = e;
usr.bin/env/env.c
221
errno = e;
usr.bin/env/env.c
238
errno = e;
usr.bin/env/env.c
256
errno = e;
usr.bin/fdformat/fdformat.c
131
if (errno == ERANGE && (tmplong == LONG_MIN || \
usr.bin/fdformat/fdformat.c
245
if (errno == ENOTTY)
usr.bin/fdformat/fdformat.c
297
} else if (errno == EINVAL) {
usr.bin/fdformat/fdformat.c
301
} else if (errno == EIO) {
usr.bin/find/find.c
261
if (g_entry == NULL && errno)
usr.bin/find/function.c
204
errno = 0;
usr.bin/find/function.c
206
if (timestamp == -1 && errno != 0)
usr.bin/find/function.c
481
if (rmdir(entry->fts_accpath) < 0 && errno != ENOTEMPTY)
usr.bin/find/misc.c
152
oerrno = errno;
usr.bin/find/misc.c
167
errno = oerrno;
usr.bin/finger/util.c
427
if (errno != ENOENT) {
usr.bin/finger/util.c
429
"finger: %s: %s\n", tbuf, strerror(errno));
usr.bin/flock/flock.c
220
errno = 0;
usr.bin/flock/flock.c
222
if ((l == LONG_MIN || l == LONG_MAX) && errno == ERANGE)
usr.bin/flock/flock.c
247
if (errno != ENOENT ||
usr.bin/flock/flock.c
291
if (errno == EINTR && timeout_expired == 0)
usr.bin/fmt/fmt.c
192
errno = 0;
usr.bin/fmt/fmt.c
195
if ((errno == ERANGE && ul == ULONG_MAX) || ul > SIZE_T_MAX)
usr.bin/ftp/cmds.c
615
if (errno != ENOENT) {
usr.bin/ftp/fetch.c
161
switch (errno) {
usr.bin/ftp/fetch.c
1736
errno = 0;
usr.bin/ftp/fetch.c
1742
if (errno == ERANGE || chunksize < 0) {
usr.bin/ftp/fetch.c
1743
errno = ERANGE;
usr.bin/ftp/fetch.c
642
(error == EAI_SYSTEM) ? strerror(errno)
usr.bin/ftp/ftp.c
1002
if (errno != ENOENT && errno != EACCES) {
usr.bin/ftp/ftp.c
1018
if (!runique && errno == EACCES &&
usr.bin/ftp/ftp.c
1024
if (runique && errno == EACCES &&
usr.bin/ftp/ftp.c
1120
if (errno != EPIPE)
usr.bin/ftp/ftp.c
1183
errno = din_errno;
usr.bin/ftp/ftp.c
1184
if (errno != EPIPE)
usr.bin/ftp/ftp.c
1189
errno = fout_errno;
usr.bin/ftp/ftp.c
1766
} while (rv == -1 && (errno == EINTR || errno == EAGAIN));
usr.bin/ftp/ftp.c
178
(error == EAI_SYSTEM) ? strerror(errno)
usr.bin/ftp/ftp.c
1781
} while (s == -1 && (errno == EINTR || errno == EAGAIN));
usr.bin/ftp/ftp.c
1812
int oerrno = errno;
usr.bin/ftp/ftp.c
1817
errno = oerrno;
usr.bin/ftp/ftp.c
302
int oerrno = errno;
usr.bin/ftp/ftp.c
311
errno = oerrno;
usr.bin/ftp/ftp.c
317
int oerrno = errno;
usr.bin/ftp/ftp.c
325
errno = oerrno;
usr.bin/ftp/ftp.c
638
errno = 0;
usr.bin/ftp/ftp.c
645
if (errno == EINTR || errno == EAGAIN) {
usr.bin/ftp/ftp.c
658
if (errno == EINTR || errno == EAGAIN) {
usr.bin/ftp/ftp.c
686
serr = errno;
usr.bin/ftp/ftp.c
693
errno = serr;
usr.bin/ftp/ftp.c
849
if (errno != EPIPE)
usr.bin/ftp/ftp.c
879
errno = fin_errno;
usr.bin/ftp/ftp.c
883
errno = dout_errno;
usr.bin/ftp/ftp.c
884
if (errno != EPIPE)
usr.bin/ftp/main.c
466
(error == EAI_SYSTEM) ? strerror(errno)
usr.bin/ftp/progressbar.c
381
int oerrno = errno;
usr.bin/ftp/progressbar.c
388
errno = oerrno;
usr.bin/ftp/progressbar.c
81
int oerrno = errno;
usr.bin/ftp/progressbar.c
84
errno = oerrno;
usr.bin/ftp/ruserpass.c
109
if (errno != ENOENT)
usr.bin/ftp/ssl.c
122
} while (rv == -1 && (errno == EINTR || errno == EAGAIN));
usr.bin/ftp/ssl.c
126
errno = ETIMEDOUT;
usr.bin/ftp/ssl.c
130
errno = 0;
usr.bin/ftp/ssl.c
140
errno = EPIPE;
usr.bin/ftp/ssl.c
144
if (errno == EINTR || errno == EAGAIN)
usr.bin/ftp/ssl.c
188
errno = ENOMEM;
usr.bin/ftp/ssl.c
329
if (errno == EINTR || errno == EAGAIN)
usr.bin/ftp/ssl.c
387
errno = 0;
usr.bin/ftp/ssl.c
390
} while (rv == -1 && (errno == EINTR || errno == EAGAIN));
usr.bin/ftp/ssl.c
395
errno = ETIMEDOUT;
usr.bin/ftp/ssl.c
400
conn->iserr = errno;
usr.bin/ftp/ssl.c
471
conn->iserr = errno;
usr.bin/ftp/ssl.c
472
if (errno == EINTR || errno == EAGAIN)
usr.bin/ftp/ssl.c
504
errno = ENOMEM;
usr.bin/ftp/ssl.c
534
errno = ENOMEM;
usr.bin/ftp/ssl.c
701
} else if (rv == -1 && errno != EINTR && errno != EAGAIN) {
usr.bin/ftp/util.c
1369
saveerr = errno;
usr.bin/ftp/util.c
1373
errno = saveerr;
usr.bin/ftp/util.c
1404
if (errno != EINPROGRESS) { /* error isn't "please wait" */
usr.bin/ftp/util.c
1405
if (pe || (errno != EHOSTUNREACH))
usr.bin/ftp/util.c
1426
} while (rv == -1 && (errno == EINTR || errno == EAGAIN));
usr.bin/ftp/util.c
1429
errno = ETIMEDOUT;
usr.bin/ftp/util.c
1442
errno = error; /* BSD pending error */
usr.bin/ftp/util.c
1446
errno = EBADF; /* this shouldn't happen ... */
usr.bin/ftp/util.c
1494
if ((errno == EINTR) || (errno == EAGAIN)) {
usr.bin/ftp/util.c
1500
*fin_errno = errno;
usr.bin/ftp/util.c
1520
if ((errno == EINTR) || (errno == EAGAIN)) {
usr.bin/ftp/util.c
1526
*fout_errno = errno;
usr.bin/ftp/util.c
332
int oerrno = errno;
usr.bin/ftp/util.c
363
errno = oerrno;
usr.bin/ftp/util.c
955
int oerrno = errno;
usr.bin/ftp/util.c
962
errno = oerrno;
usr.bin/gcore/gcore.c
103
serrno = errno;
usr.bin/gcore/gcore.c
105
errno = serrno;
usr.bin/gcore/gcore.c
114
serrno = errno;
usr.bin/gcore/gcore.c
116
errno = serrno;
usr.bin/gcore/gcore.c
89
errno = 0;
usr.bin/gcore/gcore.c
94
if (errno == ERANGE && lval == ULONG_MAX)
usr.bin/gencat/gencat.c
177
if (errno == EEXIST) {
usr.bin/getaddrinfo/support.c
54
errno = 0;
usr.bin/getaddrinfo/support.c
58
if ((errno == ERANGE) && ((value == LONG_MAX) || (value == LONG_MIN)))
usr.bin/getconf/getconf.c
285
errno = 0;
usr.bin/getconf/getconf.c
288
if (errno != 0)
usr.bin/getconf/getconf.c
298
errno = 0;
usr.bin/getconf/getconf.c
300
if (errno != 0)
usr.bin/getconf/getconf.c
311
errno = 0;
usr.bin/getconf/getconf.c
313
if (errno != 0)
usr.bin/getconf/getconf.c
321
errno = 0;
usr.bin/getconf/getconf.c
323
if (errno != 0) {
usr.bin/getconf/getconf.c
324
if (a_flag && errno == EINVAL) {
usr.bin/getent/getent.c
162
errno = 0;
usr.bin/getent/getent.c
164
if (num == ULONG_MAX && errno == ERANGE)
usr.bin/grep/grep.c
410
errno = ERANGE;
usr.bin/grep/grep.c
424
errno = 0;
usr.bin/grep/grep.c
426
if (((errno == ERANGE) && (l == ULLONG_MAX)) ||
usr.bin/grep/grep.c
427
((errno == EINVAL) && (l == 0)))
usr.bin/grep/grep.c
430
errno = EINVAL;
usr.bin/grep/grep.c
515
errno = 0;
usr.bin/grep/grep.c
517
if (((errno == ERANGE) && (mcount == ULLONG_MAX)) ||
usr.bin/grep/grep.c
518
((errno == EINVAL) && (mcount == 0)))
usr.bin/grep/grep.c
521
errno = EINVAL;
usr.bin/grep/util.c
217
if (errno == ENOENT)
usr.bin/gzip/gzip.c
1137
if (errno != EPERM)
usr.bin/gzip/gzip.c
2031
if (dflag && s == NULL && errno == ENOENT) {
usr.bin/gzip/zuncompress.c
241
errno = EFTYPE;
usr.bin/gzip/zuncompress.c
250
errno = EFTYPE;
usr.bin/gzip/zuncompress.c
282
errno = EINVAL;
usr.bin/head/head.c
100
if ((linecnt == INTMAX_MAX && errno == ERANGE) ||
usr.bin/head/head.c
90
errno = 0;
usr.bin/head/head.c
92
if ((bytecnt == INTMAX_MAX && errno == ERANGE) ||
usr.bin/head/head.c
98
errno = 0;
usr.bin/hesinfo/hesinfo.c
101
if (errno == ENOENT)
usr.bin/hesinfo/hesinfo.c
68
if (errno == ENOEXEC)
usr.bin/hesinfo/hesinfo.c
82
if (errno == ENOENT)
usr.bin/iconv/iconv.c
121
serrno = errno;
usr.bin/iconv/iconv.c
129
errno = serrno;
usr.bin/iconv/iconv.c
130
if (ret == (size_t)-1 && errno != E2BIG) {
usr.bin/iconv/iconv.c
136
if (errno != EINVAL || in == inbuf)
usr.bin/last/want.c
103
if (ESPIPE != errno) {
usr.bin/ldd/ldd_elfxx.c
102
_rtld_error("%s: %s", path, strerror(errno));
usr.bin/locate/locate/locate.c
121
errno = EISDIR;
usr.bin/lock/lock.c
131
errno = 0;
usr.bin/lock/lock.c
134
&& errno == ERANGE)
usr.bin/lock/lock.c
288
&& errno != EINTR)
usr.bin/login/k5login.c
376
syslog(LOG_NOTICE, "fatal: %s", strerror(errno));
usr.bin/login/login_pam.c
162
errno = EPERM;
usr.bin/login/login_pam.c
172
errno = EPERM;
usr.bin/look/look.c
146
errno = EFBIG;
usr.bin/m4/eval.c
875
if (errno == EINVAL && mimic_gnu)
usr.bin/m4/gnum4.c
687
} while (cc > 0 || (cc == -1 && errno == EINTR));
usr.bin/m4/gnum4.c
691
if (errno != EINTR)
usr.bin/m4/gnum4.c
721
fname, strerror(errno));
usr.bin/m4/gnum4.c
748
fname, strerror(errno));
usr.bin/mail/dotlock.c
116
errno = EEXIST;
usr.bin/mail/dotlock.c
122
serrno = errno;
usr.bin/mail/dotlock.c
124
errno = serrno;
usr.bin/mail/dotlock.c
165
if (errno != EEXIST)
usr.bin/mail/dotlock.c
173
errno = EEXIST;
usr.bin/mail/dotlock.c
90
else if (errno == EEXIST && ntries < 5)
usr.bin/mail/fio.c
380
errno = EISDIR;
usr.bin/mail/lex.c
112
else if (errno != EBADF
usr.bin/mail/lex.c
114
&& errno != EOPNOTSUPP
usr.bin/mail/lex.c
117
warn("fstat(%d): errno=%d", fd, errno);
usr.bin/mail/lex.c
219
if (!isedit && errno == ENOENT)
usr.bin/mail/lex.c
234
errno = EISDIR;
usr.bin/mail/lex.c
243
errno = EINVAL;
usr.bin/mail/mime_codecs.c
138
if (ret == (size_t)-1 && errno != E2BIG) {
usr.bin/mail/mime_codecs.c
139
if (errno != EINVAL || in == inbuf) {
usr.bin/mail/mime_codecs.c
144
strerror(errno));
usr.bin/mail/mime_codecs.c
164
strerror(errno));
usr.bin/mail/mime_codecs.c
181
strerror(errno));
usr.bin/mail/mime_codecs.c
90
&& errno == EILSEQ) {
usr.bin/mail/mime_decode.c
802
strerror(errno));
usr.bin/mail/mime_detach.c
132
if (detach_ctl.ask && fd == -1 && errno == EEXIST) {
usr.bin/mail/popen.c
492
save_errno = errno;
usr.bin/mail/popen.c
504
errno = save_errno;
usr.bin/mail/sig.c
201
save_errno = errno;
usr.bin/mail/sig.c
215
errno = save_errno;
usr.bin/make/compat.c
371
if (retstat == -1 && errno != EINTR)
usr.bin/make/compat.c
376
Fatal("error in wait: %d: %s", retstat, strerror(errno));
usr.bin/make/cond.c
346
errno = 0;
usr.bin/make/cond.c
348
if (*end == '\0' && errno != ERANGE) {
usr.bin/make/dir.c
498
Error("Cannot open \".\": %s", strerror(errno));
usr.bin/make/filemon/filemon_dev.c
141
error = errno;
usr.bin/make/filemon/filemon_dev.c
148
errno = error;
usr.bin/make/filemon/filemon_dev.c
79
error = errno;
usr.bin/make/filemon/filemon_dev.c
88
errno = error;
usr.bin/make/filemon/filemon_ktrace.c
209
error = errno;
usr.bin/make/filemon/filemon_ktrace.c
215
error = errno;
usr.bin/make/filemon/filemon_ktrace.c
233
errno = error;
usr.bin/make/filemon/filemon_ktrace.c
259
error = errno;
usr.bin/make/filemon/filemon_ktrace.c
261
error = errno;
usr.bin/make/filemon/filemon_ktrace.c
266
errno = error;
usr.bin/make/filemon/filemon_ktrace.c
358
error = errno;
usr.bin/make/filemon/filemon_ktrace.c
362
error = errno;
usr.bin/make/filemon/filemon_ktrace.c
364
error = errno;
usr.bin/make/filemon/filemon_ktrace.c
377
errno = error;
usr.bin/make/filemon/filemon_ktrace.c
531
if (errno == EAGAIN || errno == EINTR)
usr.bin/make/filemon/filemon_ktrace.c
559
errno = EIO;
usr.bin/make/filemon/filemon_ktrace.c
579
errno = EIO;
usr.bin/make/job.c
1299
job->node->name, strerror(errno));
usr.bin/make/job.c
1383
file, strerror(errno));
usr.bin/make/job.c
1395
while (write(fd, &c, 1) == -1 && errno == EAGAIN)
usr.bin/make/job.c
1560
Punt("fork: %s", strerror(errno));
usr.bin/make/job.c
1646
job->node->name, strerror(errno));
usr.bin/make/job.c
1870
if (errno == EAGAIN)
usr.bin/make/job.c
2045
} while (nready < 0 && errno == EINTR);
usr.bin/make/job.c
2048
Punt("poll: %s", strerror(errno));
usr.bin/make/job.c
2055
count == 0 ? "EOF" : strerror(errno));
usr.bin/make/job.c
2619
tok, strerror(errno));
usr.bin/make/job.c
2719
if (errno != EAGAIN)
usr.bin/make/job.c
2720
Fatal("job pipe read: %s", strerror(errno));
usr.bin/make/job.c
615
Punt("JobsTable_Lock: %s", strerror(errno));
usr.bin/make/job.c
630
Punt("SetNonblocking.get: %s", strerror(errno));
usr.bin/make/job.c
633
Punt("SetNonblocking.set: %s", strerror(errno));
usr.bin/make/job.c
640
Punt("SetCloseOnExec: %s", strerror(errno));
usr.bin/make/job.c
650
Punt("JobCreatePipe: %s", strerror(errno));
usr.bin/make/main.c
1335
strerror(errno));
usr.bin/make/main.c
1429
progname, strerror(errno));
usr.bin/make/main.c
1446
progname, curdir, strerror(errno));
usr.bin/make/main.c
1804
} while (bytes_read > 0 || (bytes_read == -1 && errno == EINTR));
usr.bin/make/main.c
1806
saved_errno = errno;
usr.bin/make/main.c
1952
errno = EISDIR;
usr.bin/make/main.c
1966
if (written == -1 && errno == EAGAIN)
usr.bin/make/main.c
1983
progname, func, arg, strerror(errno));
usr.bin/make/main.c
2212
Punt("mkstemp %s: %s", tfile, strerror(errno));
usr.bin/make/main.c
361
progname, argvalue, strerror(errno));
usr.bin/make/main.c
366
progname, strerror(errno));
usr.bin/make/main.c
746
progname, path, strerror(errno));
usr.bin/make/main.c
985
progname, strerror(errno));
usr.bin/make/make_malloc.c
41
(void)fprintf(stderr, "%s: %s\n", progname, strerror(errno));
usr.bin/make/meta.c
145
Punt("Could not dup filemon output: %s", strerror(errno));
usr.bin/make/meta.c
149
Punt("Could not set filemon file descriptor: %s", strerror(errno));
usr.bin/make/meta.c
1571
} else if (errno == ENOENT) {
usr.bin/make/meta.c
173
error = errno;
usr.bin/make/meta.c
1756
Punt("pipe: %s", strerror(errno));
usr.bin/make/meta.c
1802
if (errno == EINTR)
usr.bin/make/meta.c
189
strerror(errno));
usr.bin/make/meta.c
191
error = errno;
usr.bin/make/meta.c
460
Punt("Could not open meta file '%s': %s", fname, strerror(errno));
usr.bin/make/meta.c
480
strerror(errno));
usr.bin/make/meta.c
646
Punt("Could not set filemon pid: %s", strerror(errno));
usr.bin/make/meta.c
710
Punt("getcwd: %s", strerror(errno));
usr.bin/make/meta.c
764
error = errno;
usr.bin/make/meta.c
765
Punt("filemon failed: %s", strerror(errno));
usr.bin/make/meta.c
792
error = errno;
usr.bin/make/parse.c
370
Error("%s: %s", path, strerror(errno));
usr.bin/make/util.c
21
extern int errno, sys_nerr;
usr.bin/make/util.c
239
extern int errno;
usr.bin/make/util.c
248
"getwd: Cannot stat \"/\" (%s)", strerror(errno));
usr.bin/make/util.c
259
"getwd: Cannot stat \".\" (%s)", strerror(errno));
usr.bin/make/util.c
278
nextpathptr, strerror(errno));
usr.bin/make/util.c
284
nextpathptr, strerror(errno));
usr.bin/make/util.c
306
d->d_name, strerror(errno));
usr.bin/make/util.c
74
errno = EINVAL;
usr.bin/make/util.c
95
errno = EINVAL;
usr.bin/make/var.c
2297
errno = 0;
usr.bin/make/var.c
2302
if ((n == LONG_MIN || n == LONG_MAX) && errno == ERANGE)
usr.bin/make/var.c
2321
errno = 0;
usr.bin/make/var.c
2323
if (n == ULONG_MAX && errno == ERANGE)
usr.bin/make/var.c
2342
errno = 0;
usr.bin/make/var.c
2344
if (n == ULONG_MAX && errno == ERANGE)
usr.bin/make/var.c
2542
errno = 0;
usr.bin/make/var.c
2544
if (n == ULONG_MAX && errno == ERANGE)
usr.bin/make/var.c
2901
word.start, strerror(errno));
usr.bin/midiplay/midiplay.c
714
errno = 0;
usr.bin/midiplay/midiplay.c
717
(errno == ERANGE &&
usr.bin/mkubootimage/mkubootimage.c
311
return errno;
usr.bin/mkubootimage/mkubootimage.c
382
return errno;
usr.bin/mkubootimage/mkubootimage.c
418
return errno;
usr.bin/mkubootimage/mkubootimage.c
424
return errno;
usr.bin/mkubootimage/mkubootimage.c
433
return errno;
usr.bin/mkubootimage/mkubootimage.c
440
return errno;
usr.bin/mkubootimage/mkubootimage.c
448
return errno;
usr.bin/mkubootimage/mkubootimage.c
482
errno = 0;
usr.bin/mkubootimage/mkubootimage.c
484
if (*ep != '\0' || (errno == ERANGE &&
usr.bin/mkubootimage/mkubootimage.c
493
errno = 0;
usr.bin/mkubootimage/mkubootimage.c
495
if (*ep != '\0' || (errno == ERANGE &&
usr.bin/mkubootimage/mkubootimage.c
508
errno = 0;
usr.bin/mkubootimage/mkubootimage.c
510
if (*ep != '\0' || (errno == ERANGE &&
usr.bin/msgs/msgs.c
273
exit(errno);
usr.bin/msgs/msgs.c
330
exit(errno);
usr.bin/msgs/msgs.c
345
exit(errno);
usr.bin/msgs/msgs.c
353
exit(errno);
usr.bin/msgs/msgs.c
437
exit(errno);
usr.bin/nbperf/nbperf.c
152
errno = 0;
usr.bin/nbperf/nbperf.c
154
if (errno || eos[0] || !nbperf.c)
usr.bin/nbperf/nbperf.c
164
errno = 0;
usr.bin/nbperf/nbperf.c
166
if (errno || eos == optarg || eos[0] ||
usr.bin/nc/atomicio.c
54
if (errno == EINTR)
usr.bin/nc/atomicio.c
56
if ((errno == EAGAIN) || (errno == ENOBUFS)) {
usr.bin/nc/atomicio.c
62
errno = EPIPE;
usr.bin/nc/netcat.c
1001
errno = save_errno;
usr.bin/nc/netcat.c
1018
if ((ret = connect(s, name, namelen)) != 0 && errno == EINPROGRESS) {
usr.bin/nc/netcat.c
1025
errno = optval;
usr.bin/nc/netcat.c
1029
errno = ETIMEDOUT;
usr.bin/nc/netcat.c
1078
save_errno = errno;
usr.bin/nc/netcat.c
1080
errno = save_errno;
usr.bin/nc/netcat.c
1321
if (n == -1 && (errno == EAGAIN || errno == EINTR))
usr.bin/nc/netcat.c
1349
if (n == -1 && (errno == EAGAIN || errno == EINTR))
usr.bin/nc/netcat.c
1403
if (errno == EAGAIN || errno == EINTR) {
usr.bin/nc/netcat.c
815
errno = ENAMETOOLONG;
usr.bin/nc/netcat.c
820
save_errno = errno;
usr.bin/nc/netcat.c
822
errno = save_errno;
usr.bin/nc/netcat.c
916
errno = ENAMETOOLONG;
usr.bin/nc/netcat.c
920
save_errno = errno;
usr.bin/nc/netcat.c
922
errno = save_errno;
usr.bin/nc/netcat.c
999
save_errno = errno;
usr.bin/netstat/atalk.c
295
NULL, 0) == -1 && errno != ENOMEM)
usr.bin/netstat/bpf.c
57
== -1 && errno != ENOMEM)
usr.bin/netstat/bpf.c
98
if (rc == -1 && errno != ENOMEM)
usr.bin/netstat/fast_ipsec.c
123
if (errno == ENOENT)
usr.bin/netstat/fast_ipsec.c
125
if (errno != ENOMEM)
usr.bin/netstat/fast_ipsec.c
132
if (status < 0 && errno != ENOMEM)
usr.bin/netstat/fast_ipsec.c
138
if (status < 0 && errno != ENOMEM)
usr.bin/netstat/fast_ipsec.c
144
if (status < 0 && errno != ENOMEM)
usr.bin/netstat/fast_ipsec.c
150
if (status < 0 && errno != ENOMEM)
usr.bin/netstat/inet.c
246
if (errno == ENOENT) {
usr.bin/netstat/inet.c
408
NULL, 0) == -1 && errno != ENOMEM)
usr.bin/netstat/inet.c
550
NULL, 0) == -1 && errno != ENOMEM)
usr.bin/netstat/inet.c
604
NULL, 0) == -1 && errno != ENOMEM)
usr.bin/netstat/inet.c
697
NULL, 0) == -1 && errno != ENOMEM)
usr.bin/netstat/inet.c
755
NULL, 0) == -1 && errno != ENOMEM)
usr.bin/netstat/inet.c
802
NULL, 0) == -1 && errno != ENOMEM)
usr.bin/netstat/inet.c
898
NULL, 0) == -1 && errno != ENOMEM)
usr.bin/netstat/inet6.c
1158
&size, NULL, 0) == -1 && errno != ENOMEM)
usr.bin/netstat/inet6.c
1323
NULL, 0) == -1 && errno != ENOMEM)
usr.bin/netstat/inet6.c
1360
NULL, 0) == -1 && errno != ENOMEM)
usr.bin/netstat/inet6.c
421
NULL, 0) == -1 && errno != ENOMEM)
usr.bin/netstat/inet6.c
512
NULL, 0) == -1 && errno != ENOMEM)
usr.bin/netstat/inet6.c
656
NULL, 0) == -1 && errno != ENOMEM)
usr.bin/netstat/main.c
486
errno = 0;
usr.bin/netstat/main.c
488
if (*cp != '\0' || errno == ERANGE)
usr.bin/netstat/mbuf.c
206
if (errno == ENOENT)
usr.bin/netstat/pfkey.c
125
NULL, 0) == -1 && errno != ENOMEM)
usr.bin/netstat/pfsync.c
86
&size, NULL, 0) == -1 && errno != ENOMEM)
usr.bin/newgrp/grutil.c
127
errno = EINVAL;
usr.bin/newgrp/grutil.c
231
errno = EINVAL;
usr.bin/newgrp/grutil.c
265
errno = EPERM;
usr.bin/newgrp/grutil.c
290
switch (errno) {
usr.bin/newgrp/grutil.c
316
switch(errno) {
usr.bin/newgrp/grutil.c
63
oerrno = errno;
usr.bin/newgrp/grutil.c
65
errno = oerrno;
usr.bin/newsyslog/newsyslog.c
447
if (errno == ENOENT && (log->flags & CE_CREATE) != 0) {
usr.bin/newsyslog/newsyslog.c
457
} else if (errno == ENOENT) {
usr.bin/newsyslog/newsyslog.c
460
} else if (errno != 0)
usr.bin/nice/nice.c
101
errno = 0;
usr.bin/nice/nice.c
103
if (errno) {
usr.bin/nice/nice.c
112
err((errno == ENOENT || errno == ENOTDIR) ? 127 : 126, "%s", argv[0]);
usr.bin/nice/nice.c
83
errno = 0;
usr.bin/nl/nl.c
178
errno = 0;
usr.bin/nl/nl.c
181
((val == LONG_MIN || val == LONG_MAX) && errno != 0))
usr.bin/nl/nl.c
187
errno = 0;
usr.bin/nl/nl.c
190
(uval == ULONG_MAX && errno != 0))
usr.bin/nl/nl.c
210
errno = 0;
usr.bin/nl/nl.c
213
((val == LONG_MIN || val == LONG_MAX) && errno != 0))
usr.bin/nl/nl.c
219
errno = 0;
usr.bin/nl/nl.c
222
((val == LONG_MIN || val == LONG_MAX) && errno != 0))
usr.bin/nohup/nohup.c
131
(void)fprintf(stderr, "nohup: %s\n", strerror(errno));
usr.bin/nohup/nohup.c
85
(void)fprintf(stdin, "nohup: %s\n", strerror(errno));
usr.bin/nohup/nohup.c
94
exit_status = (errno == ENOENT) ? EXIT_NOTFOUND : EXIT_NOEXEC;
usr.bin/nohup/nohup.c
95
(void)fprintf(stderr, "nohup: %s: %s\n", argv[0], strerror(errno));
usr.bin/passwd/local_passwd.c
75
errno = EACCES;
usr.bin/passwd/yp_passwd.c
301
errno = EACCES;
usr.bin/passwd/yp_passwd.c
436
errno = EACCES;
usr.bin/patch/inp.c
230
strerror(errno));
usr.bin/patch/inp.c
235
strerror(errno));
usr.bin/patch/inp.c
257
fatal("can't fork: %s\n", strerror(errno));
usr.bin/patch/mkpath.c
69
if (errno != ENOENT || (mkdir(path, 0777) &&
usr.bin/patch/mkpath.c
70
errno != EEXIST)) {
usr.bin/patch/util.c
160
if (errno != EXDEV || copy_file(orig, bakname) < 0)
usr.bin/patch/util.c
245
int errnum = errno;
usr.bin/patch/util.c
443
errno = EOVERFLOW;
usr.bin/patch/util.c
81
strerror(errno));
usr.bin/patch/util.c
89
if (errno != EXDEV || copy_file(from, to) < 0) {
usr.bin/patch/util.c
91
to, from, strerror(errno));
usr.bin/pathchk/pathchk.c
104
errno = 0;
usr.bin/pathchk/pathchk.c
106
if (namemax == -1 && errno != 0)
usr.bin/pathchk/pathchk.c
124
if (!pflag && stat(pathd, &sb) == -1 && errno != ENOENT) {
usr.bin/pathchk/pathchk.c
140
errno = 0;
usr.bin/pathchk/pathchk.c
143
if (namemax == -1 && errno != 0)
usr.bin/pathchk/pathchk.c
152
errno = 0;
usr.bin/pathchk/pathchk.c
154
if (pathmax == -1 && errno != 0)
usr.bin/pkill/pkill.c
508
if (errno != ESRCH)
usr.bin/pkill/pkill.c
530
errno = 0;
usr.bin/pkill/pkill.c
532
errno != 0) {
usr.bin/pkill/pkill.c
658
if (errno == ENOENT)
usr.bin/pkill/pkill.c
698
if (errno != EWOULDBLOCK) {
usr.bin/pmap/main.c
151
errno = 0;
usr.bin/pmap/main.c
155
if (errno != 0)
usr.bin/pmap/main.c
171
errno = 0;
usr.bin/pmap/main.c
175
if (errno != 0)
usr.bin/pmap/main.c
191
errno = 0;
usr.bin/pmap/main.c
194
errno = EINVAL;
usr.bin/pmap/main.c
197
if (errno != 0)
usr.bin/pmap/main.c
298
errno = 0;
usr.bin/pmap/main.c
301
errno = EINVAL;
usr.bin/pmap/main.c
305
if (errno != 0)
usr.bin/pmap/main.c
313
errno = 0;
usr.bin/pmap/main.c
319
errno = EPERM;
usr.bin/pmap/main.c
325
errno = ESRCH;
usr.bin/pmap/main.c
331
errno = EPERM;
usr.bin/pmap/main.c
335
if (errno != 0) {
usr.bin/pr/pr.c
1326
strerror(errno));
usr.bin/pr/pr.c
1351
strerror(errno));
usr.bin/pr/pr.c
1365
argv[eoptind], strerror(errno));
usr.bin/pr/pr.c
1383
strerror(errno));
usr.bin/pr/pr.c
1394
argv[eoptind], strerror(errno));
usr.bin/pr/pr.c
1608
(void)fprintf(errf, "pr: write failure, %s\n", strerror(errno));
usr.bin/printf/printf.c
715
errno = 0;
usr.bin/printf/printf.c
749
errno = 0;
usr.bin/printf/printf.c
772
errno = 0;
usr.bin/printf/printf.c
830
if (errno == ERANGE) {
usr.bin/progress/progress.c
233
} while (nr < 0 && errno == EINTR);
usr.bin/progress/progress.c
243
if (errno == EINTR) {
usr.bin/progress/progress.c
266
if (deadpid == -1 && errno == EINTR)
usr.bin/pwait/pwait.c
137
errno = 0;
usr.bin/pwait/pwait.c
139
if (pidl < 0 || *end != '\0' || errno != 0) {
usr.bin/qsubst/qsubst.c
547
__progname, strerror(errno));
usr.bin/quota/printquota.c
252
errno = 0;
usr.bin/quota/printquota.c
259
return errno;
usr.bin/quota/quota.c
500
if (errno == EOPNOTSUPP || errno == ENXIO) {
usr.bin/quota/quota.c
519
if (errno != ENOENT && errno != ENODEV) {
usr.bin/rdist/docmd.c
309
strerror(errno));
usr.bin/rdist/docmd.c
391
error("%s: %s\n", stamp, strerror(errno));
usr.bin/rdist/docmd.c
403
error("%s: %s\n", tempfile, strerror(errno));
usr.bin/rdist/docmd.c
460
error("%s: %s\n", name, strerror(errno));
usr.bin/rdist/docmd.c
494
error("%s: %s\n", target, strerror(errno));
usr.bin/rdist/docmd.c
549
error("%s: %s\n", file, strerror(errno));
usr.bin/rdist/docmd.c
553
error("%s: %s\n", file, strerror(errno));
usr.bin/rdist/docmd.c
598
error("%s: %s\n", file, strerror(errno));
usr.bin/rdist/expand.c
317
errno = ENOTDIR;
usr.bin/rdist/expand.c
337
strcat(path, strerror(errno));
usr.bin/rdist/server.c
1029
host, target, strerror(errno));
usr.bin/rdist/server.c
1034
host, target, strerror(errno));
usr.bin/rdist/server.c
1059
if (errno == ENOENT && chkparent(name) >= 0 &&
usr.bin/rdist/server.c
111
strerror(errno));
usr.bin/rdist/server.c
1130
note("%s: %s utimes: %s", host, file, strerror(errno));
usr.bin/rdist/server.c
1132
note("%s: %s chown: %s", host, file, strerror(errno));
usr.bin/rdist/server.c
1135
note("%s: %s chmod: %s", host, file, strerror(errno));
usr.bin/rdist/server.c
1242
error("%s:%s: %s\n", host, target, strerror(errno));
usr.bin/rdist/server.c
1264
error("%s:%s: %s\n", host, target, strerror(errno));
usr.bin/rdist/server.c
1343
error("%s:%s: %s\n", host, target, strerror(errno));
usr.bin/rdist/server.c
1353
error("%s:%s: %s\n", host, target, strerror(errno));
usr.bin/rdist/server.c
1374
error("%s\n", strerror(errno));
usr.bin/rdist/server.c
312
strerror(errno));
usr.bin/rdist/server.c
348
error("%s: %s\n", target, strerror(errno));
usr.bin/rdist/server.c
385
error("%s: %s\n", target, strerror(errno));
usr.bin/rdist/server.c
395
strerror(errno));
usr.bin/rdist/server.c
427
strerror(errno));
usr.bin/rdist/server.c
452
strerror(errno));
usr.bin/rdist/server.c
464
strerror(errno));
usr.bin/rdist/server.c
470
strerror(errno));
usr.bin/rdist/server.c
506
strerror(errno));
usr.bin/rdist/server.c
513
error("%s: %s\n", target, strerror(errno));
usr.bin/rdist/server.c
52
#define ack() do { if (write(rem, "\0\n", 2) < 0) error("ack failed: %s\n", strerror(errno)); } while (0)
usr.bin/rdist/server.c
522
error("write of file name failed: %s\n", strerror(errno));
usr.bin/rdist/server.c
53
#define err() do { if (write(rem, "\1\n", 2) < 0) error("err failed: %s\n", strerror(errno)); } while (0)
usr.bin/rdist/server.c
535
error("write of file data failed: %s\n", strerror(errno));
usr.bin/rdist/server.c
561
error("write of special failed: %s\n", strerror(errno));
usr.bin/rdist/server.c
625
error("write to remote failed: %s\n", strerror(errno));
usr.bin/rdist/server.c
717
if (errno == ENOENT) {
usr.bin/rdist/server.c
720
strerror(errno));
usr.bin/rdist/server.c
722
error("%s:%s: %s\n", host, target, strerror(errno));
usr.bin/rdist/server.c
732
error("write to remote failed: %s\n", strerror(errno));
usr.bin/rdist/server.c
738
error("write to remote failed: %s\n", strerror(errno));
usr.bin/rdist/server.c
834
strerror(errno));
usr.bin/rdist/server.c
837
errno = ENOTDIR;
usr.bin/rdist/server.c
838
} else if ((errno == ENOENT && mkdir(target, mode) == 0) ||
usr.bin/rdist/server.c
844
error("%s:%s: %s\n", host, target, strerror(errno));
usr.bin/rdist/server.c
879
if (errno != ENOENT || chkparent(new) < 0 ||
usr.bin/rdist/server.c
900
if (errno != ENOENT || chkparent(new) < 0 ||
usr.bin/rdist/server.c
944
badnew1: error("%s:%s: %s\n", host, new, strerror(errno));
usr.bin/rdist/server.c
975
badtarget: error("%s:%s: %s\n", host, target, strerror(errno));
usr.bin/realpath/realpath.c
120
if (eflag || errno != ENOENT) {
usr.bin/realpath/realpath.c
216
if (errno != ENOENT) {
usr.bin/renice/renice.c
128
errno = 0;
usr.bin/renice/renice.c
135
if ((v == LONG_MIN || v == LONG_MAX) && errno == ERANGE) {
usr.bin/renice/renice.c
149
errno = 0;
usr.bin/renice/renice.c
150
if ((oldprio = getpriority(which, who)) == -1 && errno != 0) {
usr.bin/resize/resize.c
197
int save = errno;
usr.bin/resize/resize.c
200
errno = save;
usr.bin/rfcomm_sppd/rfcomm_sppd.c
273
if (errno == EINTR)
usr.bin/rfcomm_sppd/rfcomm_sppd.c
348
errno = 0;
usr.bin/rfcomm_sppd/rfcomm_sppd.c
353
if (channel == ULONG_MAX && errno == ERANGE)
usr.bin/rfcomm_sppd/rfcomm_sppd.c
549
if (errno != EINTR) {
usr.bin/rfcomm_sppd/rfcomm_sppd.c
671
errno = ENOATTR;
usr.bin/rlogin/rlogin.c
442
if (n < 0 && errno == EINTR)
usr.bin/rlogin/rlogin.c
590
switch (errno) {
usr.bin/rlogin/rlogin.c
687
if (errno != EINTR)
usr.bin/rlogin/rlogin.c
701
if (errno == EINTR)
usr.bin/rpcinfo/rpcinfo.c
1523
errno = 0;
usr.bin/rpcinfo/rpcinfo.c
1526
(prognum == ULONG_MAX && errno == ERANGE))
usr.bin/rpcinfo/rpcinfo.c
1540
(vers == ULONG_MAX && errno == ERANGE))
usr.bin/rsh/getport.c
59
(errno == ERANGE &&
usr.bin/rsh/rsh.c
314
errno = 0;
usr.bin/rsh/rsh.c
318
if (errno != EAGAIN)
usr.bin/rsh/rsh.c
351
errno = 0;
usr.bin/rsh/rsh.c
357
if (errno == EIO)
usr.bin/rsh/rsh.c
359
if (errno == EINTR) {
usr.bin/rsh/rsh.c
369
if (errno != EINTR)
usr.bin/rsh/rsh.c
383
if (errno == EAGAIN)
usr.bin/rsh/rsh.c
412
if (errno != EINTR)
usr.bin/rump_allserver/rump_allserver.c
299
die(1, errno, "realloc etfs");
usr.bin/rump_allserver/rump_allserver.c
318
die(1, errno, "realloc");
usr.bin/rump_allserver/rump_allserver.c
328
die(1, errno, "realloc");
usr.bin/rump_allserver/rump_allserver.c
421
die(sflag, errno, "module load failed");
usr.bin/rump_allserver/rump_allserver.c
436
die(sflag, errno, "etfs hostpath open");
usr.bin/rump_allserver/rump_allserver.c
447
die(sflag, errno, "fstat etfs hostpath");
usr.bin/rump_allserver/rump_allserver.c
457
die(sflag, errno, "truncate");
usr.bin/rump_allserver/rump_allserver.c
773
die(sflag, errno, "could not read disk device");
usr.bin/rump_dhcpclient/bpf.c
178
return errno == EAGAIN ? 0 : -1;
usr.bin/rump_dhcpclient/bpf.c
74
} while (fd == -1 && errno == EBUSY);
usr.bin/rump_dhcpclient/configure.c
137
if (errno == EEXIST) {
usr.bin/rump_dhcpclient/configure.c
146
fprintf(stderr, "%s: add_route failed: %d\n", iface->name, errno);
usr.bin/rump_dhcpclient/configure.c
168
fprintf(stderr, "%s: add_route failed: %d\n", iface->name, errno);
usr.bin/rump_dhcpclient/configure.c
179
if (retval != 0 && errno != ENOENT && errno != ESRCH)
usr.bin/rump_dhcpclient/configure.c
180
fprintf(stderr,"%s: del_route: %d\n", iface->name, errno);
usr.bin/rump_dhcpclient/configure.c
408
if (retval == -1 && errno != EADDRNOTAVAIL)
usr.bin/rump_dhcpclient/configure.c
409
fprintf(stderr, "del_address failed: %d\n", errno);
usr.bin/rump_dhcpclient/configure.c
432
errno != EEXIST)
usr.bin/rump_dhcpclient/dhcp.c
269
errno = EINVAL;
usr.bin/rump_dhcpclient/dhcp.c
280
errno = ENOENT;
usr.bin/rump_dhcpclient/dhcp.c
353
errno = EINVAL;
usr.bin/rump_dhcpclient/dhcp.c
523
errno = ENOMEM;
usr.bin/rump_dhcpclient/main.c
77
sverrno = errno;
usr.bin/rump_dhcpclient/main.c
79
errno = sverrno;
usr.bin/rump_dhcpclient/net.c
161
errno = EINVAL;
usr.bin/rump_dhcpclient/net.c
166
errno = EINVAL;
usr.bin/rump_dhcpclient/net.c
171
errno = EINVAL;
usr.bin/rump_dhcpclient/net.c
467
errno = EINVAL;
usr.bin/rump_dhcpclient/net.c
474
errno = EINVAL;
usr.bin/rump_dhcpclient/net.c
478
errno = EINVAL;
usr.bin/rump_dhcpclient/net.c
484
errno = EINVAL;
usr.bin/rump_dhcpclient/net.c
498
errno = EINVAL;
usr.bin/rump_dhcpclient/net.c
94
errno = EINVAL;
usr.bin/scmdctl/i2cspi.c
64
err = errno;
usr.bin/scmdctl/i2cspi.c
68
err = errno;
usr.bin/scmdctl/i2cspi.c
86
err = errno;
usr.bin/scmdctl/i2cspi.c
90
err = errno;
usr.bin/scmdctl/uart.c
187
return errno;
usr.bin/scmdctl/uart.c
206
return errno;
usr.bin/scmdctl/uart.c
228
return errno;
usr.bin/scmdctl/uart.c
279
return errno;
usr.bin/scmdctl/uart.c
293
return errno;
usr.bin/scmdctl/uart.c
503
return errno;
usr.bin/script/script.c
168
if (errno != ENOTTY) /* For debugger. */
usr.bin/script/script.c
418
if (errno != ENOTTY) /* For debugger. */
usr.bin/sdiff/sdiff.c
116
if (errno == ENOENT && strcmp(source_file, "-") == 0)
usr.bin/sed/compile.c
742
errno = 0;
usr.bin/sed/compile.c
744
if (errno == ERANGE || nval > INT_MAX)
usr.bin/sed/main.c
196
errno = EOPNOTSUPP;
usr.bin/sed/process.c
583
errx(1, "%s: %s", outfname, strerror(errno ? errno : EIO));
usr.bin/sed/process.c
674
errx(1, "%s: %s", outfname, strerror(errno ? errno : EIO));
usr.bin/seq/seq.c
439
errno = 0;
usr.bin/seq/seq.c
442
if (errno == ERANGE)
usr.bin/shlock/shlock.c
143
switch(errno) {
usr.bin/shlock/shlock.c
189
switch(errno) {
usr.bin/shlock/shlock.c
197
dprintf("state unknown: %s\n", strerror(errno));
usr.bin/shlock/shlock.c
230
if (errno != ENOENT)
usr.bin/shlock/shlock.c
267
switch(errno) {
usr.bin/shlock/shlock.c
283
if (unlink(tmp2) == -1 && errno != ENOENT) {
usr.bin/shuffle/shuffle.c
147
errno = 0;
usr.bin/shuffle/shuffle.c
149
if ((number == LONG_MIN || number == LONG_MAX) && errno == ERANGE)
usr.bin/skeyinfo/skeyinfo.c
67
errno = EPERM;
usr.bin/skeyinit/skeyinit.c
358
|| errno != EWOULDBLOCK)
usr.bin/skeyinit/skeyinit.c
363
errno = EAGAIN;
usr.bin/sockstat/sockstat.c
265
errno = EINVAL;
usr.bin/sockstat/sockstat.c
280
errno = 0;
usr.bin/sockstat/sockstat.c
282
if (errno == 0 && x >= 0 && x <= 65535 && t == *e)
usr.bin/sockstat/sockstat.c
286
errno = EINVAL;
usr.bin/sockstat/sockstat.c
301
if (errno == ENOENT)
usr.bin/sockstat/sockstat.c
367
if (rc == -1 && errno != ENOMEM)
usr.bin/sort/sort.c
329
errno = 0;
usr.bin/stat/stat.c
342
errno == ENOENT &&
usr.bin/stat/stat.c
344
errno = ENOENT;
usr.bin/su/su.c
175
errno = 0;
usr.bin/su/su.c
177
if (errno)
usr.bin/su/su_pam.c
169
errno = 0;
usr.bin/su/su_pam.c
171
if (errno)
usr.bin/su/su_pam.c
389
logit("fork failed (%s)", strerror(errno));
usr.bin/su/su_pam.c
430
strerror(errno));
usr.bin/systat/bufcache.c
138
strerror(errno));
usr.bin/systat/bufcache.c
142
error("can't get \"vm.bufmem\": %s", strerror(errno));
usr.bin/systat/bufcache.c
245
error("can't get uvmexp: %s\n", strerror(errno));
usr.bin/systat/bufcache.c
279
error("can't get buffers size: %s\n", strerror(errno));
usr.bin/systat/bufcache.c
288
error("can't allocate buffers: %s\n", strerror(errno));
usr.bin/systat/bufcache.c
297
error("can't get buffers: %s\n", strerror(errno));
usr.bin/systat/fetch.c
56
a, strerror(errno));
usr.bin/systat/main.c
228
error("can't get \"kern.clockrate\": %s", strerror(errno));
usr.bin/systat/main.c
234
error("can't get \"vm.maxslp\": %s", strerror(errno));
usr.bin/systat/mbufs.c
134
error("error getting \"kern.mbuf.stats\": %s", strerror(errno));
usr.bin/systat/pigs.c
154
error("can't get \"hw.physmem64\": %s", strerror(errno));
usr.bin/systat/pigs.c
158
error("can't get \"kern.ccpu\": %s", strerror(errno));
usr.bin/systat/pigs.c
162
error("can't get \"kern.fscale\": %s", strerror(errno));
usr.bin/systat/swap.c
119
error("error: %s", strerror(errno));
usr.bin/systat/syscall.c
412
strerror(errno));
usr.bin/systat/syscall.c
424
strerror(errno));
usr.bin/systat/syscall.c
434
error("can't get uvmexp: %s\n", strerror(errno));
usr.bin/systat/syscall.c
441
error("Can't get kernel info: %s\n", strerror(errno));
usr.bin/systat/vmstat.c
520
error("can't get buffers size: %s\n", strerror(errno));
usr.bin/systat/vmstat.c
533
error("can't get buffers size: %s\n", strerror(errno));
usr.bin/systat/vmstat.c
537
error("buffers size is zero: %s\n", strerror(errno));
usr.bin/systat/vmstat.c
823
error("can't get namecache statistics: %s\n", strerror(errno));
usr.bin/systat/vmstat.c
835
error("can't get uvmexp: %s\n", strerror(errno));
usr.bin/systat/vmstat.c
842
error("Can't get kernel info: %s\n", strerror(errno));
usr.bin/tabs/tabs.c
101
errno = 0;
usr.bin/tabs/tabs.c
103
if (errno != 0 || *end != '\0' ||
usr.bin/tabs/tabs.c
160
errno = 0;
usr.bin/tabs/tabs.c
162
if (errno != 0 || *end != '\0' || num <= 0 || num > INT_MAX)
usr.bin/tabs/tabs.c
210
errno = 0;
usr.bin/tabs/tabs.c
212
if (errno == 0 && *end == '\0' &&
usr.bin/tail/reverse.c
118
errno = EFBIG;
usr.bin/tail/reverse.c
184
errno = ENOMEM;
usr.bin/tail/reverse.c
194
errno = ENOMEM;
usr.bin/tail/tail.c
216
errno == ESPIPE) {
usr.bin/tail/tail.c
217
errno = 0;
usr.bin/talk/ctl_transact.c
78
if (errno == EINTR)
usr.bin/talk/ctl_transact.c
84
if (errno == EINTR)
usr.bin/talk/ctl_transact.c
97
if (errno == EINTR)
usr.bin/talk/invite.c
96
if (errno == EINTR)
usr.bin/talk/io.c
120
string, strerror(errno), errno);
usr.bin/talk/io.c
81
if (errno == EINTR)
usr.bin/talk/look_up.c
79
errno = 0;
usr.bin/talk/look_up.c
82
} while (errno == EINTR);
usr.bin/talk/look_up.c
83
if (errno == ECONNREFUSED) {
usr.bin/tcopy/tcopy.c
154
while (errno == EINVAL && (maxblk -= 1024)) {
usr.bin/tcopy/tcopy.c
186
int error = errno;
usr.bin/tcopy/tcopy.c
244
while (errno == EINVAL && (inmaxblk -= 1024)) {
usr.bin/tcopy/tcopy.c
254
while (errno == EINVAL && (outmaxblk -= 1024)) {
usr.bin/telnet/commands.c
2196
serrno = errno;
usr.bin/telnet/commands.c
2207
serrno = errno;
usr.bin/telnet/commands.c
2213
serrno = errno;
usr.bin/telnet/commands.c
2224
serrno = errno;
usr.bin/telnet/network.c
153
if (errno != ENOBUFS && errno != EWOULDBLOCK) {
usr.bin/telnet/network.c
90
} while ((value == -1) && (errno == EINTR));
usr.bin/telnet/sys_bsd.c
579
if (errno == EINTR) {
usr.bin/telnet/sys_bsd.c
605
if (c < 0 && errno == EWOULDBLOCK) {
usr.bin/telnet/sys_bsd.c
623
if (c < 0 && errno == EIO)
usr.bin/telnet/sys_bsd.c
625
if (c < 0 && errno == EWOULDBLOCK) {
usr.bin/telnet/sys_bsd.c
85
errno = 0;
usr.bin/telnet/terminal.c
121
if (errno == EAGAIN || errno == EINTR) {
usr.bin/tftp/tftp.c
111
if (val == ULONG_MAX && errno == ERANGE) {
usr.bin/tftp/tftp.c
263
nak(errno + 100,
usr.bin/tftp/tftp.c
509
nak(errno + 100, (struct sockaddr *)(void *)&peer);
usr.bin/time/time.c
131
err((errno == ENOENT) ? 127 : 126, "Can't exec `%s'", *argv);
usr.bin/timeout/timeout.c
128
errno = 0;
usr.bin/timeout/timeout.c
133
if (errno == ERANGE && (sig == LONG_MAX || sig == LONG_MIN))
usr.bin/timeout/timeout.c
310
while (((cpid = wait(&status)) < 0) && errno == EINTR)
usr.bin/timeout/timeout.c
351
if (errno != EINTR)
usr.bin/tip/aculib/dn11.c
60
if (errno == EBUSY)
usr.bin/tip/aculib/dn11.c
89
if (errno == EIO)
usr.bin/tip/aculib/v831.c
223
(void)printf("read %d chars, char=%c, errno %d\n", i, c, errno);
usr.bin/tip/aculib/v831.c
64
if (errno == EBUSY)
usr.bin/tip/aculib/v831.c
93
(void)printf("(after open, errno=%d)\n", errno);
usr.bin/tip/aculib/v831.c
95
if (errno == EIO)
usr.bin/tip/tip.c
603
if (errno == EIO)
usr.bin/tip/tipout.c
164
if ((cnt < 0 && errno == EIO) || (cnt == 0)) {
usr.bin/touch/touch.c
383
errno = 0;
usr.bin/touch/touch.c
462
if (errno != 0)
usr.bin/touch/touch.c
490
if (errno != 0)
usr.bin/touch/touch.c
500
if ((errno != 0 && tsp[1].tv_sec == NO_TIME) || difftm(&tm, &tms))
usr.bin/tput/tput.c
154
errno = 0;
usr.bin/tput/tput.c
157
if (errno == EINVAL)
usr.bin/tput/tput.c
169
errno = 0;
usr.bin/tput/tput.c
171
if ((errno == ERANGE &&
usr.bin/tput/tput.c
173
(errno != 0 && nums[i] == 0) ||
usr.bin/tset/term.c
113
if (!errno)
usr.bin/tset/term.c
114
errno = ENOENT;
usr.bin/unexpand/unexpand.c
95
errno = 0;
usr.bin/unexpand/unexpand.c
97
if (*ep || (errno == ERANGE && i == ULONG_MAX))
usr.bin/unzip/unzip.c
125
fprintf(stderr, ": %s\n", strerror(errno));
usr.bin/unzip/unzip.c
159
fprintf(stderr, ": %s\n", strerror(errno));
usr.bin/unzip/unzip.c
227
errno = ENOMEM;
usr.bin/unzip/unzip.c
251
errno = ENOMEM;
usr.bin/unzip/unzip.c
287
errno = ENOMEM;
usr.bin/unzip/unzip.c
351
if (mkdir(path, mode) != 0 && errno != EEXIST)
usr.bin/unzip/unzip.c
885
if (p == NULL && errno != EINTR)
usr.bin/utoppya/utoppya.c
402
if (errno != ENOENT)
usr.bin/utoppya/utoppya.c
433
errno == EINTR)
usr.bin/vacation/vacation.c
183
if (errno == ERANGE &&
usr.bin/vis/vis.c
192
if (c == WEOF && errno == EILSEQ) {
usr.bin/vis/vis.c
203
if (cerr || (rachar == WEOF && errno == EILSEQ)) {
usr.bin/vmstat/vmstat.c
2343
if (errno == ENOENT) {
usr.bin/vmstat/vmstat.c
2414
errno = 0;
usr.bin/vmstat/vmstat.c
2417
if (errno != ENOMEM)
usr.bin/vmstat/vmstat.c
2421
} while (errno == ENOMEM);
usr.bin/vmstat/vmstat.c
2422
if (errno != 0)
usr.bin/vndcompress/offtab.c
126
((lseek(offtab->ot_fd, 0, SEEK_CUR) == -1) && (errno == ESPIPE)));
usr.bin/vndcompress/offtab.c
285
((lseek(offtab->ot_fd, 0, SEEK_CUR) == -1) && (errno == ESPIPE)));
usr.bin/vndcompress/utils.c
137
int error = errno;
usr.bin/vndcompress/utils.c
141
errno = error;
usr.bin/vndcompress/vndcompress.c
298
const int error = errno;
usr.bin/vndcompress/vndcompress.c
347
errno = error;
usr.bin/vndcompress/vndcompress.c
354
const int error = errno;
usr.bin/vndcompress/vndcompress.c
376
errno = error;
usr.bin/vndcompress/vndcompress.c
714
if (errno != ESPIPE) {
usr.bin/vndcompress/vnduncompress.c
120
if (errno == ESPIPE)
usr.bin/vndcompress/vnduncompress.c
128
if (errno != ESPIPE)
usr.bin/whois/whois.c
202
error = errno;
usr.bin/whois/whois.c
207
error = errno;
usr.bin/whois/whois.c
218
errno = error;
usr.bin/write/term_chk.c
101
serrno = errno;
usr.bin/write/term_chk.c
103
errno = serrno;
usr.bin/write/term_chk.c
67
errno = EINVAL;
usr.bin/write/term_chk.c
72
errno = ENOMEM;
usr.bin/write/term_chk.c
78
serrno = errno;
usr.bin/write/term_chk.c
80
errno = serrno;
usr.bin/write/term_chk.c
89
errno = EPERM;
usr.bin/xargs/xargs.c
566
childerr = errno;
usr.bin/xargs/xargs.c
584
errno = childerr;
usr.bin/xargs/xargs.c
585
err(errno == ENOENT ? 127 : 126, "%s", name);
usr.bin/xargs/xargs.c
612
if (pid == -1 && errno != ECHILD)
usr.bin/xinstall/xinstall.c
1064
rv = errno;
usr.bin/xinstall/xinstall.c
1074
rv = errno;
usr.bin/xinstall/xinstall.c
1186
sverrno = errno;
usr.bin/xinstall/xinstall.c
1189
errno = sverrno;
usr.bin/xinstall/xinstall.c
460
errno = 0;
usr.bin/xinstall/xinstall.c
462
if (errno || *ep != '\0')
usr.bin/xinstall/xinstall.c
544
if ((dolink & LN_HARD) || errno != EXDEV)
usr.bin/xinstall/xinstall.c
808
serrno = errno;
usr.bin/xinstall/xinstall.c
816
serrno = errno;
usr.bin/xinstall/xinstall.c
852
if (errno != EOPNOTSUPP || (from_sb.st_flags & ~UF_NODUMP) != 0)
usr.bin/xinstall/xinstall.c
927
&& errno != EOPNOTSUPP)
usr.bin/xinstall/xinstall.c
932
serrno = errno;
usr.bin/xinstall/xinstall.c
965
serrno = errno;
usr.bin/xinstall/xinstall.c
995
serrno = errno;
usr.bin/xlint/lint1/lex.c
581
errno = 0;
usr.bin/xlint/lint1/lex.c
585
if (errno != 0) {
usr.bin/xlint/lint1/lex.c
649
errno = 0;
usr.bin/xlint/lint1/lex.c
653
if (errno != 0)
usr.bin/xlint/xlint/xlint.c
329
while ((rv = wait(&status)) == -1 && errno == EINTR)
usr.sbin/ac/ac.c
320
if (access(_PATH_WTMP, 0) != 0 && errno == ENOENT)
usr.sbin/acpitools/acpidump/acpi_user.c
76
saved_errno = errno;
usr.sbin/acpitools/acpidump/acpi_user.c
79
errno = saved_errno;
usr.sbin/altq/altqd/altqd.c
166
LOG(LOG_ERR, errno, "can't open unix domain socket");
usr.sbin/altq/altqd/altqd.c
176
LOG(LOG_ERR, errno, "can't bind to %s", QUIP_PATH);
usr.sbin/altq/altqd/altqd.c
182
LOG(LOG_ERR, errno, "can't listen to %s", QUIP_PATH);
usr.sbin/altq/altqd/altqd.c
200
LOG(LOG_WARNING, errno, "can't open pid file");
usr.sbin/altq/altqd/altqd.c
253
if (errno != EINTR)
usr.sbin/altq/altqd/altqd.c
279
LOG(LOG_ERR, errno, "accept");
usr.sbin/altq/libaltq/parser.c
276
LOG(LOG_ERR, errno, "can't open %s", altqconfigfile, 0);
usr.sbin/altq/libaltq/qop.c
115
LOG(LOG_ERR, errno, "%s: qcmd_init failed", qoperror(error));
usr.sbin/altq/libaltq/qop.c
135
LOG(LOG_ERR, errno, "%s: enable failed!", qoperror(error));
usr.sbin/altq/libaltq/qop.c
1359
LOG(LOG_ERR, errno, "RED open");
usr.sbin/altq/libaltq/qop.c
1368
LOG(LOG_ERR, errno, "RED_SETDEFAULTS");
usr.sbin/altq/libaltq/qop.c
1390
LOG(LOG_ERR, errno, "RIO open");
usr.sbin/altq/libaltq/qop.c
1395
LOG(LOG_ERR, errno, "RIO_SETDEFAULTS");
usr.sbin/altq/libaltq/qop.c
1419
LOG(LOG_ERR, errno, "can't access %s!", dvname);
usr.sbin/altq/libaltq/qop.c
1438
LOG(LOG_ERR, errno, "kldload %s failed!", modname);
usr.sbin/altq/libaltq/qop.c
152
LOG(LOG_ERR, errno, "%s: disable failed!", qoperror(error));
usr.sbin/altq/libaltq/qop.c
196
LOG(LOG_ERR, errno, "%s: clear failed!", qoperror(error));
usr.sbin/altq/libaltq/qop.c
232
LOG(LOG_ERR, errno, "%s: delete_class failed",
usr.sbin/altq/libaltq/qop.c
263
LOG(LOG_ERR, errno, "%s: add filter failed!",
usr.sbin/altq/libaltq/qop.c
303
LOG(LOG_ERR, errno, "%s: delete filter failed!",
usr.sbin/altq/libaltq/qop_blue.c
157
LOG(LOG_ERR, errno, "%s: can't add blue on interface '%s'",
usr.sbin/altq/libaltq/qop_blue.c
207
LOG(LOG_ERR, errno, "BLUE open");
usr.sbin/altq/libaltq/qop_cbq.c
320
LOG(LOG_ERR, errno, "%s: can't add cbq on interface '%s'",
usr.sbin/altq/libaltq/qop_cbq.c
374
LOG(LOG_ERR, errno,
usr.sbin/altq/libaltq/qop_cbq.c
388
LOG(LOG_ERR, errno, "can't create ctl_class!");
usr.sbin/altq/libaltq/qop_cbq.c
929
LOG(LOG_ERR, errno, "CBQ open");
usr.sbin/altq/libaltq/qop_cdnr.c
128
LOG(LOG_ERR, errno,
usr.sbin/altq/libaltq/qop_cdnr.c
149
LOG(LOG_ERR, errno, "%s: add element failed!",
usr.sbin/altq/libaltq/qop_cdnr.c
179
LOG(LOG_ERR, errno, "%s: add tbmeter failed!",
usr.sbin/altq/libaltq/qop_cdnr.c
214
LOG(LOG_ERR, errno, "%s: add trtcm failed!",
usr.sbin/altq/libaltq/qop_cdnr.c
251
LOG(LOG_ERR, errno, "%s: add tswtcm failed!",
usr.sbin/altq/libaltq/qop_cdnr.c
310
LOG(LOG_ERR, errno,
usr.sbin/altq/libaltq/qop_cdnr.c
674
LOG(LOG_ERR, errno, "CDNR open");
usr.sbin/altq/libaltq/qop_dummy.c
131
LOG(LOG_ERR, errno, "%s: can't add nop on interface '%s'",
usr.sbin/altq/libaltq/qop_fifoq.c
133
LOG(LOG_ERR, errno, "%s: can't add fifoq on interface '%s'",
usr.sbin/altq/libaltq/qop_fifoq.c
178
LOG(LOG_ERR, errno, "FIFOQ open");
usr.sbin/altq/libaltq/qop_hfsc.c
290
LOG(LOG_ERR, errno, "hfsc_class_parser: %s",
usr.sbin/altq/libaltq/qop_hfsc.c
351
LOG(LOG_ERR, errno, "%s: can't add hfsc on interface '%s'",
usr.sbin/altq/libaltq/qop_hfsc.c
381
LOG(LOG_ERR, errno,
usr.sbin/altq/libaltq/qop_hfsc.c
437
LOG(LOG_ERR, errno,
usr.sbin/altq/libaltq/qop_hfsc.c
998
LOG(LOG_ERR, errno, "HFSC open");
usr.sbin/altq/libaltq/qop_jobs.c
276
LOG(LOG_ERR, errno, "jobs_class_parser: %s",
usr.sbin/altq/libaltq/qop_jobs.c
293
LOG(LOG_ERR, errno, "%s: can't add jobs on interface '%s'",
usr.sbin/altq/libaltq/qop_jobs.c
313
LOG(LOG_ERR, errno,
usr.sbin/altq/libaltq/qop_jobs.c
524
LOG(LOG_ERR, errno, "JOBS open");
usr.sbin/altq/libaltq/qop_priq.c
169
LOG(LOG_ERR, errno, "priq_class_parser: %s",
usr.sbin/altq/libaltq/qop_priq.c
186
LOG(LOG_ERR, errno, "%s: can't add priq on interface '%s'",
usr.sbin/altq/libaltq/qop_priq.c
205
LOG(LOG_ERR, errno,
usr.sbin/altq/libaltq/qop_priq.c
357
LOG(LOG_ERR, errno, "PRIQ open");
usr.sbin/altq/libaltq/qop_red.c
184
LOG(LOG_ERR, errno, "%s: can't add red on interface '%s'",
usr.sbin/altq/libaltq/qop_red.c
236
LOG(LOG_ERR, errno, "RED open");
usr.sbin/altq/libaltq/qop_rio.c
229
LOG(LOG_ERR, errno, "%s: can't add rio on interface '%s'",
usr.sbin/altq/libaltq/qop_rio.c
281
LOG(LOG_ERR, errno, "RIO open");
usr.sbin/altq/libaltq/qop_wfq.c
164
LOG(LOG_ERR, errno, "%s: can't add wfq on interface '%s'",
usr.sbin/altq/libaltq/qop_wfq.c
211
LOG(LOG_ERR, errno, "WFQ open");
usr.sbin/altq/libaltq/qop_wfq.c
232
LOG(LOG_ERR, errno, "WFQ_CONFIG");
usr.sbin/apm/apm.c
139
errr = errno;
usr.sbin/apm/apm.c
141
errno = errr;
usr.sbin/apmd/apmd.c
237
switch (errno) {
usr.sbin/apmd/apmd.c
240
errno = EBUSY;
usr.sbin/apmd/apmd.c
427
for (errno = 0;
usr.sbin/apmd/apmd.c
428
(ready = poll(set, 2, timeout * 1000)) >= 0 || errno == EINTR;
usr.sbin/apmd/apmd.c
429
errno = 0) {
usr.sbin/apmd/apmd.c
430
if (errno == EINTR)
usr.sbin/arp/arp.c
593
if (errno == ENOBUFS)
usr.sbin/arp/arp.c
695
errno = 0;
usr.sbin/arp/arp.c
747
if (errno != ESRCH || cmd != RTM_DELETE) {
usr.sbin/autofs/automountd.c
448
if (error && errno != EEXIST)
usr.sbin/autofs/automountd.c
450
strerror(errno));
usr.sbin/autofs/automountd.c
520
if (autofs_fd < 0 && (errno == ENOENT || errno == ENXIO)) {
usr.sbin/autofs/automountd.c
521
saved_errno = errno;
usr.sbin/autofs/automountd.c
525
errno = saved_errno;
usr.sbin/autofs/automountd.c
544
if (errno == EEXIST)
usr.sbin/autofs/automountd.c
546
else if (errno == ENAMETOOLONG)
usr.sbin/autofs/automountd.c
561
if (errno == EINTR) {
usr.sbin/autofs/autounmountd.c
167
if (errno == EBUSY) {
usr.sbin/autofs/autounmountd.c
169
mountpoint, strerror(errno));
usr.sbin/autofs/autounmountd.c
249
if (errno == EINTR)
usr.sbin/autofs/autounmountd.c
313
if (errno == EEXIST)
usr.sbin/autofs/autounmountd.c
315
else if (errno == ENAMETOOLONG)
usr.sbin/autofs/common.c
145
if (error != 0 && errno != EEXIST) {
usr.sbin/autofs/log.c
159
log_common(LOG_CRIT, errno, fmt, ap);
usr.sbin/autofs/log.c
183
log_common(LOG_WARNING, errno, fmt, ap);
usr.sbin/autofs/popen.c
178
} while (pid == -1 && errno == EINTR);
usr.sbin/bootp/bootpd/bootpd.c
222
errno = 0;
usr.sbin/bootp/bootpd/bootpd.c
487
if (errno != EINTR) {
usr.sbin/bootp/bootpgw/bootpgw.c
185
errno = 0;
usr.sbin/bootp/bootpgw/bootpgw.c
429
if (errno != EINTR) {
usr.sbin/bootp/bootptest/bootptest.c
291
if (errno == EACCES)
usr.sbin/bootp/common/report.c
128
extern int errno;
usr.sbin/bootp/common/report.c
130
return strerror(errno);
usr.sbin/bta2dpd/bta2dpd/sbc_encode.c
1053
if (len == -1 && errno == EAGAIN)
usr.sbin/bta2dpd/bta2dpd/sbc_encode.c
973
if (len == -1 && errno == EAGAIN) {
usr.sbin/bta2dpd/bta2dpd/sbc_encode.c
980
} else if (len == -1 && (errno == EINPROGRESS ||
usr.sbin/bta2dpd/bta2dpd/sbc_encode.c
981
errno == EWOULDBLOCK)) {
usr.sbin/btattach/btattach.c
629
if (i == 0 && errno == EAGAIN) {
usr.sbin/btattach/btattach.c
636
if (errno == EAGAIN)
usr.sbin/btattach/init_bcm43xx.c
119
fw, strerror(errno));
usr.sbin/btattach/init_stlc2500.c
76
if (errno != ENOENT)
usr.sbin/btdevctl/sdp.c
170
errno = (*cfgtype[i].handler)(dict, &rec);
usr.sbin/btdevctl/sdp.c
171
if (errno == 0)
usr.sbin/btdevctl/sdp.c
260
return errno;
usr.sbin/btdevctl/sdp.c
263
return errno;
usr.sbin/btdevctl/sdp.c
322
return errno;
usr.sbin/btdevctl/sdp.c
327
return errno;
usr.sbin/btdevctl/sdp.c
331
return errno;
usr.sbin/btdevctl/sdp.c
337
return errno;
usr.sbin/btdevctl/sdp.c
341
return errno;
usr.sbin/btdevctl/sdp.c
374
return errno;
usr.sbin/btdevctl/sdp.c
377
return errno;
usr.sbin/btdevctl/sdp.c
409
return errno;
usr.sbin/btdevctl/sdp.c
412
return errno;
usr.sbin/btdevctl/sdp.c
415
return errno;
usr.sbin/bthcid/client.c
98
if (unlink(name) < 0 && errno != ENOENT)
usr.sbin/catman/catman.c
364
if (errno != ENOENT) {
usr.sbin/catman/catman.c
464
errno != ENOENT) {
usr.sbin/catman/catman.c
469
if ((error && errno == ENOENT) ||
usr.sbin/catman/catman.c
487
errno != ENOENT) {
usr.sbin/catman/catman.c
492
if (error && errno == ENOENT) {
usr.sbin/chroot/chroot.c
66
errno = 0;
usr.sbin/chroot/chroot.c
70
errno = EINVAL;
usr.sbin/chroot/chroot.c
74
if (errno == ERANGE && *num == UINTMAX_MAX)
usr.sbin/cpuctl/arch/i386.c
2400
if (errno != ENOTTY)
usr.sbin/cpuctl/cpuctl.c
202
if (errno == EOPNOTSUPP) {
usr.sbin/cpuctl/cpuctl.c
250
if (error < 0 && (verbose || errno != EEXIST)) {
usr.sbin/cpuctl/cpuctl.c
279
if (errno == EPERM) {
usr.sbin/crash/crash.c
293
errno = 0;
usr.sbin/dumpfs/dumpfs.c
962
if (fd == -1 && errno == ENOENT) {
usr.sbin/dumpfs/dumpfs.c
963
oerrno = errno;
usr.sbin/dumpfs/dumpfs.c
965
errno = oerrno;
usr.sbin/edquota/edquota.c
362
if (fd < 0 && errno != ENOENT) {
usr.sbin/edquota/edquota.c
420
if (errno != ENOENT) {
usr.sbin/edquota/edquota.c
432
if (errno != ENOENT) {
usr.sbin/edquota/edquota.c
460
serrno = errno;
usr.sbin/edquota/edquota.c
462
errno = serrno;
usr.sbin/edquota/edquota.c
486
serrno = errno;
usr.sbin/edquota/edquota.c
489
errno = serrno;
usr.sbin/edquota/edquota.c
494
serrno = errno;
usr.sbin/edquota/edquota.c
497
errno = serrno;
usr.sbin/edquota/edquota.c
694
if (errno == ENOENT) {
usr.sbin/edquota/edquota.c
738
if (errno == EPROCLIM) {
usr.sbin/edquota/edquota.c
742
if (errno == EAGAIN) {
usr.sbin/eeprom/eehandlers.c
540
strerror(errno));
usr.sbin/eeprom/eehandlers.c
547
path_eeprom, strerror(errno));
usr.sbin/eeprom/eehandlers.c
554
path_eeprom, strerror(errno));
usr.sbin/eeprom/eehandlers.c
564
path_eeprom, strerror(errno));
usr.sbin/eeprom/eehandlers.c
572
path_eeprom, strerror(errno));
usr.sbin/eeprom/ofhandlers.c
100
BARF(path_openfirm, strerror(errno));
usr.sbin/eeprom/ofhandlers.c
109
BARF("OFIOCGETOPTNODE", strerror(errno));
usr.sbin/eeprom/ofhandlers.c
126
BARF("OFIOCGET", strerror(errno));
usr.sbin/eeprom/ofhandlers.c
164
BARF("OFIOCGET", strerror(errno));
usr.sbin/eeprom/ophandlers.c
106
BARF(path_openprom, strerror(errno));
usr.sbin/eeprom/ophandlers.c
115
BARF("OPIOCGETOPTNODE", strerror(errno));
usr.sbin/eeprom/ophandlers.c
132
BARF("OPIOCGET", strerror(errno));
usr.sbin/eeprom/ophandlers.c
170
BARF("OPIOCGET", strerror(errno));
usr.sbin/eeprom/prephandlers.c
116
BARF("PNVIOCGET", strerror(errno));
usr.sbin/eeprom/prephandlers.c
153
BARF("PNVIOCGET", strerror(errno));
usr.sbin/eeprom/prephandlers.c
96
BARF(path_prepnvram, strerror(errno));
usr.sbin/emcfanctl/emcfanctl.c
274
errno = error;
usr.sbin/emcfanctl/emcfanctl.c
301
errno = error;
usr.sbin/emcfanctl/emcfanctl.c
312
errno = EINVAL;
usr.sbin/emcfanctl/emcfanctl.c
355
errno = error;
usr.sbin/emcfanctl/emcfanctl.c
447
errno = error;
usr.sbin/emcfanctl/emcfanctl.c
485
errno = EINVAL;
usr.sbin/emcfanctl/emcfanctl.c
542
errno = EINVAL;
usr.sbin/emcfanctl/emcfanctl.c
565
errno = EINVAL;
usr.sbin/emcfanctl/emcfanctl.c
573
errno = EINVAL;
usr.sbin/emcfanctl/emcfanctl.c
613
errno = error;
usr.sbin/emcfanctl/emcfanctl.c
652
errno = error;
usr.sbin/emcfanctl/emcfanctl.c
691
errno = error;
usr.sbin/emcfanctl/emcfanctl.c
730
errno = error;
usr.sbin/emcfanctl/emcfanctl.c
786
errno = error;
usr.sbin/emcfanctl/emcfanctl.c
821
errno = error;
usr.sbin/emcfanctl/emcfanctlutil.c
51
err = errno;
usr.sbin/emcfanctl/emcfanctlutil.c
55
err = errno;
usr.sbin/emcfanctl/emcfanctlutil.c
73
err = errno;
usr.sbin/emcfanctl/emcfanctlutil.c
77
err = errno;
usr.sbin/envstat/envstat.c
333
syslog(LOG_ERR, "fopen failed: %s", strerror(errno));
usr.sbin/envstat/envstat.c
334
errx(EXIT_FAILURE, "%s", strerror(errno));
usr.sbin/envstat/envstat.c
386
error = errno;
usr.sbin/envstat/envstat.c
838
return errno;
usr.sbin/faithd/faithd.c
156
exit_failure("socket(PF_ROUTE): %s", strerror(errno));
usr.sbin/faithd/faithd.c
163
exit_failure("getsockname: %s", strerror(errno));
usr.sbin/faithd/faithd.c
168
exit_failure("getpeername: %s", strerror(errno));
usr.sbin/faithd/faithd.c
196
exit_failure("setsockopt(SO_OOBINLINE): %s", strerror(errno));
usr.sbin/faithd/faithd.c
283
exit_failure("socket: %s", strerror(errno));
usr.sbin/faithd/faithd.c
291
strerror(errno));
usr.sbin/faithd/faithd.c
298
exit_failure("setsockopt(SO_REUSEADDR): %s", strerror(errno));
usr.sbin/faithd/faithd.c
303
exit_failure("setsockopt(SO_OOBINLINE): %s", strerror(errno));
usr.sbin/faithd/faithd.c
309
exit_failure("setsockopt(IPV6_V6ONLY): %s", strerror(errno));
usr.sbin/faithd/faithd.c
314
exit_failure("bind: %s", strerror(errno));
usr.sbin/faithd/faithd.c
318
exit_failure("listen: %s", strerror(errno));
usr.sbin/faithd/faithd.c
323
exit_failure("socket(PF_ROUTE): %s", strerror(errno));
usr.sbin/faithd/faithd.c
370
if (errno == EINTR)
usr.sbin/faithd/faithd.c
372
exit_failure("select: %s", strerror(errno));
usr.sbin/faithd/faithd.c
387
if (errno == ECONNABORTED)
usr.sbin/faithd/faithd.c
389
exit_failure("socket: %s", strerror(errno));
usr.sbin/faithd/faithd.c
442
exit_failure("getsockname: %s", strerror(errno));
usr.sbin/faithd/faithd.c
464
strerror(errno));
usr.sbin/faithd/faithd.c
523
exit_failure("socket: %s", strerror(errno));
usr.sbin/faithd/faithd.c
530
exit_failure("bind: %s", strerror(errno));
usr.sbin/faithd/faithd.c
538
exit_failure("setsockopt(SO_OOBINLINE): %s", strerror(errno));
usr.sbin/faithd/faithd.c
545
exit_failure("setsockopt(SO_SNDTIMEO): %s", strerror(errno));
usr.sbin/faithd/faithd.c
551
exit_failure("setsockopt(SO_SNDTIMEO): %s", strerror(errno));
usr.sbin/faithd/faithd.c
557
exit_failure("connect: %s", strerror(errno));
usr.sbin/faithd/faithd.c
591
exit_failure("sysctl: %s", strerror(errno));
usr.sbin/faithd/faithd.c
693
exit_stderr("daemon: %s", strerror(errno));
usr.sbin/faithd/faithd.c
703
exit_failure("signal CHLD: %s", strerror(errno));
usr.sbin/faithd/faithd.c
709
exit_failure("signal TERM: %s", strerror(errno));
usr.sbin/faithd/ftp.c
114
exit_failure("poll: %s", strerror(errno));
usr.sbin/faithd/ftp.c
230
exit_failure("%s", strerror(errno));
usr.sbin/faithd/ftp.c
358
exit_failure("%s", strerror(errno));
usr.sbin/faithd/ftp.c
512
exit_failure("setsockopt(IPV6_FAITH): %s", strerror(errno));
usr.sbin/faithd/ftp.c
574
exit_failure("%s", strerror(errno));
usr.sbin/faithd/ftp.c
879
exit_failure("%s", strerror(errno));
usr.sbin/faithd/tcp.c
191
if (errno != EAGAIN)
usr.sbin/faithd/tcp.c
192
exit_failure("writing relay data failed: %s", strerror(errno));
usr.sbin/faithd/tcp.c
225
if (errno == EINTR)
usr.sbin/faithd/tcp.c
227
exit_failure("select: %s", strerror(errno));
usr.sbin/faithd/tcp.c
254
if (errno == EINTR)
usr.sbin/faithd/tcp.c
258
strerror(errno));
usr.sbin/faithd/tcp.c
269
if (errno == EINTR)
usr.sbin/faithd/tcp.c
272
strerror(errno));
usr.sbin/faithd/tcp.c
308
strerror(errno));
usr.sbin/flashctl/flashctl.c
234
errno = 0;
usr.sbin/flashctl/flashctl.c
245
if (errno == ERANGE && (*num == INTMAX_MIN || *num == INTMAX_MAX)) {
usr.sbin/fssconfig/fssconfig.c
246
if (argc == 0 && (errno == ENOENT || errno == ENXIO))
usr.sbin/fssconfig/fssconfig.c
255
if (errno == ENXIO)
usr.sbin/fwctl/fwdv.c
146
if (errno == EAGAIN) {
usr.sbin/fwctl/fwdv.c
162
if (errno == EAGAIN) {
usr.sbin/fwctl/fwdv.c
420
if (errno == EAGAIN) {
usr.sbin/fwctl/fwmpegts.c
185
if (errno == EAGAIN) {
usr.sbin/gpioctl/gpioctl.c
146
if ((errno == ERANGE && (lval == LONG_MAX
usr.sbin/gpioctl/gpioctl.c
155
if ((errno == ERANGE && (lval == LONG_MAX
usr.sbin/hdaudioctl/hdaudioctl.c
347
strerror(errno));
usr.sbin/i2cscan/i2cscan.c
72
return errno;
usr.sbin/i2cscan/i2cscan.c
89
return errno;
usr.sbin/ifwatchd/ifwatchd.c
217
if (errno == ENOBUFS) {
usr.sbin/inetd/inetd.c
1109
errno = EFAULT;
usr.sbin/inetd/inetd.c
1211
errno = EINVAL;
usr.sbin/inetd/inetd.c
1223
errno = EINVAL;
usr.sbin/inetd/inetd.c
1243
errno = EINVAL;
usr.sbin/inetd/inetd.c
1315
while ((errno = 0, read(s, buffer, sizeof(buffer)) > 0) ||
usr.sbin/inetd/inetd.c
1316
errno == EINTR)
usr.sbin/inetd/inetd.c
1704
if (errno != EINTR) {
usr.sbin/inetd/inetd.c
458
if (errno != EINTR && errno != EBADF)
usr.sbin/inetd/inetd.c
787
SERV_PARAMS(sep), strerror(errno));
usr.sbin/inetd/inetd.c
844
SERV_PARAMS(sep), strerror(errno));
usr.sbin/inetd/parse.c
1284
strerror(errno));
usr.sbin/inetd/parse.c
1287
ERR("Unknown glob(3) error %d", errno);
usr.sbin/inetd/parse.c
1307
strerror(errno));
usr.sbin/inetd/parse.c
1349
glob_path, strerror(errno));
usr.sbin/inetd/parse.c
146
CONFIG, strerror(errno));
usr.sbin/inetd/parse.c
870
strerror(errno));
usr.sbin/inetd/ratelimit.c
145
strerror(errno));
usr.sbin/inetd/ratelimit.c
218
SERV_PARAMS(sep), strerror(errno));
usr.sbin/inetd/ratelimit.c
231
"exiting", strerror(errno));
usr.sbin/inetd/ratelimit.c
273
if (errno == ENOMEM) {
usr.sbin/inetd/ratelimit.c
277
strerror(errno));
usr.sbin/installboot/arch/i386.c
130
errno = EROFS;
usr.sbin/installboot/arch/i386.c
163
if (rv != -1 || (errno != EINVAL && errno != EROFS))
usr.sbin/installboot/arch/i386.c
166
if (errno == EINVAL) {
usr.sbin/installboot/arch/i386.c
171
if (rv != -1 || (errno != EROFS))
usr.sbin/installboot/arch/macppc.c
125
if (rv == -1 && errno == EROFS) {
usr.sbin/installboot/bbinfo.c
105
if (rv == -1 && errno == EROFS) {
usr.sbin/installboot/bbinfo.c
292
if (rv == -1 && errno == EROFS) {
usr.sbin/installboot/evboards.c
1015
save_errno = errno;
usr.sbin/installboot/evboards.c
1016
if (errno != ENOMEM && errno != ENOENT) {
usr.sbin/installboot/evboards.c
1017
save_errno = errno;
usr.sbin/installboot/evboards.c
1023
errno = save_errno;
usr.sbin/installboot/evboards.c
1044
if (errno != ENOMEM) {
usr.sbin/installboot/evboards.c
902
if (errno != ENOENT) {
usr.sbin/installboot/evboards.c
988
if (errno != ENOENT)
usr.sbin/intrctl/intrctl_io.c
66
else if (errno == ENOMEM) {
usr.sbin/ipwctl/ipwctl.c
121
serrno = errno;
usr.sbin/ipwctl/ipwctl.c
123
errno = serrno;
usr.sbin/ipwctl/ipwctl.c
133
if (errno == ENOTTY)
usr.sbin/ipwctl/ipwctl.c
338
if (errno == ENOTTY)
usr.sbin/isibootd/isibootd.c
384
} while (fd == -1 && errno == EBUSY);
usr.sbin/iteconfig/iteconfig.c
205
errno = 0;
usr.sbin/iteconfig/iteconfig.c
207
if (errno == ERANGE && (rv == LONG_MIN || rv == LONG_MAX))
usr.sbin/iwictl/iwictl.c
124
serrno = errno;
usr.sbin/iwictl/iwictl.c
126
errno = serrno;
usr.sbin/kgmon/kgmon.c
291
kflag ? kvm_geterr(kvp->kd) : strerror(errno));
usr.sbin/kgmon/kgmon.c
411
kflag ? kvm_geterr(kvp->kd) : strerror(errno));
usr.sbin/kgmon/kgmon.c
434
kflag ? kvm_geterr(kvp->kd) : strerror(errno));
usr.sbin/kgmon/kgmon.c
450
kflag ? kvm_geterr(kvp->kd) : strerror(errno));
usr.sbin/lastlogin/lastlogin.c
335
errno = EFTYPE;
usr.sbin/lastlogin/lastlogin.c
364
errno = EFTYPE;
usr.sbin/ldpd/ldp_command.c
157
fatalp("bind: %s", strerror(errno));
usr.sbin/ldpd/ldp_command.c
163
fatalp("listen: %s", strerror(errno));
usr.sbin/ldpd/ldp_command.c
178
strerror(errno));
usr.sbin/ldpd/ldp_peer.c
154
strerror(errno));
usr.sbin/ldpd/ldp_peer.c
200
if (errno == EINTR || errno == EINPROGRESS)
usr.sbin/ldpd/ldp_peer.c
204
satos(&connecting_su.sa), strerror(errno));
usr.sbin/ldpd/mpls_routes.c
116
errno = 0;
usr.sbin/ldpd/mpls_routes.c
120
} while (rv == -1 && errno == EINTR);
usr.sbin/ldpd/mpls_routes.c
127
strerror(errno));
usr.sbin/ldpd/mpls_routes.c
133
} while(rv == -1 && errno == EINTR);
usr.sbin/ldpd/mpls_routes.c
376
warnp("Error adding a route: %s\n", route_strerror(errno));
usr.sbin/ldpd/mpls_routes.c
454
route_strerror(errno), satos(&so_dest->sa),
usr.sbin/ldpd/mpls_routes.c
458
route_strerror(errno), satos(&so_dest->sa));
usr.sbin/ldpd/mpls_routes.c
523
rlen, l, strerror(errno));
usr.sbin/ldpd/mpls_routes.c
840
strerror(errno));
usr.sbin/ldpd/mpls_routes.c
951
fatalp("route-sysctl-estimate: %s", strerror(errno));
usr.sbin/ldpd/mpls_routes.c
955
fatalp("route-sysctl-estimate: %s", strerror(errno));
usr.sbin/ldpd/socketops.c
1003
fatalp("accept: %s", strerror(errno));
usr.sbin/ldpd/socketops.c
1118
} while (c == -1 && errno == EINTR);
usr.sbin/ldpd/socketops.c
1140
} while (c == -1 && errno == EINTR);
usr.sbin/ldpd/socketops.c
130
fatalp("INET setsockopt IP_MCAST_LOOP: %s\n", strerror(errno));
usr.sbin/ldpd/socketops.c
155
fatalp("setsockopt ADD_MEMBER: %s\n", strerror(errno));
usr.sbin/ldpd/socketops.c
167
fatalp("set mcast ttl: %s\n", strerror(errno));
usr.sbin/ldpd/socketops.c
172
fatalp("set_tos: %s", strerror(errno));
usr.sbin/ldpd/socketops.c
213
strerror(errno));
usr.sbin/ldpd/socketops.c
245
fatalp("INET6 setsockopt JOIN: %s\n", strerror(errno));
usr.sbin/ldpd/socketops.c
254
fatalp("set mcast hops: %s\n", strerror(errno));
usr.sbin/ldpd/socketops.c
309
fatalp("set_ttl: %s", strerror(errno));
usr.sbin/ldpd/socketops.c
320
fatalp("set_tos: %s", strerror(errno));
usr.sbin/ldpd/socketops.c
330
fatalp("socket_reuse_port: %s", strerror(errno));
usr.sbin/ldpd/socketops.c
358
fatalp("bind_socket: %s\n", strerror(errno));
usr.sbin/ldpd/socketops.c
380
fatalp("bind: %s", strerror(errno));
usr.sbin/ldpd/socketops.c
385
fatalp("listen: %s", strerror(errno));
usr.sbin/ldpd/socketops.c
528
warnp("setsockopt failed: %s\n", strerror(errno));
usr.sbin/ldpd/socketops.c
537
fatalp("send: %s", strerror(errno));
usr.sbin/ldpd/socketops.c
594
strerror(errno), ifb->ifa_name);
usr.sbin/ldpd/socketops.c
605
fatalp("send6: %s", strerror(errno));
usr.sbin/ldpd/socketops.c
735
int olderrno = errno;
usr.sbin/ldpd/socketops.c
786
errno = olderrno;
usr.sbin/ldpd/socketops.c
923
if (errno != EINTR)
usr.sbin/ldpd/socketops.c
924
fatalp("poll: %s", strerror(errno));
usr.sbin/ldpd/socketops.c
944
} while ((l == -1) && (errno == EINTR));
usr.sbin/lockstat/main.c
337
if (errno == EOVERFLOW) {
usr.sbin/lpr/common_source/common.c
178
error = errno;
usr.sbin/lpr/common_source/common.c
181
errno = error;
usr.sbin/lpr/common_source/common.c
182
if (errno == EADDRINUSE) {
usr.sbin/lpr/common_source/common.c
185
} else if (errno == ECONNREFUSED)
usr.sbin/lpr/common_source/common.c
375
strerror(errno));
usr.sbin/lpr/common_source/rmjob.c
154
if (errno == EACCES)
usr.sbin/lpr/common_source/rmjob.c
165
if (kill(cur_daemon, 0) < 0 && errno != EPERM) {
usr.sbin/lpr/lpc/cmds.c
143
} else if (errno == ENOENT) {
usr.sbin/lpr/lpc/cmds.c
172
if (errno == ESRCH)
usr.sbin/lpr/lpc/cmds.c
469
} else if (errno == ENOENT) {
usr.sbin/lpr/lpc/cmds.c
544
} else if (errno == ENOENT) {
usr.sbin/lpr/lpc/cmds.c
840
} else if (errno == ENOENT) {
usr.sbin/lpr/lpd/lpd.c
248
if (errno == EWOULDBLOCK) { /* active daemon present */
usr.sbin/lpr/lpd/lpd.c
317
if (rv < 0 && errno != EINTR)
usr.sbin/lpr/lpd/lpd.c
330
if (errno != EINTR)
usr.sbin/lpr/lpd/printjob.c
1413
if (pfd < 0 && errno == ECONNREFUSED)
usr.sbin/lpr/lpd/printjob.c
1449
if (errno == ENOENT) {
usr.sbin/lpr/lpd/printjob.c
191
if (errno == EWOULDBLOCK) /* active daemon present */
usr.sbin/lpr/lpr/lpr.c
370
oerrno = errno;
usr.sbin/lpr/lpr/lpr.c
372
errno = oerrno;
usr.sbin/lpr/lpr/lpr.c
543
oerrno = errno;
usr.sbin/lpr/lpr/lpr.c
546
errno = oerrno;
usr.sbin/makefs/cd9660/cd9660_eltorito.c
219
if (eptr == value || *eptr != '\0' || errno != ERANGE) {
usr.sbin/makefs/ffs.c
965
errno = ffs_balloc(&in, offset, chunk, &bp);
usr.sbin/makefs/ffs.c
967
if (errno != 0)
usr.sbin/makefs/ffs.c
975
errno = bwrite(bp);
usr.sbin/makefs/ffs.c
976
if (errno != 0)
usr.sbin/makefs/ffs/buf.c
162
return errno;
usr.sbin/makefs/ffs/buf.c
164
e = errno;
usr.sbin/makefs/ffs/buf.c
83
saved_errno = errno;
usr.sbin/makefs/ffs/buf.c
89
saved_errno = errno;
usr.sbin/makefs/makefs.c
485
errno = 0;
usr.sbin/makefs/makefs.c
486
if ((when = parsedate(b, NULL, NULL)) == -1 && errno != 0)
usr.sbin/makefs/makefs.c
489
errno = 0;
usr.sbin/makefs/makefs.c
491
if (b == eb || *eb || errno)
usr.sbin/makefs/makefs.c
551
errno = 0;
usr.sbin/makefs/makefs.c
553
if (str != ep && !*ep && errno == 0)
usr.sbin/makefs/msdos/msdosfs_vfsops.c
416
errno = error;
usr.sbin/makefs/msdos/msdosfs_vfsops.c
428
errno = error;
usr.sbin/makefs/msdos/msdosfs_vnops.c
407
errno = error;
usr.sbin/makefs/msdos/msdosfs_vnops.c
461
error = errno;
usr.sbin/makefs/msdos/msdosfs_vnops.c
468
error = errno;
usr.sbin/makefs/msdos/msdosfs_vnops.c
652
errno = error;
usr.sbin/makefs/udf.c
828
return errno;
usr.sbin/makefs/udf.c
847
error = errno;
usr.sbin/makefs/v7fs/v7fs_populate.c
101
errno = error;
usr.sbin/makefs/v7fs/v7fs_populate.c
124
errno = EIO;
usr.sbin/makefs/v7fs/v7fs_populate.c
168
error = errno;
usr.sbin/makefs/v7fs/v7fs_populate.c
187
errno = error;
usr.sbin/makefs/v7fs/v7fs_populate.c
214
errno = error;
usr.sbin/makefs/v7fs/v7fs_populate.c
224
errno = error;
usr.sbin/makefs/v7fs/v7fs_populate.c
243
errno = error;
usr.sbin/makefs/v7fs/v7fs_populate.c
268
errno = error;
usr.sbin/makefs/v7fs/v7fs_populate.c
276
errno = error;
usr.sbin/makefs/v7fs/v7fs_populate.c
283
errno = error;
usr.sbin/makefs/v7fs/v7fs_populate.c
94
errno = error;
usr.sbin/map-mbone/mapper.c
918
if (errno != EINTR)
usr.sbin/map-mbone/mapper.c
933
else if (errno != EINTR)
usr.sbin/memswitch/memswitch.c
322
if (fd < 0 && errno == ENOENT) {
usr.sbin/mopd/common/log.c
60
error = errno;
usr.sbin/mopd/common/log.c
79
error = errno;
usr.sbin/mopd/common/loop-bsd.c
138
if (cc < 0 && errno == EINTR)
usr.sbin/mopd/common/loop-bsd.c
144
if (errno == EINVAL &&
usr.sbin/mopd/common/loop-linux2.c
141
if (cc < 0 && errno == EINTR)
usr.sbin/mopd/common/pf-linux2.c
75
extern int errno;
usr.sbin/mountd/get_net.c
177
errno = 0;
usr.sbin/mountd/get_net.c
179
if (preflen == LONG_MIN && errno == ERANGE)
usr.sbin/mountd/mountd.c
1281
exnames[i], strerror(errno));
usr.sbin/mountd/mountd.c
1294
(mel->mel_nexports > 0 || errno != EOPNOTSUPP))
usr.sbin/mountd/mountd.c
681
bad = errno;
usr.sbin/moused/moused.c
490
int saveerrno = errno;
usr.sbin/moused/moused.c
492
errno = saveerrno;
usr.sbin/moused/moused.c
507
int saveerrno = errno;
usr.sbin/moused/moused.c
509
errno = saveerrno;
usr.sbin/mrinfo/mrinfo.c
334
logit(LOG_ERR, errno, "setuid");
usr.sbin/mrinfo/mrinfo.c
373
logit(LOG_ERR, errno, "malloc");
usr.sbin/mrinfo/mrinfo.c
376
logit(LOG_ERR, errno, "malloc");
usr.sbin/mrinfo/mrinfo.c
455
if (errno != EINTR)
usr.sbin/mrinfo/mrinfo.c
478
if (recvlen && errno != EINTR)
usr.sbin/mrouted/cfparse.y
565
if (errno != ENOENT)
usr.sbin/mrouted/cfparse.y
566
logit(LOG_ERR, errno, "can't open %s", configfilename);
usr.sbin/mrouted/config.c
31
logit(LOG_ERR, errno, "getifaddrs");
usr.sbin/mrouted/defs.h
129
extern int errno;
usr.sbin/mrouted/igmp.c
340
if (errno == ENETDOWN)
usr.sbin/mrouted/igmp.c
343
logit(igmp_log_level(type, code), errno,
usr.sbin/mrouted/igmp.c
49
logit(LOG_ERR, errno, "IGMP socket");
usr.sbin/mrouted/kern.c
109
logit(LOG_ERR, errno, "can't enable Multicast routing in kernel");
usr.sbin/mrouted/kern.c
117
logit(LOG_WARNING, errno, "can't disable Multicast routing in kernel");
usr.sbin/mrouted/kern.c
134
logit(LOG_ERR, errno, "setsockopt MRT_ADD_VIF");
usr.sbin/mrouted/kern.c
142
logit(LOG_ERR, errno, "setsockopt MRT_DEL_VIF");
usr.sbin/mrouted/kern.c
173
logit(LOG_WARNING, errno, "setsockopt MRT_ADD_MFC");
usr.sbin/mrouted/kern.c
20
logit(LOG_ERR, errno, "setsockopt SO_RCVBUF %u", bufsize);
usr.sbin/mrouted/kern.c
202
logit(LOG_WARNING, errno, "setsockopt MRT_DEL_MFC");
usr.sbin/mrouted/kern.c
221
logit(LOG_ERR, errno,
usr.sbin/mrouted/kern.c
29
logit(LOG_ERR, errno, "setsockopt IP_HDRINCL %u", onoff);
usr.sbin/mrouted/kern.c
41
logit(LOG_ERR, errno, "setsockopt IP_MULTICAST_TTL %u", ttl);
usr.sbin/mrouted/kern.c
52
logit(LOG_ERR, errno, "setsockopt IP_MULTICAST_LOOP %u", loop);
usr.sbin/mrouted/kern.c
63
logit(LOG_ERR, errno, "setsockopt IP_MULTICAST_IF %s",
usr.sbin/mrouted/kern.c
77
logit(LOG_WARNING, errno, "can't join group %s on interface %s",
usr.sbin/mrouted/kern.c
92
logit(LOG_WARNING, errno, "can't leave group %s on interface %s",
usr.sbin/mrouted/main.c
316
if (errno != EINTR) /* SIGALRM is expected */
usr.sbin/mrouted/main.c
317
logit(LOG_WARNING, errno, "select failed");
usr.sbin/mrouted/main.c
325
if (errno != EINTR) logit(LOG_ERR, errno, "recvfrom");
usr.sbin/mrouted/main.c
332
logit(LOG_ERR, errno, "sigprocmask");
usr.sbin/mrouted/main.c
569
logit(LOG_ERR, errno, "sigprocmask");
usr.sbin/mrouted/main.c
665
errno = syserr;
usr.sbin/mrouted/main.c
685
logit(LOG_ERR, errno, "open /tmp/mrouted.clog");
usr.sbin/mrouted/prune.c
1567
logit(LOG_WARNING, errno, "%s (%s, %s)",
usr.sbin/mrouted/prune.c
1593
logit(LOG_WARNING, errno, "%s (%s %s)",
usr.sbin/mrouted/prune.c
1689
logit(LOG_WARNING, errno, "%s (%s %s)",
usr.sbin/mrouted/prune.c
1702
logit(LOG_WARNING, errno,
usr.sbin/mrouted/prune.c
1783
logit(LOG_WARNING, errno, "%s (%s %s)",
usr.sbin/mrouted/prune.c
851
logit(LOG_WARNING, errno,
usr.sbin/mrouted/prune.c
903
logit(LOG_WARNING, errno,
usr.sbin/mrouted/rsrr.c
107
logit(LOG_ERR, errno, "Can't bind RSRR socket");
usr.sbin/mrouted/rsrr.c
126
if (errno != EINTR)
usr.sbin/mrouted/rsrr.c
127
logit(LOG_ERR, errno, "RSRR recvfrom");
usr.sbin/mrouted/rsrr.c
389
logit(LOG_WARNING, errno, "Failed send on RSRR socket");
usr.sbin/mrouted/rsrr.c
92
logit(LOG_ERR, errno, "Can't create RSRR socket");
usr.sbin/mrouted/vif.c
173
logit(LOG_ERR, errno,
usr.sbin/mrouted/vif.c
716
logit(LOG_WARNING, errno, "Determining local address");
usr.sbin/mrouted/vif.c
75
logit(LOG_ERR, errno, "UDP socket");
usr.sbin/mrouted/vif.c
803
logit(LOG_WARNING, errno, "Determining local address");
usr.sbin/mtrace/mtrace.c
1164
logit(LOG_ERR, errno, "setuid");
usr.sbin/mtrace/mtrace.c
1660
logit(LOG_WARNING, errno, "sendto");
usr.sbin/mtrace/mtrace.c
471
if (errno != EINTR) perror("select");
usr.sbin/mtrace/mtrace.c
484
if (recvlen && errno != EINTR) perror("recvfrom");
usr.sbin/mtrace/mtrace.c
639
if (recvlen && errno != EINTR) perror("recvfrom");
usr.sbin/mtree/compare.c
106
strerror(errno)); \
usr.sbin/mtree/compare.c
217
strerror(errno),
usr.sbin/mtree/compare.c
238
strerror(errno),
usr.sbin/mtree/compare.c
257
strerror(errno),
usr.sbin/mtree/compare.c
294
printf(", not modified: %s", strerror(errno));
usr.sbin/mtree/compare.c
359
strerror(errno),
usr.sbin/mtree/compare.c
412
tab, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
418
tab, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
437
tab, MD5KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
457
tab, RMD160KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
477
tab, SHA1KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
497
tab, SHA256KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
516
tab, SHA384KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
535
tab, SHA512KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
560
strerror(errno),
usr.sbin/mtree/compare.c
578
mtree_err("%s: %s", name, strerror(errno));
usr.sbin/mtree/create.c
124
mtree_err("fts_open: %s", strerror(errno));
usr.sbin/mtree/create.c
169
if (errno != 0)
usr.sbin/mtree/create.c
170
mtree_err("fts_read: %s", strerror(errno));
usr.sbin/mtree/create.c
197
mtree_err("%s: %s failed: %s", p->fts_path, key, strerror(errno));
usr.sbin/mtree/create.c
220
mtree_err("%s: %s", fname, strerror(errno));
usr.sbin/mtree/create.c
354
if (errno)
usr.sbin/mtree/create.c
355
mtree_err("%s: %s", RP(parent), strerror(errno));
usr.sbin/mtree/mtree.c
125
strerror(errno));
usr.sbin/mtree/mtree.c
130
strerror(errno));
usr.sbin/mtree/mtree.c
280
mtree_err("%s: %s", dir, strerror(errno));
usr.sbin/mtree/mtree.c
283
mtree_err("%s", strerror(errno));
usr.sbin/mtree/spec.c
174
mtree_err("realloc: %s", strerror(errno));
usr.sbin/mtree/spec.c
208
mtree_err("%s", strerror(errno));
usr.sbin/mtree/spec.c
602
val, strerror(errno));
usr.sbin/mtree/verify.c
157
strerror(errno));
usr.sbin/mtree/verify.c
162
strerror(errno));
usr.sbin/mtree/verify.c
170
if (errno != 0)
usr.sbin/mtree/verify.c
171
mtree_err("fts_read: %s", strerror(errno));
usr.sbin/mtree/verify.c
247
type, strerror(errno));
usr.sbin/mtree/verify.c
259
type, strerror(errno));
usr.sbin/mtree/verify.c
266
strerror(errno));
usr.sbin/mtree/verify.c
294
path, strerror(errno));
usr.sbin/mtree/verify.c
302
path, strerror(errno));
usr.sbin/mtree/verify.c
312
path, strerror(errno));
usr.sbin/mtree/verify.c
90
mtree_err("fts_open: %s", strerror(errno));
usr.sbin/ndbootd/config/ndbootd-bpf.c
120
_NDBOOTD_DEBUG((fp, "bpf: failed to open %s: %s", dev_bpf_filename, strerror(errno)));
usr.sbin/ndbootd/config/ndbootd-bpf.c
126
#define _NDBOOTD_RAW_OPEN_ERROR(x) saved_errno = errno; x; errno = saved_errno
usr.sbin/ndbootd/config/ndbootd-bpf.c
131
dev_bpf_filename, strerror(errno)));
usr.sbin/ndbootd/config/ndbootd-bpf.c
141
errno = ENXIO;
usr.sbin/ndbootd/config/ndbootd-bpf.c
148
dev_bpf_filename, strerror(errno)));
usr.sbin/ndbootd/config/ndbootd-bpf.c
156
bufsize, strerror(errno)));
usr.sbin/ndbootd/config/ndbootd-bpf.c
162
dev_bpf_filename, strerror(errno)));
usr.sbin/ndbootd/config/ndbootd-bpf.c
169
interface->ndbootd_interface_ifreq->ifr_name, strerror(errno)));
usr.sbin/ndbootd/config/ndbootd-bpf.c
170
saved_errno = errno;
usr.sbin/ndbootd/config/ndbootd-bpf.c
172
errno = saved_errno;
usr.sbin/ndbootd/config/ndbootd-bpf.c
180
dev_bpf_filename, strerror(errno)));
usr.sbin/ndbootd/config/ndbootd-bpf.c
187
dev_bpf_filename, strerror(errno)));
usr.sbin/ndbootd/config/ndbootd-bpf.c
234
if (errno == EINTR) {
usr.sbin/ndbootd/config/ndbootd-bpf.c
238
_NDBOOTD_DEBUG((fp, "bpf: poll failed: %s", strerror(errno)));
usr.sbin/ndbootd/config/ndbootd-bpf.c
249
_NDBOOTD_DEBUG((fp, "bpf: failed to read packets: %s", strerror(errno)));
usr.sbin/ndbootd/config/ndbootd-bpf.c
293
errno = EIO;
usr.sbin/ndbootd/ndbootd.c
247
errno = ENOENT;
usr.sbin/ndbootd/ndbootd.c
269
errno = ENOENT;
usr.sbin/ndbootd/ndbootd.c
425
_ndbootd_argv0, boot2_x_name, strerror(errno));
usr.sbin/ndbootd/ndbootd.c
439
_ndbootd_argv0, strerror(errno));
usr.sbin/ndbootd/ndbootd.c
447
_ndbootd_argv0, interface->ndbootd_interface_ifreq->ifr_name, strerror(errno));
usr.sbin/ndbootd/ndbootd.c
472
_ndbootd_argv0, strerror(errno));
usr.sbin/ndbootd/ndbootd.c
531
_NDBOOTD_DEBUG((fp, "failed to receive packet: %s", strerror(errno)));
usr.sbin/ndbootd/ndbootd.c
580
strerror(errno)));
usr.sbin/ndbootd/ndbootd.c
589
strerror(errno)));
usr.sbin/ndbootd/ndbootd.c
656
boot1_file_name, strerror(errno)));
usr.sbin/ndbootd/ndbootd.c
661
boot1_file_name, strerror(errno)));
usr.sbin/ndbootd/ndbootd.c
696
boot2_file_name, strerror(errno)));
usr.sbin/ndbootd/ndbootd.c
701
boot2_file_name, strerror(errno)));
usr.sbin/ndbootd/ndbootd.c
826
strerror(errno)));
usr.sbin/ndbootd/ndbootd.c
844
strerror(errno),
usr.sbin/ndbootd/ndbootd.c
874
strerror(errno)));
usr.sbin/ndbootd/ndbootd.c
892
strerror(errno),
usr.sbin/ndbootd/ndbootd.c
988
strerror(errno)));
usr.sbin/ndbootd/ndbootd.h
114
#define _NDBOOTD_DEBUG(x) do { if (_ndbootd_debug) { FILE *fp; int saved_errno; fp = stderr; saved_errno = errno; fprintf(fp, "%s: ", _ndbootd_argv0); errno = saved_errno; fprintf x ; fputc('\n', fp); errno = saved_errno; } } while(0)
usr.sbin/ndp/ndp.c
495
if (errno == ENOBUFS)
usr.sbin/ndp/ndp.c
738
errno = 0;
usr.sbin/ndp/ndp.c
791
if (errno != ESRCH || cmd != RTM_DELETE)
usr.sbin/ndp/ndp.c
850
errno = 0; \
usr.sbin/ndp/ndp.c
852
if (errno) \
usr.sbin/nfsd/nfsd.c
132
if (errno != ENEEDAUTH) {
usr.sbin/nfsd/nfsd.c
133
logit(LOG_ERR, "nfssvc: %s", strerror(errno));
usr.sbin/nfsd/nfsd.c
184
cfg_netconf[t], strerror(errno));
usr.sbin/nfsd/nfsd.c
217
strerror(errno));
usr.sbin/nfsd/nfsd.c
224
"socket: %s", cfg_netconf[p], strerror(errno));
usr.sbin/nfsd/nfsd.c
233
cfg_netconf[p], strerror(errno));
usr.sbin/nfsd/nfsd.c
240
strerror(errno));
usr.sbin/nfsd/nfsd.c
267
cfg_netconf[p], strerror(errno));
usr.sbin/nfsd/nfsd.c
344
if (errno == EINTR)
usr.sbin/nfsd/nfsd.c
377
if (errno == EINTR)
usr.sbin/nfsd/nfsd.c
379
else if (errno == EPIPE)
usr.sbin/nfsd/nfsd.c
443
if (s == -1 && (errno == EPROTONOSUPPORT ||
usr.sbin/nfsd/nfsd.c
444
errno == EPFNOSUPPORT || errno == EAFNOSUPPORT))
usr.sbin/nfsd/nfsd.c
453
if (s == -1 && (errno == EPROTONOSUPPORT ||
usr.sbin/nfsd/nfsd.c
454
errno == EPFNOSUPPORT || errno == EAFNOSUPPORT))
usr.sbin/nfsd/nfsd.c
523
logit(LOG_ERR, "thread alloc %s", strerror(errno));
usr.sbin/nfsd/nfsd.c
532
errno = error;
usr.sbin/nfsd/nfsd.c
533
logit(LOG_ERR, "pthread_create: %s", strerror(errno));
usr.sbin/nfsd/nfsd.c
574
logit(LOG_ERR, "poll failed: %s", strerror(errno));
usr.sbin/nfsd/nfsd.c
590
int serrno = errno;
usr.sbin/nfsd/nfsd.c
592
strerror(errno));
usr.sbin/nfsd/nfsd.c
600
strerror(errno));
usr.sbin/npf/npfctl/npf_cmd.c
357
errno = 0;
usr.sbin/npf/npfctl/npf_cmd.c
359
switch (errno) {
usr.sbin/npf/npfctl/npf_data.c
188
errno = 0;
usr.sbin/npf/npfctl/npf_data.c
190
if (*ep == '\0' && s != ep && errno != ERANGE) {
usr.sbin/npf/npfctl/npf_show.c
835
return errno;
usr.sbin/npf/npfctl/npfctl.c
285
if (modctl(MODCTL_LOAD, &args) != 0 && errno != EEXIST) {
usr.sbin/npf/npfctl/npfctl.c
287
if (errno == ENOENT)
usr.sbin/npf/npfctl/npfctl.c
342
if ((errno = npf_config_submit(ncf, fd, &errinfo)) != 0) {
usr.sbin/npf/npfctl/npfctl.c
346
return errno;
usr.sbin/npf/npfctl/npfctl.c
484
errno = ret = npfctl_config_send(fd);
usr.sbin/npf/npfctl/npfctl.c
525
ret = errno;
usr.sbin/npf/npfd/npfd.c
99
if (errno == EINTR)
usr.sbin/nvmmctl/nvmmctl.c
164
if (errno == ENOENT)
usr.sbin/ofctl/ofctl.c
221
if (errno == ENOMEM) {
usr.sbin/ofctl/ofctl.c
261
if (errno == ENOENT)
usr.sbin/ofctl/ofctl.c
405
if (errno == ENOENT) {
usr.sbin/pcictl/pcictl.c
341
errno = 0;
usr.sbin/pcictl/pcictl.c
345
if ((errno == ERANGE) && ((value == LONG_MIN) || (value == LONG_MAX)))
usr.sbin/pcictl/pcictl.c
359
errno = 0;
usr.sbin/pcictl/pcictl.c
363
if ((errno == ERANGE) && (value == ULONG_MAX))
usr.sbin/perfused/msg.c
499
if (errno == EAGAIN)
usr.sbin/perfused/msg.c
502
return errno;
usr.sbin/perfused/msg.c
544
if (errno == EAGAIN)
usr.sbin/perfused/msg.c
547
return errno;
usr.sbin/perfused/msg.c
584
DWARN("%s: send returned -1, errno = %d", __func__, errno);
usr.sbin/perfused/msg.c
585
switch(errno) {
usr.sbin/perfused/msg.c
596
return errno;
usr.sbin/pf/pfs/parse.y
403
errno = 0;
usr.sbin/pf/pfs/parse.y
405
if (errno == ERANGE && u == UINTMAX_MAX)
usr.sbin/pf/pfs/pfs.c
148
errno_saved = errno;
usr.sbin/pf/pfs/pfs.c
156
errno_saved = errno;
usr.sbin/pf/pfs/pfs.c
166
errno = errno_saved;
usr.sbin/pf/pfs/pfs.c
188
errno_saved = errno;
usr.sbin/pf/pfs/pfs.c
190
errno = errno_saved;
usr.sbin/pf/pfs/pfs.c
197
errno_saved = errno;
usr.sbin/pf/pfs/pfs.c
199
errno = errno_saved;
usr.sbin/pf/pfs/pfs.c
207
errno_saved = errno;
usr.sbin/pf/pfs/pfs.c
210
errno = errno_saved;
usr.sbin/pf/pfs/pfs.c
216
errno_saved = errno;
usr.sbin/pf/pfs/pfs.c
219
errno = errno_saved;
usr.sbin/pf/pfs/pfs.c
398
errno_saved = errno;
usr.sbin/pf/pfs/pfs.c
401
errno = errno_saved;
usr.sbin/pf/pfs/pfs.c
436
errno_saved = errno;
usr.sbin/pf/pfs/pfs.c
438
errno = errno_saved;
usr.sbin/powerd/powerd.c
126
powerd_log(LOG_ERR, "kqueue: %s", strerror(errno));
usr.sbin/powerd/powerd.c
132
strerror(errno));
usr.sbin/powerd/powerd.c
138
strerror(errno));
usr.sbin/powerd/powerd.c
143
powerd_log(LOG_ERR, "POWER_IOC_GET_TYPE: %s", strerror(errno));
usr.sbin/powerd/powerd.c
151
strerror(errno));
usr.sbin/powerd/powerd.c
211
strerror(errno));
usr.sbin/powerd/powerd.c
226
strerror(errno));
usr.sbin/powerd/powerd.c
272
if (errno != EINTR) {
usr.sbin/powerd/powerd.c
273
powerd_log(LOG_ERR, "kevent: %s", strerror(errno));
usr.sbin/powerd/powerd.c
294
if (errno == EWOULDBLOCK)
usr.sbin/powerd/powerd.c
297
strerror(errno));
usr.sbin/pstat/pstat.c
724
if (status == -1 && errno != ENOMEM)
usr.sbin/puffs/mount_9p/ninebuf.c
104
if (errno == EAGAIN)
usr.sbin/puffs/mount_9p/ninebuf.c
106
return errno;
usr.sbin/puffs/mount_9p/ninebuf.c
141
return errno;
usr.sbin/puffs/mount_9p/ninebuf.c
147
if (errno == EAGAIN)
usr.sbin/puffs/mount_9p/ninebuf.c
149
return errno;
usr.sbin/puffs/mount_9p/ninebuf.c
253
#define ERETURN(rv) return ((rv) == -1 ? errno : 0)
usr.sbin/puffs/mount_9p/ninebuf.c
304
return errno;
usr.sbin/puffs/mount_9p/ninebuf.c
314
return errno;
usr.sbin/puffs/mount_9p/ninebuf.c
93
return errno;
usr.sbin/puffs/mount_9p/ninebuf.c
98
return errno;
usr.sbin/puffs/mount_9p/nineproto.c
278
rv = errno;
usr.sbin/puffs/mount_9p/ninepuffs.c
180
errno = EPFNOSUPPORT;
usr.sbin/puffs/mount_9p/ninepuffs.h
78
rv = errno; \
usr.sbin/puffs/mount_9p/ninepuffs.h
86
rv = errno; \
usr.sbin/puffs/mount_9p/ninepuffs.h
94
rv = errno; \
usr.sbin/puffs/mount_psshfs/node.c
314
rv = errno;
usr.sbin/puffs/mount_psshfs/node.c
332
rv = errno;
usr.sbin/puffs/mount_psshfs/psbuf.c
107
return errno;
usr.sbin/puffs/mount_psshfs/psbuf.c
112
return errno;
usr.sbin/puffs/mount_psshfs/psbuf.c
118
if (errno == EAGAIN)
usr.sbin/puffs/mount_psshfs/psbuf.c
120
return errno;
usr.sbin/puffs/mount_psshfs/psbuf.c
157
return errno;
usr.sbin/puffs/mount_psshfs/psbuf.c
163
if (errno == EAGAIN)
usr.sbin/puffs/mount_psshfs/psbuf.c
165
return errno;
usr.sbin/puffs/mount_psshfs/psbuf.c
305
#define ERETURN(rv) return ((rv) == -1 ? errno : 0)
usr.sbin/puffs/mount_psshfs/psshfs.c
317
return errno;
usr.sbin/puffs/mount_psshfs/psshfs.h
71
rv = errno; \
usr.sbin/puffs/mount_psshfs/psshfs.h
79
rv = errno; \
usr.sbin/puffs/mount_psshfs/psshfs.h
87
rv = errno; \
usr.sbin/puffs/mount_psshfs/subr.c
292
rv = errno;
usr.sbin/puffs/mount_sysctlfs/sysctlfs.c
417
error = errno;
usr.sbin/puffs/mount_sysctlfs/sysctlfs.c
431
error = errno;
usr.sbin/puffs/mount_sysctlfs/sysctlfs.c
445
error = errno;
usr.sbin/puffs/mount_sysctlfs/sysctlfs.c
461
error = errno;
usr.sbin/puffs/mount_sysctlfs/sysctlfs.c
478
error = errno;
usr.sbin/pwd_mkdb/pwd_mkdb.c
600
errno = EFTYPE; /* XXX */
usr.sbin/pwd_mkdb/pwd_mkdb.c
610
errno = EFTYPE; /* XXX */
usr.sbin/pwd_mkdb/pwd_mkdb.c
681
int sverrno = errno;
usr.sbin/pwd_mkdb/pwd_mkdb.c
684
errno = sverrno;
usr.sbin/pwd_mkdb/pwd_mkdb.c
738
if ((errno == EACCES && prefix[0]) || errno == ENOENT)
usr.sbin/quot/quot.c
356
errno = 0;
usr.sbin/quot/quot.c
397
} else if (errno)
usr.sbin/quot/quot.c
422
errno = 0;
usr.sbin/quot/quot.c
428
else if (errno)
usr.sbin/quot/quot.c
476
errno = 0;
usr.sbin/quot/quot.c
492
if (errno)
usr.sbin/quotacheck/quotacheck.c
294
err(1, "%s", strerror(errno));
usr.sbin/quotacheck/quotacheck.c
508
if (errno == ENOENT)
usr.sbin/quotacheck/quotacheck.c
518
"quotacheck: %s: %s\n", quotafile, strerror(errno));
usr.sbin/quotacheck/quotacheck.c
524
"quotacheck: %s: %s\n", quotafile, strerror(errno));
usr.sbin/quotacheck/quotacheck.c
688
err(1, "%s", strerror(errno));
usr.sbin/quotaon/quotaon.c
171
errno = EBUSY;
usr.sbin/quotaon/quotaon.c
229
if (warn_on_enxio || errno != ENXIO) {
usr.sbin/quotaon/quotaon.c
236
if (warn_on_enxio || errno != ENXIO) {
usr.sbin/quotarestore/quotarestore.c
207
errno = 0;
usr.sbin/quotarestore/quotarestore.c
209
if (errno || *s != 0) {
usr.sbin/quotarestore/quotarestore.c
263
errno = 0;
usr.sbin/quotarestore/quotarestore.c
265
if (errno || *s != 0) {
usr.sbin/quotarestore/quotarestore.c
282
errno = 0;
usr.sbin/quotarestore/quotarestore.c
284
if (errno || *s != 0 || val < 0) {
usr.sbin/quotarestore/quotarestore.c
330
if (errno == EDEADLK) {
usr.sbin/quotarestore/quotarestore.c
386
errno = 0;
usr.sbin/quotarestore/quotarestore.c
388
if (errno) {
usr.sbin/rarpd/mkarp.c
220
errno = 0;
usr.sbin/rarpd/mkarp.c
257
if (errno != ESRCH && errno != EEXIST) {
usr.sbin/rarpd/rarpd.c
210
rarperr(FATAL, "malloc: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
215
rarperr(FATAL, "malloc: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
243
rarperr(FATAL, "getifaddrs: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
284
rarperr(FATAL, "%s: %s", device, strerror(errno));
usr.sbin/rarpd/rarpd.c
323
rarperr(FATAL, "BIOCIMMEDIATE: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
329
rarperr(NONFATAL, "BIOCSBLEN:%d: %s", bufsize, strerror(errno));
usr.sbin/rarpd/rarpd.c
337
rarperr(FATAL, "BIOCSETIF: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
343
rarperr(FATAL, "BIOCGDLT: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
356
rarperr(FATAL, "BIOCSETF: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
448
rarperr(FATAL, "BIOCGBLEN: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
453
rarperr(FATAL, "malloc: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
470
rarperr(FATAL, "select: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
480
if (cc < 0 && errno == EINTR)
usr.sbin/rarpd/rarpd.c
486
if (errno == EINVAL &&
usr.sbin/rarpd/rarpd.c
491
rarperr(FATAL, "read: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
538
rarperr(FATAL, "chdir: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
543
rarperr(FATAL, "opendir: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
638
rarperr(FATAL, "getifaddrs: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
669
rarperr(FATAL, "socket: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
677
rarperr(FATAL, "SIOCGIFADDR: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
693
rarperr(FATAL, "SIOCGIFALIAS: %s", strerror(errno));
usr.sbin/rarpd/rarpd.c
733
rarperr(NONFATAL, "SIOCSARP: %s", strerror(errno));
usr.sbin/rbootd/rbootd.c
211
if (errno == EINTR)
usr.sbin/rbootd/rmpproto.c
371
rpl->r_brpl.rmp_retcode = (errno == ENOENT)? RMP_E_NOFILE:
usr.sbin/rbootd/rmpproto.c
372
(errno == EMFILE || errno == ENFILE)? RMP_E_BUSY:
usr.sbin/repquota/repquota.c
193
if (errno == EOPNOTSUPP || errno == ENXIO) {
usr.sbin/rmt/rmt.c
204
error(errno);
usr.sbin/rmt/rmt.c
97
errno = 0;
usr.sbin/route6d/route6d.c
2607
if (errno == EEXIST) {
usr.sbin/route6d/route6d.c
2615
strerror(errno));
usr.sbin/route6d/route6d.c
2618
strerror(errno));
usr.sbin/route6d/route6d.c
2672
if (errno == ESRCH) {
usr.sbin/route6d/route6d.c
2680
strerror(errno));
usr.sbin/route6d/route6d.c
2683
strerror(errno));
usr.sbin/route6d/route6d.c
2877
errno = 0;
usr.sbin/route6d/route6d.c
2880
if (errno || !*p || *ep || plen > sizeof(ftmp.iff_addr) * 8) {
usr.sbin/route6d/route6d.c
2941
errno = EINVAL;
usr.sbin/route6d/route6d.c
3133
if (errno)
usr.sbin/route6d/route6d.c
3134
syslog(LOG_ERR, "%s: %s", buf, strerror(errno));
usr.sbin/route6d/route6d.c
431
if (errno != EINTR) {
usr.sbin/route6d/route6d.c
953
trace(1, "sendmsg: %s\n", strerror(errno));
usr.sbin/route6d/route6d.c
954
return errno;
usr.sbin/rpc.bootparamd/bootparamd.c
216
errno = e;
usr.sbin/rpc.lockd/lockd_lock.c
443
if (errno != ECHILD)
usr.sbin/rpc.lockd/lockd_lock.c
514
switch (errno) {
usr.sbin/rpc.lockd/lockd_lock.c
547
if (error != 0 && errno == EAGAIN && block) {
usr.sbin/rpc.lockd/lockd_lock.c
581
switch (errno) {
usr.sbin/rpc.lockd/lockd_lock.c
596
if (errno != EAGAIN)
usr.sbin/rpc.lockd/lockd_lock.c
696
if (errno == ESTALE)
usr.sbin/rpc.lockd/lockd_lock.c
74
errno = EINVAL;
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
184
if ((rc < 0) && (errno != EEXIST))
usr.sbin/rpc.statd/stat_proc.c
329
strerror(errno));
usr.sbin/rpc.statd/statd.c
509
err(EXIT_FAILURE, "error accessing database (%s)", strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c
107
warnx("%s: %s", mpwd, strerror(errno));
usr.sbin/rpcbind/rpcb_svc_com.c
1169
__func__, poll_ret, strerror(errno));
usr.sbin/rpcbind/rpcb_svc_com.c
1289
} while (inlen < 0 && errno == EINTR);
usr.sbin/rpcbind/rpcb_svc_com.c
1293
__func__, inlen, strerror(errno));
usr.sbin/rpcbind/rpcb_svc_com.c
416
uaddr = strerror(errno);
usr.sbin/rpcbind/rpcb_svc_com.c
512
__func__, nconf->nc_device, strerror(errno));
usr.sbin/rpcbind/rpcb_svc_com.c
902
strerror(errno));
usr.sbin/rpcbind/rpcbind.c
181
if (flock(rpcbindlockfd, LOCK_EX|LOCK_NB) == -1 && errno == EWOULDBLOCK)
usr.sbin/rpcbind/rpcbind.c
326
if (errno == EAFNOSUPPORT)
usr.sbin/rpcbind/rpcbind.c
396
if (errno == EAFNOSUPPORT &&
usr.sbin/rpcbind/rpcbind.c
952
int save_errno = errno;
usr.sbin/rpcbind/rpcbind.c
956
errno = save_errno;
usr.sbin/rtadvd/rtadvd.c
248
errno = 0; /* Ensure errno is 0 so we know if getpwnam errors or not */
usr.sbin/rtadvd/rtadvd.c
250
if (errno == 0)
usr.sbin/rtadvd/rtadvd.c
348
if (errno == EINTR) {
usr.sbin/rwhod/rwhod.c
273
if (cc < 0 && errno != EINTR)
usr.sbin/sa/pdb.c
77
error = errno == ENOENT ? 0 : -1;
usr.sbin/sa/usrdb.c
80
error = (errno == ENOENT) ? 0 : -1;
usr.sbin/sdpd/main.c
107
strerror(errno), errno);
usr.sbin/sdpd/main.c
120
strerror(errno), errno);
usr.sbin/sdpd/main.c
128
strerror(errno), errno);
usr.sbin/sdpd/main.c
199
strerror(errno), errno);
usr.sbin/sdpd/main.c
206
strerror(errno), errno);
usr.sbin/sdpd/main.c
213
strerror(errno), errno);
usr.sbin/sdpd/server.c
152
if (unlink(control) == -1 && errno != ENOENT) {
usr.sbin/sdpd/server.c
154
control, strerror(errno), errno);
usr.sbin/sdpd/server.c
162
strerror(errno), errno);
usr.sbin/sdpd/server.c
178
strerror(errno), errno);
usr.sbin/sdpd/server.c
186
strerror(errno), errno);
usr.sbin/sdpd/server.c
194
strerror(errno), errno);
usr.sbin/sdpd/server.c
224
strerror(errno), errno);
usr.sbin/sdpd/server.c
232
strerror(errno), errno);
usr.sbin/sdpd/server.c
246
strerror(errno), errno);
usr.sbin/sdpd/server.c
254
strerror(errno), errno);
usr.sbin/sdpd/server.c
315
if (errno == EINTR)
usr.sbin/sdpd/server.c
319
srv->fdmax + 1, &fdset, strerror(errno), errno);
usr.sbin/sdpd/server.c
355
} while (cfd == -1 && errno == EINTR);
usr.sbin/sdpd/server.c
360
strerror(errno), errno);
usr.sbin/sdpd/server.c
437
} while (len == -1 && errno == EINTR);
usr.sbin/sdpd/server.c
442
strerror(errno), errno);
usr.sbin/sdpd/server.c
537
} while (len == -1 && errno == EINTR);
usr.sbin/sdpd/server.c
542
strerror(errno), errno);
usr.sbin/services_mkdb/output_cdb.c
144
serrno = errno;
usr.sbin/services_mkdb/output_cdb.c
148
serrno = errno;
usr.sbin/services_mkdb/output_cdb.c
156
serrno = errno;
usr.sbin/services_mkdb/output_cdb.c
161
errno = serrno;
usr.sbin/services_mkdb/services_mkdb.c
223
errno = 0;
usr.sbin/services_mkdb/services_mkdb.c
229
if ((errno == ERANGE && pnum == ULONG_MAX) || pnum > PMASK) {
usr.sbin/sesd/srcs/chpmon.c
121
v[dev], strerror(errno));
usr.sbin/sesd/srcs/chpmon.c
84
v[dev], strerror(errno));
usr.sbin/sesd/srcs/chpmon.c
93
v[dev], strerror(errno));
usr.sbin/sesd/srcs/sesd.c
101
v[dev], strerror(errno));
usr.sbin/srtconfig/srtconfig.c
102
{ fprintf(stderr,"%s: can't open %s: %s\n",__progname,txt_dev,strerror(errno));
usr.sbin/srtconfig/srtconfig.c
114
{ fprintf(stderr,"%s: can't get rt #%d: %s\n",__progname,n,strerror(errno));
usr.sbin/srtconfig/srtconfig.c
146
{ fprintf(stderr,"%s: can't get count: %s\n",__progname,strerror(errno));
usr.sbin/srtconfig/srtconfig.c
157
{ fprintf(stderr,"%s: can't delete #%u: %s\n",__progname,n,strerror(errno));
usr.sbin/srtconfig/srtconfig.c
173
{ fprintf(stderr,"%s: can't get count: %s\n",__progname,strerror(errno));
usr.sbin/srtconfig/srtconfig.c
215
{ fprintf(stderr,"%s: can't set route: %s\n",__progname,strerror(errno));
usr.sbin/srtconfig/srtconfig.c
227
{ fprintf(stderr,"%s: can't get flags: %s\n",__progname,strerror(errno));
usr.sbin/srtconfig/srtconfig.c
259
{ fprintf(stderr,"%s: can't get flags: %s\n",__progname,strerror(errno));
usr.sbin/srtconfig/srtconfig.c
264
{ fprintf(stderr,"%s: can't set flags: %s\n",__progname,strerror(errno));
usr.sbin/srtconfig/srtconfig.c
276
{ fprintf(stderr,"%s: can't SRT_DEBUG: %s\n",__progname,strerror(errno));
usr.sbin/sti/sti.c
119
errno = ENODATA;
usr.sbin/sti/sti.c
141
if (c == -1 && errno != ENODATA)
usr.sbin/sti/sti.c
71
errno = EILSEQ;
usr.sbin/sysinst/aout2elf.c
344
errno = ENAMETOOLONG;
usr.sbin/sysinst/aout2elf.c
369
errno = ELOOP;
usr.sbin/sysinst/aout2elf.c
395
errno = ENAMETOOLONG;
usr.sbin/sysinst/aout2elf.c
418
errno = ENAMETOOLONG;
usr.sbin/sysinst/aout2elf.c
423
errno = ENAMETOOLONG;
usr.sbin/sysinst/aout2elf.c
427
errno = ENAMETOOLONG;
usr.sbin/sysinst/aout2elf.c
434
serrno = errno;
usr.sbin/sysinst/aout2elf.c
442
err1: serrno = errno;
usr.sbin/sysinst/aout2elf.c
445
errno = serrno;
usr.sbin/sysinst/configmenu.c
453
target_expand("/etc/rc.conf"), strerror(errno));
usr.sbin/sysinst/disks.c
697
if (errno == ENOENT)
usr.sbin/sysinst/disks.c
699
if (errno != ENOTTY || !state->dd->dd_no_part)
usr.sbin/sysinst/geom.c
111
errno = error;
usr.sbin/sysinst/geom.c
61
sv_errno = errno;
usr.sbin/sysinst/geom.c
63
errno = sv_errno;
usr.sbin/sysinst/gpt.c
1463
if (errno == EINVAL) {
usr.sbin/sysinst/run.c
135
"log file", strerror(errno));
usr.sbin/sysinst/run.c
138
strerror(errno));
usr.sbin/sysinst/run.c
168
strerror(errno));
usr.sbin/sysinst/run.c
524
if (errno != EINTR) {
usr.sbin/sysinst/run.c
529
strerror(errno));
usr.sbin/sysinst/target.c
361
error = errno;
usr.sbin/sysinst/target.c
381
errno = error;
usr.sbin/sysinst/util.c
2254
(intmax_t)*t, strerror(errno));
usr.sbin/syslogd/syslogd.c
1569
errno = 0;
usr.sbin/syslogd/syslogd.c
1571
if (*q == '>' && n >= 0 && n < INT_MAX && errno == 0) {
usr.sbin/syslogd/syslogd.c
1626
errno = 0;
usr.sbin/syslogd/syslogd.c
1628
if (*q == '>' && n >= 0 && n < INT_MAX && errno == 0) {
usr.sbin/syslogd/syslogd.c
2300
errno = 0;
usr.sbin/syslogd/syslogd.c
2449
e = errno;
usr.sbin/syslogd/syslogd.c
2477
e = errno;
usr.sbin/syslogd/syslogd.c
2489
errno = e;
usr.sbin/syslogd/syslogd.c
2513
e = errno;
usr.sbin/syslogd/syslogd.c
2536
errno = e;
usr.sbin/syslogd/syslogd.c
2564
e = errno;
usr.sbin/syslogd/syslogd.c
2574
e = errno;
usr.sbin/syslogd/syslogd.c
2598
errno = e;
usr.sbin/syslogd/syslogd.c
2661
switch (errno) {
usr.sbin/syslogd/syslogd.c
2714
errno = 0; /* already in msg */
usr.sbin/syslogd/syslogd.c
2734
errno = 0; /* already in msg */
usr.sbin/syslogd/syslogd.c
2928
if (errno) {
usr.sbin/syslogd/syslogd.c
2930
tmpbuf, strerror(errno));
usr.sbin/syslogd/syslogd.c
3007
errno = 0;
usr.sbin/syslogd/syslogd.c
3795
errno = 0; /* keep strerror() stuff out of logerror messages */
usr.sbin/syslogd/syslogd.c
3809
errno = 0;
usr.sbin/syslogd/syslogd.c
3828
errno = 0;
usr.sbin/syslogd/syslogd.c
3901
errno = 0;
usr.sbin/syslogd/syslogd.c
3925
errno = 0;
usr.sbin/syslogd/syslogd.c
3985
errno = 0;
usr.sbin/syslogd/syslogd.c
4147
errno = 0;
usr.sbin/syslogd/syslogd.c
4336
errno = 0;
usr.sbin/syslogd/syslogd.c
438
errno = 0;
usr.sbin/syslogd/syslogd.c
441
if (errno || *endp != '\0')
usr.sbin/syslogd/syslogd.c
445
errno = 0;
usr.sbin/syslogd/syslogd.c
454
errno = 0;
usr.sbin/syslogd/syslogd.c
463
errno = 0;
usr.sbin/syslogd/syslogd.c
466
if (errno || *endp != '\0')
usr.sbin/syslogd/syslogd.c
470
errno = 0;
usr.sbin/syslogd/syslogd.c
479
errno = 0;
usr.sbin/syslogd/syslogd.c
4841
errno = 0;
usr.sbin/syslogd/syslogd.c
4866
errno = 0;
usr.sbin/syslogd/syslogd.c
4907
if (errno == EAGAIN || errno == EWOULDBLOCK) {
usr.sbin/syslogd/syslogd.c
4976
errno = 0;
usr.sbin/syslogd/syslogd.c
4979
if (errno || endp == level || *endp != '\0') {
usr.sbin/syslogd/syslogd.c
538
DPRINTF(D_FILE, "Can't open `%s' (%d)\n", _PATH_KLOG, errno);
usr.sbin/syslogd/syslogd.c
551
errno = 0;
usr.sbin/syslogd/syslogd.c
774
errno != EINTR &&
usr.sbin/syslogd/syslogd.c
775
(errno != ENOBUFS || LogOverflow))
usr.sbin/syslogd/syslogd.c
821
errno != EINTR &&
usr.sbin/syslogd/syslogd.c
822
(errno != ENOBUFS || LogOverflow))
usr.sbin/syslogd/syslogd.c
859
(rv < 0 && (errno == EINTR ||
usr.sbin/syslogd/syslogd.c
860
(errno == ENOBUFS && LogOverflow == 0))))
usr.sbin/syslogd/tls.c
1027
strerror(errno));
usr.sbin/syslogd/tls.c
1031
res1->ai_canonname, strerror(errno));
usr.sbin/syslogd/tls.c
1063
errno = 0; /* reset to be sure we get the right one later on */
usr.sbin/syslogd/tls.c
1067
"%s\n", strerror(errno));
usr.sbin/syslogd/tls.c
1116
strerror(errno));
usr.sbin/syslogd/tls.c
1382
logerror("Error in accept(): %s", strerror(errno));
usr.sbin/syslogd/tls.c
1412
strerror(errno));
usr.sbin/syslogd/tls.c
189
errno = 0;
usr.sbin/syslogd/tls.c
217
errno = 0;
usr.sbin/syslogd/tls.c
581
errno = 0;
usr.sbin/syslogd/tls.c
606
errno = 0;
usr.sbin/syslogd/tls.c
853
errno = 0;
usr.sbin/syslogd/tls.c
871
logerror("socket() failed: %s", strerror(errno));
usr.sbin/syslogd/tls.c
879
strerror(errno));
usr.sbin/syslogd/tls.c
886
strerror(errno));
usr.sbin/syslogd/tls.c
889
logerror("bind() failed: %s", strerror(errno));
usr.sbin/syslogd/tls.c
895
logerror("listen() failed: %s", strerror(errno));
usr.sbin/tcpdchk/inetcf.c
105
fprintf(stderr, "open %s: %s\n", conf, strerror(errno));
usr.sbin/tcpdchk/inetcf.c
282
} else if (errno == ENOENT) {
usr.sbin/tcpdchk/percent_m.c
37
strcpy(bp, strerror(errno));
usr.sbin/tcpdchk/tcpdchk.c
274
} else if (errno != ENOENT) {
usr.sbin/timed/timed/globals.h
160
int st_errno = errno; \
usr.sbin/timed/timed/measure.c
286
if (errno != 0)
usr.sbin/timed/timed/measure.c
288
strerror(errno));
usr.sbin/timed/timed/measure.c
290
if (errno != 0) {
usr.sbin/timed/timed/measure.c
93
errno = 0;
usr.sbin/timed/timed/timed.c
234
if (errno == EADDRINUSE)
usr.sbin/timed/timedc/cmds.c
165
if (errno == EINTR)
usr.sbin/tpctl/main.c
312
error = errno;
usr.sbin/tpctl/main.c
343
errno = error;
usr.sbin/tpctl/main.c
399
error = errno;
usr.sbin/tpctl/tp.c
151
if (errno != EWOULDBLOCK)
usr.sbin/tpctl/tp.c
156
errno = EINVAL;
usr.sbin/tpctl/tp.c
69
errno = EINVAL;
usr.sbin/tprof/tprof.c
254
if (errno == EINTR) /* interrupted by SIGINFO? */
usr.sbin/tprof/tprof.c
500
if (errno == ECHILD) {
usr.sbin/tprof/tprof_analyze.c
162
errno = 0;
usr.sbin/tprof/tprof_top.c
1015
if (errno == EINTR)
usr.sbin/tprof/tprof_top.c
1017
die_errc(EXIT_FAILURE, errno, "select");
usr.sbin/tprof/tprof_top.c
1054
if (len == -1 && errno != EINTR)
usr.sbin/tprof/tprof_top.c
1055
die_errc(EXIT_FAILURE, errno, "read");
usr.sbin/tprof/tprof_top.c
555
die_errc(EXIT_FAILURE, errno, "TPROF_IOC_GETSTAT");
usr.sbin/tprof/tprof_top.c
612
die_errc(EXIT_FAILURE, errno, "TPROF_IOC_GETCOUNTS");
usr.sbin/tprof/tprof_top.c
978
die_errc(EXIT_FAILURE, errno,
usr.sbin/tprof/tprof_top.c
985
die_errc(EXIT_FAILURE, errno, "TPROF_IOC_START");
usr.sbin/traceroute/ifaddrlist.c
144
(void)snprintf(errbuf, buflen, "%s: %s", __func__, strerror(errno));
usr.sbin/traceroute/traceroute.c
1357
if (errno == EMSGSIZE) {
usr.sbin/traceroute/traceroute.c
1729
errno = 0;
usr.sbin/traceroute/traceroute.c
1736
if (errno || str[0] == '\0' || *ep != '\0')
usr.sbin/traceroute6/traceroute6.c
410
errno = 0;
usr.sbin/traceroute6/traceroute6.c
412
if (errno || !*optarg || *ep|| first_hop > 255)
usr.sbin/traceroute6/traceroute6.c
425
errno = 0;
usr.sbin/traceroute6/traceroute6.c
427
if (errno || !*optarg || *ep || max_hops > 255)
usr.sbin/traceroute6/traceroute6.c
435
errno = 0;
usr.sbin/traceroute6/traceroute6.c
437
if (errno || !*optarg || *ep)
usr.sbin/traceroute6/traceroute6.c
445
errno = 0;
usr.sbin/traceroute6/traceroute6.c
447
if (errno || !*optarg || *ep)
usr.sbin/traceroute6/traceroute6.c
467
errno = 0;
usr.sbin/traceroute6/traceroute6.c
469
if (errno || !*optarg || *ep)
usr.sbin/traceroute6/traceroute6.c
517
errno = 0;
usr.sbin/traceroute6/traceroute6.c
519
if (errno || *ep)
usr.sbin/trpt/trpt.c
177
errno = 0;
usr.sbin/trpt/trpt.c
181
if (*optarg == '\0' || *cp != '\0' || errno ||
usr.sbin/usbdevs/usbdevs.c
222
if (errno != ENXIO)
usr.sbin/usbdevs/usbdevs.c
442
if (errno == ENOENT || errno == ENXIO)
usr.sbin/user/user.c
1050
errno = 0;
usr.sbin/user/user.c
1052
if (*ep != '\0' || *tp < -1 || errno == ERANGE) {
usr.sbin/user/user.c
1101
int serrno = errno;
usr.sbin/user/user.c
1103
errno = serrno;
usr.sbin/user/user.c
1109
int serrno = errno;
usr.sbin/user/user.c
1113
errno = serrno;
usr.sbin/user/user.c
1194
int oerrno = errno;
usr.sbin/user/user.c
1197
errno = oerrno;
usr.sbin/user/user.c
1245
int serrno = errno;
usr.sbin/user/user.c
1248
errno = serrno;
usr.sbin/user/user.c
1463
int serrno = errno;
usr.sbin/user/user.c
1465
errno = serrno;
usr.sbin/user/user.c
1470
int serrno = errno;
usr.sbin/user/user.c
1474
errno = serrno;
usr.sbin/user/user.c
1632
int oerrno = errno;
usr.sbin/user/user.c
1635
errno = oerrno;
usr.sbin/user/user.c
1685
int serrno = errno;
usr.sbin/user/user.c
1688
errno = serrno;
usr.sbin/user/user.c
1696
int serrno = errno;
usr.sbin/user/user.c
1700
errno = serrno;
usr.sbin/user/user.c
303
if (rmdir(pwp->pw_dir) < 0 && errno != ENOENT) {
usr.sbin/veriexecgen/veriexecgen.c
331
gripe(vp, "Error reading from stdin `%s'", strerror(errno));
usr.sbin/veriexecgen/veriexecgen.c
379
if (errno == ENOENT)
usr.sbin/vipw/vipw.c
99
if (errno == EEXIST)
usr.sbin/vnconfig/vnconfig.c
240
if (errno != ENXIO) {
usr.sbin/vnconfig/vnconfig.c
339
if (rv && errno == ENOTTY)
usr.sbin/vnconfig/vnconfig.c
362
if (rv && errno == ENOTTY) {
usr.sbin/wakeonlan/wakeonlan.c
101
errno = ENAMETOOLONG;
usr.sbin/wakeonlan/wakeonlan.c
109
errno = EOPNOTSUPP;
usr.sbin/wgconfig/wgconfig.c
471
errno = 0;
usr.sbin/wgconfig/wgconfig.c
477
if (errno != 0)
usr.sbin/wgconfig/wgconfig.c
617
gai_strerror(errno));
usr.sbin/wiconfig/wiconfig.c
206
errno = 0;
usr.sbin/wiconfig/wiconfig.c
209
if (errno) {
usr.sbin/wsconscfg/wsconscfg.c
154
if (errno == EBUSY)
usr.sbin/wsmoused/config.c
249
errno = 0;
usr.sbin/wsmoused/config.c
256
} else if (errno != ENOENT || opt) {
usr.sbin/wsmoused/wsmoused.c
137
int olderrno = errno;
usr.sbin/wsmoused/wsmoused.c
139
errno = olderrno;
usr.sbin/wsmoused/wsmoused.c
198
int olderrno = errno;
usr.sbin/wsmoused/wsmoused.c
200
errno = olderrno;
usr.sbin/ypbind/ypbind.c
1031
strerror(errno));
usr.sbin/ypbind/ypbind.c
1061
strerror(errno));
usr.sbin/ypbind/ypbind.c
1102
strerror(errno));
usr.sbin/ypbind/ypbind.c
1141
strerror(errno));
usr.sbin/ypbind/ypbind.c
1181
yp_log(LOG_WARNING, "%s: %s", path, strerror(errno));
usr.sbin/ypbind/ypbind.c
1196
yp_log(LOG_WARNING, "%s: %s", path, strerror(errno));
usr.sbin/ypbind/ypbind.c
1209
yp_log(LOG_WARNING, "direct_set: sendto: %s", strerror(errno));
usr.sbin/ypbind/ypbind.c
1243
if (errno == EINTR)
usr.sbin/ypbind/ypbind.c
1246
strerror(errno));
usr.sbin/ypbind/ypbind.c
1301
if (errno == EINTR)
usr.sbin/ypbind/ypbind.c
1304
strerror(errno));
usr.sbin/ypbind/ypbind.c
1414
strerror(errno));
usr.sbin/ypbind/ypbind.c
1488
yp_log(LOG_WARNING, "ping: sendto: %s", strerror(errno));
usr.sbin/ypbind/ypbind.c
1761
if (errno != EINTR) {
usr.sbin/ypbind/ypbind.c
1763
strerror(errno));
usr.sbin/ypbind/ypbind.c
432
if (unlink(pathname) < 0 && errno != ENOENT)
usr.sbin/ypbind/ypbind.c
671
yp_log(LOG_WARNING, "writev: %s", strerror(errno));
usr.sbin/ypserv/common/ypdb.c
131
save_errno = errno;
usr.sbin/ypserv/common/ypdb.c
135
errno = save_errno;
usr.sbin/ypserv/common/ypdb.c
161
if (db != NULL || errno != EFTYPE)
usr.sbin/ypserv/yppush/yppush.c
442
if (errno == EINTR)
usr.sbin/ypserv/ypserv/ypserv.c
355
_msgout(LOG_ERR, "sigemptyset: %s", strerror(errno));
usr.sbin/ypserv/ypserv/ypserv.c
359
_msgout(LOG_ERR, "sigaction: %s", strerror(errno));
usr.sbin/ypserv/ypserv/ypserv.c
501
strerror(errno));
usr.sbin/ypserv/ypserv/ypserv_db.c
364
"ypdb_open_db: errno %d (%s)", errno, strerror(errno));
usr.sbin/ypserv/ypserv/ypserv_db.c
366
if ((errno == ENFILE) || (errno == EMFILE)) {