bin/cat/cat.c
139
if (fd < 0 && errno == EOPNOTSUPP)
bin/cat/cat.c
299
errno = ENAMETOOLONG;
bin/chmod/chmod.c
136
errno = 0;
bin/chmod/chmod.c
138
if (!errno)
bin/chmod/chmod.c
200
if (errno)
bin/cp/cp.c
212
if (r == -1 && errno != ENOENT)
bin/cp/cp.c
439
errno = ENOTDIR;
bin/cp/cp.c
480
if (errno)
bin/cp/utils.c
313
if (errno != EPERM) {
bin/cpdup/cpdup.c
1168
(dpath ? dpath : spath), strerror(errno)
bin/cpdup/cpdup.c
1191
(dpath ? dpath : spath), op, strerror(errno)
bin/cpdup/cpdup.c
1200
strerror(errno)
bin/cpdup/cpdup.c
1208
strerror(errno)
bin/cpdup/cpdup.c
1258
strerror(errno)
bin/cpdup/cpdup.c
1279
path, dpath, strerror(errno));
bin/cpdup/cpdup.c
1342
strerror(errno)
bin/cpdup/cpdup.c
1351
(dpath ? dpath : spath), strerror(errno)
bin/cpdup/cpdup.c
1506
dpath, strerror(errno)
bin/cpdup/cpdup.c
1521
dpath, strerror(errno)
bin/cpdup/cpdup.c
1530
dpath, strerror(errno)
bin/cpdup/cpdup.c
1545
dpath, strerror(errno)
bin/cpdup/cpdup.c
1759
e = errno;
bin/cpdup/cpdup.c
1761
errno = e;
bin/cpdup/cpdup.c
752
((dpath) ? dpath : spath), strerror(errno));
bin/cpdup/cpdup.c
762
int tryrelink = (errno == EMLINK);
bin/cpdup/cpdup.c
764
(dpath ? dpath : spath), hln->name, strerror(errno)
bin/cpdup/cpdup.c
904
(dpath ? dpath : spath), strerror(errno));
bin/cpdup/cpdup.c
911
(dpath ? dpath : spath), strerror(errno));
bin/cpdup/cpdup.c
922
(dpath ? dpath : spath), strerror(errno));
bin/cpdup/hclink.c
132
head->error = errno;
bin/cpdup/hclink.c
270
errno = EIO;
bin/cpdup/hclink.c
288
errno = EIO;
bin/cpdup/hclink.c
300
errno = rhead->error;
bin/cpdup/hcproto.c
1099
res = -errno;
bin/cpdup/hcproto.c
1446
errno = EPERM;
bin/cpdup/hcproto.c
459
head->error = errno;
bin/dd/args.c
413
errno = 0;
bin/dd/args.c
417
if (errno != 0)
bin/dd/args.c
463
errno = 0;
bin/dd/args.c
467
if (errno != 0)
bin/dd/dd.c
288
errno = 0;
bin/dd/dd.c
289
if (lseek(io->fd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE)
bin/dd/dd.c
548
if (errno != EINTR)
bin/dd/position.c
167
errno = 0;
bin/dd/position.c
169
errno != 0)
bin/dd/position.c
96
errno = 0;
bin/dd/position.c
98
errno != 0)
bin/ed/buf.c
104
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/buf.c
115
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/buf.c
220
fprintf(stderr, "%s: %s\n", sfn, strerror(errno));
bin/ed/buf.c
60
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/buf.c
68
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/buf.c
88
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/cbc.c
187
errmsg = s ? s : strerror(errno);
bin/ed/ed.h
107
errno == ERANGE) { \
bin/ed/ed.h
123
fprintf(stderr, "%s\n", strerror(errno)); \
bin/ed/ed.h
130
fprintf(stderr, "%s\n", strerror(errno)); \
bin/ed/ed.h
148
fprintf(stderr, "%s\n", strerror(errno)); \
bin/ed/glbl.c
158
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/glbl.c
167
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/io.c
132
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/io.c
154
fprintf(stderr, "%s: %s\n", fn, strerror(errno));
bin/ed/io.c
159
fprintf(stderr, "%s: %s\n", fn, strerror(errno));
bin/ed/io.c
163
fprintf(stderr, "%s: %s\n", fn, strerror(errno));
bin/ed/io.c
209
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/io.c
281
fprintf(stderr, "stdin: %s\n", strerror(errno));
bin/ed/io.c
43
fprintf(stderr, "%s: %s\n", fn, strerror(errno));
bin/ed/io.c
48
fprintf(stderr, "%s: %s\n", fn, strerror(errno));
bin/ed/io.c
52
fprintf(stderr, "%s: %s\n", fn, strerror(errno));
bin/ed/main.c
1281
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/main.c
1377
int save_errno = errno;
bin/ed/main.c
1386
errno = save_errno;
bin/ed/re.c
61
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/undo.c
48
fprintf(stderr, "%s\n", strerror(errno));
bin/ed/undo.c
63
fprintf(stderr, "%s\n", strerror(errno));
bin/expr/expr.y
173
errno = 0;
bin/expr/expr.y
175
if (errno != 0) {
bin/ln/ln.c
153
errno = ENOTDIR;
bin/ln/ln.c
229
errno = EISDIR;
bin/ln/ln.c
246
errno = ENAMETOOLONG;
bin/ls/ls.c
524
error = errno;
bin/ls/ls.c
526
errno = error;
bin/ls/ls.c
527
if (errno)
bin/ls/print.c
608
fprintf(stderr, "\nls: %s: %s\n", name, strerror(errno));
bin/mined/mined1.c
1108
(errno == ENOSPC || errno == -ENOSPC) ?
bin/mined/mined1.c
1195
build_string(text_buffer, "%s\nError code %d\n", message, errno);
bin/mined/mined1.c
1197
build_string(text_buffer, "%s%s\nError code %d\n", enter_string, message, errno);
bin/mkdir/mkdir.c
103
if (errno == ENOTDIR || errno == ENOENT)
bin/mkdir/mkdir.c
170
if (errno != ENOENT ||
bin/mkdir/mkdir.c
181
errno = EEXIST;
bin/mkdir/mkdir.c
183
errno = ENOTDIR;
bin/mkdir/mkdir.c
203
if (res < 0 && errno == EEXIST) {
bin/mkdir/mkdir.c
85
errno = 0;
bin/mkdir/mkdir.c
87
if (!errno)
bin/mv/mv.c
226
if (errno == EXDEV) {
bin/mv/mv.c
298
if (errno == EEXIST && unlink(to) == 0)
bin/mv/mv.c
340
errno = 0;
bin/mv/mv.c
343
if (errno != EOPNOTSUPP || sbp->st_flags != 0)
bin/mv/mv.c
387
} else if (errno != ENOENT) {
bin/pax/ar_io.c
1001
syswarn(1, errno, "Unable to locate tape filemark.");
bin/pax/ar_io.c
1013
syswarn(1, errno, "Unable to backspace over tape filemark.");
bin/pax/ar_io.c
1024
syswarn(1, errno, "Unable to backspace over last tape block.");
bin/pax/ar_io.c
1028
syswarn(1, errno, "Cannot determine archive tape blocksize.");
bin/pax/ar_io.c
1039
syswarn(1, errno, "Unable to locate tape filemark.");
bin/pax/ar_io.c
1045
syswarn(1, errno, "Unable to backspace over tape filemark.");
bin/pax/ar_io.c
1076
syswarn(1,errno,"Unable to backspace tape over %d pad blocks",
bin/pax/ar_io.c
1106
syswarn(0, errno, "Unable to set signal mask");
bin/pax/ar_io.c
1109
syswarn(0, errno, "Unable to restore signal mask");
bin/pax/ar_io.c
116
syswarn(0, errno, "Failed open to read on %s", name);
bin/pax/ar_io.c
125
syswarn(0, errno, "Failed open to write on %s", name);
bin/pax/ar_io.c
136
syswarn(0, errno, "Failed open to read/write on %s",
bin/pax/ar_io.c
152
syswarn(1, errno, "Failed chdir to %s", chdname);
bin/pax/ar_io.c
160
syswarn(0, errno, "Failed stat on %s", arcname);
bin/pax/ar_io.c
179
else if ((lseek(arfd, (off_t)0L, SEEK_CUR) == -1) && (errno == ESPIPE))
bin/pax/ar_io.c
463
syswarn(1, errno, "Unable to truncate archive file");
bin/pax/ar_io.c
568
syswarn(1, errno, "Failed read on archive volume %d", arvol);
bin/pax/ar_io.c
633
if ((errno == ENOSPC) || (errno == EFBIG) || (errno == EDQUOT))
bin/pax/ar_io.c
641
if (errno == EACCES) {
bin/pax/ar_io.c
650
if ((errno == ENOSPC) || (errno == EIO) || (errno == ENXIO))
bin/pax/ar_io.c
687
syswarn(1, errno, "Failed write to archive volume: %d", arvol);
bin/pax/ar_io.c
832
syswarn(1, errno, "Forward positioning operation on archive failed");
bin/pax/ar_io.c
886
syswarn(1, errno,
bin/pax/ar_io.c
911
syswarn(1, errno, "Unable to seek archive backwards");
bin/pax/ar_io.c
958
syswarn(1,errno, "Unable to backspace tape %d blocks.",
bin/pax/ar_subs.c
273
syswarn(1, errno, "Cannot chdir to %s",
bin/pax/ar_subs.c
327
syswarn(1, errno,
bin/pax/ar_subs.c
426
syswarn(1,errno, "Unable to open %s to read",
bin/pax/ar_subs.c
743
syswarn(1, errno, "Cannot access destination directory %s",
bin/pax/ar_subs.c
907
syswarn(1, errno, "Unable to open %s to read",
bin/pax/buf_subs.c
627
syswarn(1, errno, "Read fault on %s", arcn->org_name);
bin/pax/buf_subs.c
631
syswarn(1, errno, "Failed stat on %s", arcn->org_name);
bin/pax/buf_subs.c
680
syswarn(0,errno,"Unable to obtain block size for file %s",fnm);
bin/pax/buf_subs.c
775
syswarn(0,errno,"Unable to obtain block size for file %s",fnm);
bin/pax/buf_subs.c
797
syswarn(1, errno, "Failed write during copy of %s to %s",
bin/pax/buf_subs.c
803
syswarn(1, errno, "Failed stat of %s", arcn->org_name);
bin/pax/file_subs.c
111
oerrno = errno;
bin/pax/file_subs.c
136
syswarn(0, errno, "Unable to close file descriptor on %s",
bin/pax/file_subs.c
178
syswarn(1,errno,"Unable to link to %s from %s", arcn->ln_name,
bin/pax/file_subs.c
291
syswarn(1, errno, "Unable to remove %s", from);
bin/pax/file_subs.c
296
syswarn(1, errno, "Unable to remove %s", from);
bin/pax/file_subs.c
311
oerrno = errno;
bin/pax/file_subs.c
407
oerrno = errno;
bin/pax/file_subs.c
458
syswarn(0, errno,"Could not access %s (stat)",
bin/pax/file_subs.c
521
syswarn(1,errno,"Unable to remove directory %s", name);
bin/pax/file_subs.c
531
syswarn(1, errno, "Could not unlink %s", name);
bin/pax/file_subs.c
654
syswarn(0,errno,"Unable to obtain file stats %s", fnm);
bin/pax/file_subs.c
661
syswarn(1, errno, "Access/modification time set failed on: %s",
bin/pax/file_subs.c
681
if (strcmp(NM_PAX, argv0) == 0 || errno != EPERM || vflag ||
bin/pax/file_subs.c
683
syswarn(1, errno, "Unable to set file uid/gid of %s",
bin/pax/file_subs.c
705
if (strcmp(NM_PAX, argv0) == 0 || errno != EPERM || vflag ||
bin/pax/file_subs.c
707
syswarn(1, errno, "Unable to set file uid/gid of %s",
bin/pax/file_subs.c
724
syswarn(1, errno, "Could not set permissions on %s", fnm);
bin/pax/file_subs.c
825
syswarn(1,errno,"File seek on %s",
bin/pax/file_subs.c
842
syswarn(1, errno, "Failed write to file %s", name);
bin/pax/file_subs.c
873
syswarn(1, errno, "Failed seek on file %s", fname);
bin/pax/file_subs.c
878
syswarn(1, errno, "Failed write to file %s", fname);
bin/pax/file_subs.c
959
syswarn(1, errno, "Failed stat on %s", arcn->org_name);
bin/pax/file_subs.c
963
syswarn(1, errno, "File rewind failed on: %s", arcn->org_name);
bin/pax/ftree.c
289
syswarn(1, errno,
bin/pax/ftree.c
294
syswarn(1, errno, "Can't chdir to %s",
bin/pax/ftree.c
461
syswarn(1, errno, "Unable to read symlink %s",
bin/pax/options.c
995
if (errno != ENOENT || mkdir(path, 0777)) {
bin/pax/pax.c
230
syswarn(0, errno, "Can't open current working directory.");
bin/pax/pax.c
412
syswarn(1, errno, "Unable to set up signal handler");
bin/pax/tables.c
341
syswarn(1, errno, "Unable to create temporary file: %s",
bin/pax/tables.c
394
syswarn(1, errno,
bin/pax/tables.c
399
syswarn(1, errno,
bin/pax/tables.c
451
syswarn(1, errno, "Failed write to file time table");
bin/pax/tables.c
453
syswarn(1, errno, "Failed seek on file time table");
bin/ps/ps.c
357
errx(1, "malloc: %s", strerror(errno));
bin/ps/ps.c
505
errx(1, "realloc: %s", strerror(errno));
bin/pwd/pwd.c
110
errno = ENOENT;
bin/rm/rm.c
213
if (fflag && errno == ENOENT)
bin/rm/rm.c
292
if (rval == 0 || (fflag && errno == ENOENT)) {
bin/rm/rm.c
302
if (rval == 0 && (fflag && errno == ENOENT)) {
bin/rm/rm.c
323
if (rval == 0 || (fflag && errno == ENOENT)) {
bin/rm/rm.c
337
if (errno)
bin/rm/rm.c
366
if (!fflag || errno != ENOENT) {
bin/rm/rm.c
407
if (rval && (!fflag || errno != ENOENT)) {
bin/sh/arith_yacc.c
106
errno = 0;
bin/sh/arith_yacc.c
108
if (errno != 0 || *p != '\0')
bin/sh/arith_yylex.c
72
errno = ERANGE;
bin/sh/arith_yylex.c
75
errno = ERANGE;
bin/sh/bltin/bltin.h
66
#define warn(fmt, ...) warning(fmt ": %s", __VA_ARGS__, strerror(errno))
bin/sh/cd.c
125
if (errno != ENOENT)
bin/sh/cd.c
126
errno1 = errno;
bin/sh/cd.c
142
if (errno != ENOENT)
bin/sh/cd.c
143
errno1 = errno;
bin/sh/cd.c
359
error(".: %s", strerror(errno));
bin/sh/cd.c
404
if (errno != ERANGE)
bin/sh/eval.c
590
error("Pipe call failed: %s", strerror(errno));
bin/sh/eval.c
690
error("Pipe call failed: %s", strerror(errno));
bin/sh/eval.c
992
error("Pipe call failed: %s", strerror(errno));
bin/sh/exec.c
121
e = errno;
bin/sh/exec.c
127
if (errno != ENOENT && errno != ENOTDIR)
bin/sh/exec.c
128
e = errno;
bin/sh/exec.c
183
e = errno;
bin/sh/exec.c
191
errno = ENOEXEC;
bin/sh/exec.c
199
errno = e;
bin/sh/exec.c
413
if (errno != ENOENT && errno != ENOTDIR)
bin/sh/exec.c
414
e = errno;
bin/sh/exec.c
776
argv[i], strerror(errno));
bin/sh/expand.c
491
while ((i = read(in.fd, buf, sizeof buf)) < 0 && errno == EINTR)
bin/sh/expand.c
857
errno = 0;
bin/sh/expand.c
859
if (errno != 0 || num > shellparam.nparam)
bin/sh/input.c
167
if (errno == EINTR)
bin/sh/input.c
169
if (parsefile->fd == 0 && errno == EWOULDBLOCK) {
bin/sh/input.c
368
e = errno;
bin/sh/jobs.c
1031
TRACE(("Vfork failed, errno=%d\n", errno));
bin/sh/jobs.c
1033
error("Cannot fork: %s", strerror(errno));
bin/sh/jobs.c
1103
error("tcsetpgrp failed, errno=%d\n", errno);
bin/sh/jobs.c
1192
errno = EINTR;
bin/sh/jobs.c
1199
} while (pid == -1 && errno == EINTR);
bin/sh/jobs.c
1200
if (pid == -1 && errno == ECHILD && job != NULL)
bin/sh/jobs.c
745
errno = ESRCH;
bin/sh/jobs.c
915
TRACE(("Fork failed, errno=%d\n", errno));
bin/sh/jobs.c
917
error("Cannot fork: %s", strerror(errno));
bin/sh/jobs.c
943
error("tcsetpgrp failed, errno=%d", errno);
bin/sh/jobs.c
955
_PATH_DEVNULL, strerror(errno));
bin/sh/jobs.c
967
_PATH_DEVNULL, strerror(errno));
bin/sh/miscbltin.c
249
if (errno == EINTR) {
bin/sh/miscbltin.c
256
warning("read error: %s", strerror(errno));
bin/sh/miscbltin.c
562
errno = 0;
bin/sh/miscbltin.c
564
if (errno != 0 || *end != '\0')
bin/sh/miscbltin.c
579
error("can't get limit: %s", strerror(errno));
bin/sh/miscbltin.c
594
error("can't get limit: %s", strerror(errno));
bin/sh/miscbltin.c
601
error("bad limit: %s", strerror(errno));
bin/sh/mknodes.c
119
error("Can't open %s: %s", argv[1], strerror(errno));
bin/sh/mknodes.c
228
error("Can't open %s: %s", file, strerror(errno));
bin/sh/mknodes.c
230
error("Can't create nodes.h: %s", strerror(errno));
bin/sh/output.c
253
dest->error = errno;
bin/sh/output.c
378
switch(errno) {
bin/sh/redir.c
147
switch (errno) {
bin/sh/redir.c
153
error("%d: %s", fd, strerror(errno));
bin/sh/redir.c
191
error("cannot open %s: %s", fname, strerror(errno));
bin/sh/redir.c
196
error("cannot create %s: %s", fname, strerror(errno));
bin/sh/redir.c
203
error("cannot create %s: %s", fname, strerror(errno));
bin/sh/redir.c
206
error("cannot create %s: %s", fname, strerror(errno));
bin/sh/redir.c
221
error("cannot create %s: %s", fname, strerror(errno));
bin/sh/redir.c
226
error("cannot create %s: %s", fname, strerror(errno));
bin/sh/redir.c
236
strerror(errno));
bin/sh/redir.c
251
e = errno;
bin/sh/redir.c
276
error("Pipe call failed: %s", strerror(errno));
bin/sh/show.c
402
fprintf(stderr, "Can't open %s: %s\n", s, strerror(errno));
bin/test/test.c
535
errno = 0;
bin/test/test.c
541
if (errno != 0)
bin/test/test.c
542
error((errno == EINVAL) ? "%s: bad number" :
bin/test/test.c
561
errno = 0;
bin/test/test.c
567
if (errno != 0)
bin/test/test.c
568
error((errno == EINVAL) ? "%s: bad number" :
bin/varsym/varsym.c
101
fprintf(stderr, "varsym_list(): %s\n", strerror(errno));
bin/varsym/varsym.c
152
fprintf(stderr, "%s: %s\n", name, strerror(errno));
crypto/libressl/apps/nc/atomicio.c
52
if (errno == EINTR)
crypto/libressl/apps/nc/atomicio.c
54
if ((errno == EAGAIN) || (errno == ENOBUFS)) {
crypto/libressl/apps/nc/atomicio.c
60
errno = EPIPE;
crypto/libressl/apps/nc/netcat.c
1028
save_errno = errno;
crypto/libressl/apps/nc/netcat.c
1030
errno = save_errno;
crypto/libressl/apps/nc/netcat.c
1047
if ((ret = connect(s, name, namelen)) != 0 && errno == EINPROGRESS) {
crypto/libressl/apps/nc/netcat.c
1054
errno = optval;
crypto/libressl/apps/nc/netcat.c
1058
errno = ETIMEDOUT;
crypto/libressl/apps/nc/netcat.c
1112
save_errno = errno;
crypto/libressl/apps/nc/netcat.c
1114
errno = save_errno;
crypto/libressl/apps/nc/netcat.c
1350
if (n == -1 && (errno == EAGAIN || errno == EINTR))
crypto/libressl/apps/nc/netcat.c
1376
if (n == -1 && (errno == EAGAIN || errno == EINTR))
crypto/libressl/apps/nc/netcat.c
1430
if (errno == EAGAIN || errno == EINTR) {
crypto/libressl/apps/nc/netcat.c
1488
if (errno != EINVAL)
crypto/libressl/apps/nc/netcat.c
1596
errno = ENOPROTOOPT;
crypto/libressl/apps/nc/netcat.c
342
errno = 0;
crypto/libressl/apps/nc/netcat.c
353
if (Tflag < 0 || Tflag > 255 || errstr || errno)
crypto/libressl/apps/nc/netcat.c
792
errno = ENAMETOOLONG;
crypto/libressl/apps/nc/netcat.c
797
save_errno = errno;
crypto/libressl/apps/nc/netcat.c
799
errno = save_errno;
crypto/libressl/apps/nc/netcat.c
825
errno = ETIMEDOUT;
crypto/libressl/apps/nc/netcat.c
847
errstr = strerror(errno);
crypto/libressl/apps/nc/netcat.c
872
errstr = strerror(errno);
crypto/libressl/apps/nc/netcat.c
920
errno = ENAMETOOLONG;
crypto/libressl/apps/nc/netcat.c
924
save_errno = errno;
crypto/libressl/apps/nc/netcat.c
926
errno = save_errno;
crypto/libressl/apps/openssl/apps.c
1302
errno != ENOENT && errno != ENOTDIR) {
crypto/libressl/apps/openssl/apps.c
1523
if (rename(dbfile, odbpath) == -1 && errno != ENOENT && errno != ENOTDIR) {
crypto/libressl/apps/openssl/apps.c
1542
if (rename(attrpath, oattrpath) == -1 && errno != ENOENT && errno != ENOTDIR) {
crypto/libressl/apps/openssl/certhash.c
266
errno = 0;
crypto/libressl/apps/openssl/certhash.c
270
if (errno == ERANGE && (val == LLONG_MAX || val == LLONG_MIN))
crypto/libressl/apps/openssl/certhash.c
679
argv[i], strerror(errno));
crypto/libressl/apps/openssl/errstr.c
132
errno = 0;
crypto/libressl/apps/openssl/errstr.c
137
(errno == ERANGE && ulval == ULONG_MAX)) {
crypto/libressl/apps/openssl/openssl.c
405
fprintf(stderr, "openssl: pledge: %s\n", strerror(errno));
crypto/libressl/apps/openssl/s_client.c
1134
BIO_printf(bio_err, "connect:errno=%d\n", errno);
crypto/libressl/apps/openssl/s_client.c
1155
errno);
crypto/libressl/apps/openssl/s_client.c
1421
errno);
crypto/libressl/apps/openssl/s_client.c
1480
errno);
crypto/libressl/apps/openssl/s_client.c
1582
ret = errno;
crypto/libressl/apps/openssl/s_server.c
1804
} while (n == -1 && errno == EINTR);
crypto/libressl/apps/openssl/s_socket.c
242
if (errno == EINTR) {
crypto/libressl/apps/openssl/s_socket.c
246
fprintf(stderr, "errno=%d ", errno);
crypto/libressl/crypto/asn1/a_strnid.c
116
save_errno = errno;
crypto/libressl/crypto/asn1/a_strnid.c
117
errno = 0;
crypto/libressl/crypto/asn1/a_strnid.c
119
if (errno == ERANGE && mask == ULONG_MAX)
crypto/libressl/crypto/asn1/a_strnid.c
121
errno = save_errno;
crypto/libressl/crypto/bio/b_sock.c
116
SYSerror(errno);
crypto/libressl/crypto/bio/b_sock.c
162
SYSerror(errno);
crypto/libressl/crypto/bio/b_sock.c
174
SYSerror(errno);
crypto/libressl/crypto/bio/b_sock.c
180
SYSerror(errno);
crypto/libressl/crypto/bio/b_sock.c
213
SYSerror(errno);
crypto/libressl/crypto/bio/bss_conn.c
200
SYSerror(errno);
crypto/libressl/crypto/bio/bss_conn.c
225
SYSerror(errno);
crypto/libressl/crypto/bio/bss_conn.c
246
SYSerror(errno);
crypto/libressl/crypto/bio/bss_conn.c
390
errno = 0;
crypto/libressl/crypto/bio/bss_conn.c
414
errno = 0;
crypto/libressl/crypto/bio/bss_dgram.c
268
errno = 0;
crypto/libressl/crypto/bio/bss_dgram.c
280
data->_errno = errno;
crypto/libressl/crypto/bio/bss_dgram.c
294
errno = 0;
crypto/libressl/crypto/bio/bss_dgram.c
313
data->_errno = errno;
crypto/libressl/crypto/bio/bss_dgram.c
639
err = errno;
crypto/libressl/crypto/bio/bss_fd.c
139
errno = 0;
crypto/libressl/crypto/bio/bss_fd.c
154
errno = 0;
crypto/libressl/crypto/bio/bss_fd.c
249
err = errno;
crypto/libressl/crypto/bio/bss_file.c
124
SYSerror(errno);
crypto/libressl/crypto/bio/bss_file.c
126
if (errno == ENOENT)
crypto/libressl/crypto/bio/bss_file.c
193
SYSerror(errno);
crypto/libressl/crypto/bio/bss_file.c
257
SYSerror(errno);
crypto/libressl/crypto/bio/bss_sock.c
139
errno = 0;
crypto/libressl/crypto/bio/bss_sock.c
155
errno = 0;
crypto/libressl/crypto/bio/bss_sock.c
220
err = errno;
crypto/libressl/crypto/dh/dh_pmeth.c
161
errno = 0;
crypto/libressl/crypto/dh/dh_pmeth.c
165
if ((errno == ERANGE &&
crypto/libressl/crypto/dh/dh_pmeth.c
172
errno = 0;
crypto/libressl/crypto/dh/dh_pmeth.c
176
if ((errno == ERANGE &&
crypto/libressl/crypto/dsa/dsa_pmeth.c
244
errno = 0;
crypto/libressl/crypto/dsa/dsa_pmeth.c
248
if ((errno == ERANGE &&
crypto/libressl/crypto/dsa/dsa_pmeth.c
257
errno = 0;
crypto/libressl/crypto/dsa/dsa_pmeth.c
261
if ((errno == ERANGE &&
crypto/libressl/crypto/err/err.c
733
int save_errno = errno;
crypto/libressl/crypto/err/err.c
745
errno = save_errno;
crypto/libressl/crypto/ui/ui_openssl.c
308
if (errno == ENOTTY)
crypto/libressl/crypto/ui/ui_openssl.c
316
if (errno == EINVAL)
crypto/libressl/crypto/x509/x509_addr.c
1529
int saved_errno = errno;
crypto/libressl/crypto/x509/x509_addr.c
1531
errno = 0;
crypto/libressl/crypto/x509/x509_addr.c
1542
if ((errno == ERANGE && parsed_safi == ULONG_MAX) ||
crypto/libressl/crypto/x509/x509_addr.c
1548
errno = saved_errno;
crypto/libressl/ssl/s3_lib.c
2717
errno = 0;
crypto/libressl/ssl/s3_lib.c
2731
errno = 0;
crypto/libressl/ssl/ssl_cert.c
725
SYSerror(errno);
crypto/libressl/ssl/ssl_clnt.c
186
errno = 0;
crypto/libressl/ssl/ssl_pkt.c
246
errno = 0;
crypto/libressl/ssl/ssl_pkt.c
657
errno = 0;
crypto/libressl/ssl/ssl_srvr.c
183
errno = 0;
crypto/libressl/ssl/tls13_error.c
78
errnum = errno;
crypto/libressl/ssl/tls13_legacy.c
106
if (ERR_peek_error() == 0 && errno != 0)
crypto/libressl/ssl/tls13_legacy.c
107
SYSerror(errno);
crypto/libressl/ssl/tls13_legacy.c
34
errno = 0;
crypto/libressl/ssl/tls13_legacy.c
42
if (ERR_peek_error() == 0 && errno != 0)
crypto/libressl/ssl/tls13_legacy.c
43
SYSerror(errno);
crypto/libressl/ssl/tls13_legacy.c
73
errno = 0;
crypto/libressl/ssl/tls13_legacy.c
79
if (ERR_peek_error() == 0 && errno != 0)
crypto/libressl/ssl/tls13_legacy.c
80
SYSerror(errno);
crypto/libressl/tls/tls.c
122
errnum = errno;
crypto/libressl/tls/tls.c
150
errnum = errno;
crypto/libressl/tls/tls.c
178
errnum = errno;
crypto/libressl/tls/tls.c
751
errstr = strerror(errno);
crypto/libressl/tls/tls.c
804
errno = 0;
crypto/libressl/tls/tls.c
835
errno = 0;
crypto/libressl/tls/tls.c
866
errno = 0;
crypto/libressl/tls/tls.c
899
errno != ENOTCONN && errno != ECONNRESET) {
crypto/libressl/tls/tls.c
920
errno = 0;
crypto/openssh/atomicio.c
115
errno = EINVAL;
crypto/openssh/atomicio.c
131
if (errno == EINTR) {
crypto/openssh/atomicio.c
134
errno = EINTR;
crypto/openssh/atomicio.c
138
} else if (errno == EAGAIN || errno == EWOULDBLOCK) {
crypto/openssh/atomicio.c
144
errno = EPIPE;
crypto/openssh/atomicio.c
157
errno = EFAULT;
crypto/openssh/atomicio.c
167
errno = EINTR;
crypto/openssh/atomicio.c
69
if (errno == EINTR) {
crypto/openssh/atomicio.c
72
errno = EINTR;
crypto/openssh/atomicio.c
76
} else if (errno == EAGAIN || errno == EWOULDBLOCK) {
crypto/openssh/atomicio.c
82
errno = EPIPE;
crypto/openssh/atomicio.c
87
errno = EINTR;
crypto/openssh/audit-bsm.c
144
r == EAI_SYSTEM ? strerror(errno) : gai_strerror(r));
crypto/openssh/audit-bsm.c
294
__func__, string, strerror(errno));
crypto/openssh/audit-bsm.c
327
SetAuditFuncText, strerror(errno));
crypto/openssh/audit-linux.c
48
if (errno == EINVAL || errno == EPROTONOSUPPORT ||
crypto/openssh/audit-linux.c
49
errno == EAFNOSUPPORT)
crypto/openssh/audit-linux.c
57
saved_errno = errno;
crypto/openssh/audit-linux.c
66
errno = saved_errno;
crypto/openssh/audit-linux.c
90
fatal("linux_audit_write_entry failed: %s", strerror(errno));
crypto/openssh/auth-krb5.c
255
oerrno = errno;
crypto/openssh/auth-krb5.c
263
oerrno = errno;
crypto/openssh/auth-pam.c
165
if (errno == EINTR)
crypto/openssh/auth-pam.c
197
error("fork(): %s", strerror(errno));
crypto/openssh/auth-pam.c
198
return errno;
crypto/openssh/auth-pam.c
230
if (errno == EINTR)
crypto/openssh/auth-pam.c
232
fatal("%s: waitpid: %s", __func__, strerror(errno));
crypto/openssh/auth-pam.c
290
fatal("%s: setreuid failed: %s", __func__, strerror(errno));
crypto/openssh/auth-pam.c
293
fatal("%s: setreuid failed: %s", __func__, strerror(errno));
crypto/openssh/auth-pam.c
498
strerror(errno));
crypto/openssh/auth-pam.c
823
error("PAM: failed create sockets: %s", strerror(errno));
crypto/openssh/auth-rhosts.c
286
debug3_f("stat %s: %s", path, strerror(errno));
crypto/openssh/auth2-pubkey.c
380
username, strerror(errno));
crypto/openssh/auth2-pubkey.c
651
username, strerror(errno));
crypto/openssh/auth2-pubkeyfile.c
451
if (errno != ENOENT) {
crypto/openssh/auth2-pubkeyfile.c
453
pw->pw_name, file_type, file, strerror(errno));
crypto/openssh/auth2-pubkeyfile.c
456
pw->pw_name, file_type, file, strerror(errno));
crypto/openssh/authfd.c
105
oerrno = errno;
crypto/openssh/authfd.c
107
errno = oerrno;
crypto/openssh/authfile.c
290
errno = ENOENT;
crypto/openssh/authfile.c
293
oerrno = errno;
crypto/openssh/authfile.c
295
errno = oerrno;
crypto/openssh/authfile.c
521
oerrno = errno;
crypto/openssh/authfile.c
523
errno = oerrno;
crypto/openssh/canohost.c
147
verbose_f("gethostname: %s", strerror(errno));
crypto/openssh/canohost.c
173
error("getsockname failed: %.100s", strerror(errno));
crypto/openssh/canohost.c
178
debug("getpeername failed: %.100s", strerror(errno));
crypto/openssh/channels.c
1842
oerrno = errno;
crypto/openssh/channels.c
1846
errno = oerrno;
crypto/openssh/channels.c
1849
if (errno != EINTR && errno != EWOULDBLOCK &&
crypto/openssh/channels.c
1850
errno != ECONNABORTED)
crypto/openssh/channels.c
1851
error("accept: %.100s", strerror(errno));
crypto/openssh/channels.c
1852
if (errno == EMFILE || errno == ENFILE)
crypto/openssh/channels.c
1978
if (errno != EINTR && errno != EWOULDBLOCK &&
crypto/openssh/channels.c
1979
errno != ECONNABORTED)
crypto/openssh/channels.c
1980
error("accept: %.100s", strerror(errno));
crypto/openssh/channels.c
1981
if (errno == EMFILE || errno == ENFILE)
crypto/openssh/channels.c
2016
error("accept from auth socket: %.100s", strerror(errno));
crypto/openssh/channels.c
2017
if (errno == EMFILE || errno == ENFILE)
crypto/openssh/channels.c
2044
err = errno;
crypto/openssh/channels.c
2138
if (errno == EINTR || (!force &&
crypto/openssh/channels.c
2139
(errno == EAGAIN || errno == EWOULDBLOCK)))
crypto/openssh/channels.c
2150
errno = 0;
crypto/openssh/channels.c
2153
if (pty_zeroread && len == 0 && errno != 0)
crypto/openssh/channels.c
2155
if (len == -1 && (errno == EINTR ||
crypto/openssh/channels.c
2156
((errno == EAGAIN || errno == EWOULDBLOCK) && !force)))
crypto/openssh/channels.c
2161
len == 0 ? "closed" : strerror(errno));
crypto/openssh/channels.c
2224
if (len == -1 && (errno == EINTR || errno == EAGAIN ||
crypto/openssh/channels.c
2225
errno == EWOULDBLOCK))
crypto/openssh/channels.c
2240
(errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK))
crypto/openssh/channels.c
2292
if (len == -1 && (errno == EINTR || errno == EAGAIN ||
crypto/openssh/channels.c
2293
errno == EWOULDBLOCK))
crypto/openssh/channels.c
2321
if (len == -1 && (errno == EINTR || ((errno == EAGAIN ||
crypto/openssh/channels.c
2322
errno == EWOULDBLOCK) && !force)))
crypto/openssh/channels.c
2402
if (len == -1 && (errno == EINTR || errno == EAGAIN))
crypto/openssh/channels.c
2463
if (len == -1 && (errno == EINTR || errno == EAGAIN))
crypto/openssh/channels.c
2502
error_f("accept: %s", strerror(errno));
crypto/openssh/channels.c
2503
if (errno == EMFILE || errno == ENFILE)
crypto/openssh/channels.c
2509
error_f("getpeereid failed: %s", strerror(errno));
crypto/openssh/channels.c
3878
strerror(errno));
crypto/openssh/channels.c
3897
ntop, strport, strerror(errno));
crypto/openssh/channels.c
3900
ntop, strport, strerror(errno));
crypto/openssh/channels.c
3908
strerror(errno));
crypto/openssh/channels.c
4609
error("socket: %.100s", strerror(errno));
crypto/openssh/channels.c
4611
verbose("socket: %.100s", strerror(errno));
crypto/openssh/channels.c
4617
cctx->ai->ai_addrlen) == -1 && errno != EINPROGRESS) {
crypto/openssh/channels.c
4619
cctx->host, ntop, strport, strerror(errno));
crypto/openssh/channels.c
4620
saved_errno = errno;
crypto/openssh/channels.c
4622
errno = saved_errno;
crypto/openssh/channels.c
4710
name, port, strerror(errno));
crypto/openssh/channels.c
5029
if ((errno != EINVAL) && (errno != EAFNOSUPPORT)
crypto/openssh/channels.c
5031
&& (errno != EPFNOSUPPORT)
crypto/openssh/channels.c
5034
error("socket: %.100s", strerror(errno));
crypto/openssh/channels.c
5049
strerror(errno));
crypto/openssh/channels.c
5072
error("listen: %.100s", strerror(errno));
crypto/openssh/channels.c
5104
error("socket: %.100s", strerror(errno));
crypto/openssh/channels.c
5113
error("connect %.100s: %.100s", addr.sun_path, strerror(errno));
crypto/openssh/channels.c
5247
debug2("socket: %.100s", strerror(errno));
crypto/openssh/channels.c
5253
6000 + display_number, strerror(errno));
crypto/openssh/channels.c
5263
6000 + display_number, strerror(errno));
crypto/openssh/clientloop.c
1302
error("fork: %.100s", strerror(errno));
crypto/openssh/clientloop.c
1462
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/clientloop.c
1468
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/clientloop.c
1474
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/clientloop.c
1480
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/clientloop.c
1485
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/clientloop.c
1539
error_f("bsigset setup: %s", strerror(errno));
crypto/openssh/clientloop.c
1578
error_f("bsigset sigprocmask: %s", strerror(errno));
crypto/openssh/clientloop.c
1585
error_f("osigset sigprocmask: %s", strerror(errno));
crypto/openssh/clientloop.c
2212
if (r == SSH_ERR_SYSTEM_ERROR && errno == ENOENT) {
crypto/openssh/clientloop.c
2307
if (errno == ENOENT) {
crypto/openssh/clientloop.c
2313
options.user_hostfiles[i], strerror(errno));
crypto/openssh/clientloop.c
2524
if (r == SSH_ERR_SYSTEM_ERROR && errno == ENOENT) {
crypto/openssh/clientloop.c
343
error_f("mkdtemp: %s", strerror(errno));
crypto/openssh/clientloop.c
742
if (errno == EINTR)
crypto/openssh/clientloop.c
745
quit_message("poll: %s", strerror(errno));
crypto/openssh/clientloop.c
802
if (errno == EAGAIN || errno == EINTR || errno == EWOULDBLOCK)
crypto/openssh/clientloop.c
804
if (errno == EPIPE) {
crypto/openssh/clientloop.c
963
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/clientloop.c
968
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/clientloop.c
972
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/dh.c
169
get_moduli_filename(), strerror(errno));
crypto/openssh/hostfile.c
278
if (r != SSH_ERR_SYSTEM_ERROR && errno != ENOENT)
crypto/openssh/hostfile.c
292
debug_f("fopen %s: %s", path, strerror(errno));
crypto/openssh/hostfile.c
490
else if (errno != ENOENT)
crypto/openssh/hostfile.c
491
error("Could not stat %s: %s", dotsshdir, strerror(errno));
crypto/openssh/hostfile.c
498
dotsshdir, strerror(errno));
crypto/openssh/hostfile.c
531
filename, strerror(errno));
crypto/openssh/hostfile.c
630
oerrno = errno;
crypto/openssh/hostfile.c
636
oerrno = errno;
crypto/openssh/hostfile.c
646
oerrno = errno;
crypto/openssh/hostfile.c
697
if (unlink(back) == -1 && errno != ENOENT) {
crypto/openssh/hostfile.c
698
oerrno = errno;
crypto/openssh/hostfile.c
699
error_f("unlink %.100s: %s", back, strerror(errno));
crypto/openssh/hostfile.c
704
oerrno = errno;
crypto/openssh/hostfile.c
706
back, strerror(errno));
crypto/openssh/hostfile.c
711
oerrno = errno;
crypto/openssh/hostfile.c
713
filename, strerror(errno));
crypto/openssh/hostfile.c
720
error_f("unlink \"%s\": %s", temp, strerror(errno));
crypto/openssh/hostfile.c
735
errno = oerrno;
crypto/openssh/hostfile.c
942
oerrno = errno;
crypto/openssh/hostfile.c
944
errno = oerrno;
crypto/openssh/kex.c
1228
error_f("write: %.100s", strerror(errno));
crypto/openssh/kex.c
1259
oerrno = errno;
crypto/openssh/kex.c
1267
oerrno = errno;
crypto/openssh/kex.c
1268
debug_f("write: %.100s", strerror(errno));
crypto/openssh/kex.c
1273
oerrno = errno;
crypto/openssh/kex.c
1301
if (r == -1 && errno == ETIMEDOUT) {
crypto/openssh/kex.c
1309
oerrno = errno;
crypto/openssh/kex.c
1310
error_f("%s", strerror(errno));
crypto/openssh/kex.c
1318
if (len != 1 && errno == EPIPE) {
crypto/openssh/kex.c
1323
oerrno = errno;
crypto/openssh/kex.c
1324
error_f("read: %.100s", strerror(errno));
crypto/openssh/kex.c
1340
oerrno = errno;
crypto/openssh/kex.c
1437
errno = oerrno;
crypto/openssh/krl.c
1279
oerrno = errno;
crypto/openssh/krl.c
1290
errno = oerrno;
crypto/openssh/log.c
321
strerror(errno));
crypto/openssh/log.c
347
int saved_errno = errno;
crypto/openssh/log.c
423
errno = saved_errno;
crypto/openssh/loginrec.c
1100
WTMP_FILE, strerror(errno));
crypto/openssh/loginrec.c
1107
WTMP_FILE, strerror(errno));
crypto/openssh/loginrec.c
1194
WTMP_FILE, strerror(errno));
crypto/openssh/loginrec.c
1199
WTMP_FILE, strerror(errno));
crypto/openssh/loginrec.c
1214
WTMP_FILE, strerror(errno));
crypto/openssh/loginrec.c
1272
WTMPX_FILE, strerror(errno));
crypto/openssh/loginrec.c
1280
WTMPX_FILE, strerror(errno));
crypto/openssh/loginrec.c
1359
WTMPX_FILE, strerror(errno));
crypto/openssh/loginrec.c
1364
WTMPX_FILE, strerror(errno));
crypto/openssh/loginrec.c
1379
WTMPX_FILE, strerror(errno));
crypto/openssh/loginrec.c
1486
LASTLOG_FILE, strerror(errno));
crypto/openssh/loginrec.c
1503
lastlog_file, strerror(errno));
crypto/openssh/loginrec.c
1513
lastlog_file, strerror(errno));
crypto/openssh/loginrec.c
1558
LASTLOG_FILE, strerror(errno));
crypto/openssh/loginrec.c
1613
LASTLOG_FILE, strerror(errno));
crypto/openssh/loginrec.c
1678
strerror(errno));
crypto/openssh/loginrec.c
1683
strerror(errno));
crypto/openssh/loginrec.c
1725
strerror(errno));
crypto/openssh/loginrec.c
878
logit("%s: lseek: %s", __func__, strerror(errno));
crypto/openssh/loginrec.c
900
logit("%s: lseek: %s", __func__, strerror(errno));
crypto/openssh/loginrec.c
912
UTMP_FILE, strerror(errno));
crypto/openssh/misc.c
118
error("fcntl(%d, F_GETFL): %s", fd, strerror(errno));
crypto/openssh/misc.c
129
strerror(errno));
crypto/openssh/misc.c
142
error("fcntl(%d, F_GETFL): %s", fd, strerror(errno));
crypto/openssh/misc.c
1465
debug_f("%s open: %s", name, strerror(errno));
crypto/openssh/misc.c
1478
strerror(errno));
crypto/openssh/misc.c
1486
strerror(errno));
crypto/openssh/misc.c
1516
strerror(errno));
crypto/openssh/misc.c
1521
if (fcntl(dupfd, F_GETFL) == -1 && errno == EBADF) {
crypto/openssh/misc.c
1523
fprintf(stderr, "dup2: %s\n", strerror(errno));
crypto/openssh/misc.c
153
fd, strerror(errno));
crypto/openssh/misc.c
162
if (gaierr == EAI_SYSTEM && errno != 0)
crypto/openssh/misc.c
163
return strerror(errno);
crypto/openssh/misc.c
1723
debug3("clock_gettime: %s", strerror(errno));
crypto/openssh/misc.c
176
debug("getsockopt TCP_NODELAY: %.100s", strerror(errno));
crypto/openssh/misc.c
1813
if (errno != EINTR)
crypto/openssh/misc.c
186
error("setsockopt TCP_NODELAY: %.100s", strerror(errno));
crypto/openssh/misc.c
1925
errno = ENAMETOOLONG;
crypto/openssh/misc.c
1931
saved_errno = errno;
crypto/openssh/misc.c
1932
error_f("socket: %.100s", strerror(errno));
crypto/openssh/misc.c
1933
errno = saved_errno;
crypto/openssh/misc.c
1937
if (unlink(path) != 0 && errno != ENOENT)
crypto/openssh/misc.c
1938
error("unlink(%s): %.100s", path, strerror(errno));
crypto/openssh/misc.c
1941
saved_errno = errno;
crypto/openssh/misc.c
1942
error_f("cannot bind to path %s: %s", path, strerror(errno));
crypto/openssh/misc.c
1944
errno = saved_errno;
crypto/openssh/misc.c
1948
saved_errno = errno;
crypto/openssh/misc.c
1949
error_f("cannot listen on path %s: %s", path, strerror(errno));
crypto/openssh/misc.c
1952
errno = saved_errno;
crypto/openssh/misc.c
196
error("setsockopt SO_REUSEADDR fd %d: %s", fd, strerror(errno));
crypto/openssh/misc.c
1966
error("setsockopt IPV6_V6ONLY: %s", strerror(errno));
crypto/openssh/misc.c
215
fd, strerror(errno));
crypto/openssh/misc.c
2203
if (errno != EINTR) {
crypto/openssh/misc.c
2204
error("%s waitpid: %s", tag, strerror(errno));
crypto/openssh/misc.c
2243
strerror(errno));
crypto/openssh/misc.c
2305
file, strerror(errno));
crypto/openssh/misc.c
246
rtable, fd, strerror(errno));
crypto/openssh/misc.c
2698
debug3("sigaction(%s): %s", strsignal(signum), strerror(errno));
crypto/openssh/misc.c
2711
strerror(errno));
crypto/openssh/misc.c
2717
error_f("dup2: %s", strerror(errno));
crypto/openssh/misc.c
2785
av[0], strerror(errno));
crypto/openssh/misc.c
2795
error("%s: pipe: %s", tag, strerror(errno));
crypto/openssh/misc.c
2806
error("%s: fork: %s", tag, strerror(errno));
crypto/openssh/misc.c
2828
strerror(errno));
crypto/openssh/misc.c
2832
error("%s: dup2: %s", tag, strerror(errno));
crypto/openssh/misc.c
2843
error("%s: dup2: %s", tag, strerror(errno));
crypto/openssh/misc.c
2851
pw->pw_name, (u_int)pw->pw_gid, strerror(errno));
crypto/openssh/misc.c
2856
strerror(errno));
crypto/openssh/misc.c
2861
strerror(errno));
crypto/openssh/misc.c
2867
error("%s: dup2: %s", tag, strerror(errno));
crypto/openssh/misc.c
2875
command, strerror(errno));
crypto/openssh/misc.c
2885
error("%s: fdopen: %s", tag, strerror(errno));
crypto/openssh/misc.c
2889
while (waitpid(pid, NULL, 0) == -1 && errno == EINTR)
crypto/openssh/misc.c
289
fd, tos, strerror(errno));
crypto/openssh/misc.c
299
fd, tos, strerror(errno));
crypto/openssh/misc.c
3067
error_f("open %s: %s", path, strerror(errno));
crypto/openssh/misc.c
3071
error_f("fstat %s: %s", path, strerror(errno));
crypto/openssh/misc.c
3087
error_f("mmap %s: %s", path, strerror(errno));
crypto/openssh/misc.c
337
errno = EINTR;
crypto/openssh/misc.c
343
oerrno = errno;
crypto/openssh/misc.c
348
errno = oerrno;
crypto/openssh/misc.c
351
else if (r == -1 && errno != EAGAIN && errno != EINTR)
crypto/openssh/misc.c
357
errno = ETIMEDOUT;
crypto/openssh/misc.c
395
} else if (errno == EINTR)
crypto/openssh/misc.c
397
else if (errno != EINPROGRESS)
crypto/openssh/misc.c
407
debug("getsockopt: %s", strerror(errno));
crypto/openssh/misc.c
411
errno = optval;
crypto/openssh/misc.c
712
fatal("put_host_port: asprintf: %s", strerror(errno));
crypto/openssh/moduli.c
463
logit("mkstemp(%s): %s", tmp, strerror(errno));
crypto/openssh/moduli.c
467
logit("write_checkpoint: fdopen: %s", strerror(errno));
crypto/openssh/moduli.c
479
strerror(errno));
crypto/openssh/monitor.c
1540
debug("getpeername: %.100s", strerror(errno));
crypto/openssh/monitor.c
1608
fatal_f("open(/dev/null): %s", strerror(errno));
crypto/openssh/monitor.c
1666
if (errno != EINTR)
crypto/openssh/monitor.c
1803
fatal_f("socketpair: %s", strerror(errno));
crypto/openssh/monitor.c
1806
error("setsockopt SO_ZEROIZE(0): %.100s", strerror(errno));
crypto/openssh/monitor.c
1808
error("setsockopt SO_ZEROIZE(1): %.100s", strerror(errno));
crypto/openssh/monitor.c
1817
fatal_f("pipe: %s", strerror(errno));
crypto/openssh/monitor.c
436
if (errno == EPIPE) {
crypto/openssh/monitor.c
443
fatal_f("log fd read: %s", strerror(errno));
crypto/openssh/monitor.c
455
fatal_f("log fd read: %s", strerror(errno));
crypto/openssh/monitor.c
488
if (errno == EINTR || errno == EAGAIN)
crypto/openssh/monitor.c
490
fatal_f("poll: %s", strerror(errno));
crypto/openssh/monitor_fdpass.c
146
(errno == EAGAIN || errno == EINTR)) {
crypto/openssh/monitor_fdpass.c
147
debug3_f("recvmsg: %s", strerror(errno));
crypto/openssh/monitor_fdpass.c
151
error_f("recvmsg: %s", strerror(errno));
crypto/openssh/monitor_fdpass.c
91
(errno == EAGAIN || errno == EINTR)) {
crypto/openssh/monitor_fdpass.c
92
debug3_f("sendmsg(%d): %s", fd, strerror(errno));
crypto/openssh/monitor_fdpass.c
96
error_f("sendmsg(%d): %s", fd, strerror(errno));
crypto/openssh/monitor_wrap.c
110
fatal_f("write: %s", strerror(errno));
crypto/openssh/monitor_wrap.c
132
if (errno == EINTR)
crypto/openssh/monitor_wrap.c
135
fatal_f("waitpid: %s", strerror(errno));
crypto/openssh/monitor_wrap.c
169
if (errno == EPIPE) {
crypto/openssh/monitor_wrap.c
174
fatal_f("write: %s", strerror(errno));
crypto/openssh/monitor_wrap.c
188
if (errno == EPIPE) {
crypto/openssh/monitor_wrap.c
193
fatal_f("read: %s", strerror(errno));
crypto/openssh/monitor_wrap.c
202
oerrno = errno;
crypto/openssh/monitor_wrap.c
203
error_f("read: %s", strerror(errno));
crypto/openssh/monitor_wrap.c
693
s->ptymaster, strerror(errno));
crypto/openssh/msg.c
55
error_f("write: %s", strerror(errno));
crypto/openssh/msg.c
59
error_f("write: %s", strerror(errno));
crypto/openssh/msg.c
76
if (errno != EPIPE)
crypto/openssh/msg.c
77
error_f("read header: %s", strerror(errno));
crypto/openssh/msg.c
91
error_f("read: %s", strerror(errno));
crypto/openssh/mux.c
1305
oerrno = errno;
crypto/openssh/mux.c
1329
if (errno != EEXIST) {
crypto/openssh/mux.c
1332
strerror(errno));
crypto/openssh/mux.c
1453
int save_errno = errno;
crypto/openssh/mux.c
1458
errno = save_errno;
crypto/openssh/mux.c
1473
errno = EINTR;
crypto/openssh/mux.c
1478
switch (errno) {
crypto/openssh/mux.c
1485
errno != EINTR)
crypto/openssh/mux.c
1495
errno = EPIPE;
crypto/openssh/mux.c
1525
errno = EINTR;
crypto/openssh/mux.c
1530
switch (errno) {
crypto/openssh/mux.c
1540
oerrno = errno;
crypto/openssh/mux.c
1542
errno = oerrno;
crypto/openssh/mux.c
1548
errno = EPIPE;
crypto/openssh/mux.c
1568
if ((oerrno = errno) == EPIPE)
crypto/openssh/mux.c
1570
strerror(errno));
crypto/openssh/mux.c
1572
errno = oerrno;
crypto/openssh/mux.c
1577
oerrno = errno;
crypto/openssh/mux.c
1578
debug3_f("read body failed: %s", strerror(errno));
crypto/openssh/mux.c
1580
errno = oerrno;
crypto/openssh/mux.c
1611
debug_f("write packet: %s", strerror(errno));
crypto/openssh/mux.c
1673
fatal_f("write packet: %s", strerror(errno));
crypto/openssh/mux.c
1724
fatal_f("write packet: %s", strerror(errno));
crypto/openssh/mux.c
1731
if (errno == EPIPE) {
crypto/openssh/mux.c
1735
fatal_f("read from master failed: %s", strerror(errno));
crypto/openssh/mux.c
1805
fatal_f("write packet: %s", strerror(errno));
crypto/openssh/mux.c
1942
fatal_f("write packet: %s", strerror(errno));
crypto/openssh/mux.c
1955
error_f("read from master failed: %s", strerror(errno));
crypto/openssh/mux.c
1993
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/mux.c
2087
fatal_f("write packet: %s", strerror(errno));
crypto/openssh/mux.c
2144
fatal_f("write packet: %s", strerror(errno));
crypto/openssh/mux.c
2152
fatal_f("pledge(): %s", strerror(errno));
crypto/openssh/mux.c
2161
error_f("read from master failed: %s", strerror(errno));
crypto/openssh/mux.c
2205
if (errno == EPIPE ||
crypto/openssh/mux.c
2206
(errno == EINTR && muxclient_terminate != 0))
crypto/openssh/mux.c
2208
fatal_f("mux_client_read_packet: %s", strerror(errno));
crypto/openssh/mux.c
2230
fatal_f("write packet: %s", strerror(errno));
crypto/openssh/mux.c
2236
fatal_f("read from master failed: %s", strerror(errno));
crypto/openssh/mux.c
2298
fatal_f("socket(): %s", strerror(errno));
crypto/openssh/mux.c
2307
strerror(errno));
crypto/openssh/mux.c
2309
if (errno == ECONNREFUSED &&
crypto/openssh/mux.c
2313
} else if (errno == ENOENT) {
crypto/openssh/mux.c
2317
strerror(errno));
crypto/openssh/mux.c
452
error_f("tcgetattr: %s", strerror(errno));
crypto/openssh/nchan.c
388
c->istate, c->ostate, strerror(errno));
crypto/openssh/nchan.c
394
c->istate, c->ostate, strerror(errno));
crypto/openssh/nchan.c
413
if (shutdown(c->sock, SHUT_RD) == -1 && errno != ENOTCONN) {
crypto/openssh/nchan.c
416
c->istate, c->ostate, strerror(errno));
crypto/openssh/nchan.c
422
c->istate, c->ostate, strerror(errno));
crypto/openssh/nchan.c
441
c->istate, c->ostate, strerror(errno));
crypto/openssh/packet.c
1473
if (errno != EAGAIN && errno != EINTR &&
crypto/openssh/packet.c
1474
errno != EWOULDBLOCK) {
crypto/openssh/packet.c
1990
int oerrno = errno;
crypto/openssh/packet.c
2006
if (errno == ECONNRESET) {
crypto/openssh/packet.c
2018
errno = oerrno;
crypto/openssh/packet.c
2030
errno = oerrno;
crypto/openssh/packet.c
2109
if (errno == EINTR || errno == EAGAIN ||
crypto/openssh/packet.c
2110
errno == EWOULDBLOCK)
crypto/openssh/packet.c
2152
if (errno != EAGAIN && errno != EINTR &&
crypto/openssh/packet.c
2153
errno != EWOULDBLOCK)
crypto/openssh/packet.c
560
debug_f("getpeername failed: %.100s", strerror(errno));
crypto/openssh/platform-tracing.c
57
strerror(errno));
crypto/openssh/platform-tracing.c
63
strerror(errno));
crypto/openssh/platform-tracing.c
69
strerror(errno));
crypto/openssh/platform-tracing.c
74
fatal("unable to set PT_DENY_ATTACH: %s", strerror(errno));
crypto/openssh/platform.c
92
error("setluid: %s", strerror(errno));
crypto/openssh/readconf.c
1281
filename, linenum, arg, strerror(errno));
crypto/openssh/readconf.c
2035
if (r != 1 && errno != ENOENT) {
crypto/openssh/readconf.c
2038
strerror(errno));
crypto/openssh/readconf.c
2463
fatal("fstat %s: %s", filename, strerror(errno));
crypto/openssh/readconf.c
546
shell, strerror(errno));
crypto/openssh/readconf.c
565
error("Unable to execute '%.100s': %s", cmd, strerror(errno));
crypto/openssh/readconf.c
573
fatal_f("fork: %.100s", strerror(errno));
crypto/openssh/readconf.c
576
if (errno != EINTR && errno != EAGAIN)
crypto/openssh/readconf.c
577
fatal_f("waitpid: %s", strerror(errno));
crypto/openssh/readconf.c
602
strerror(errno));
crypto/openssh/readconf.c
771
fatal("gethostname: %s", strerror(errno));
crypto/openssh/readpass.c
167
strerror(errno));
crypto/openssh/readpass.c
254
error_f("fflush: %s", strerror(errno));
crypto/openssh/readpass.c
273
error_f("fork: %s", strerror(errno));
crypto/openssh/readpass.c
284
error_f("exec(%s): %s", askpass, strerror(errno));
crypto/openssh/readpass.c
326
if (errno != EINTR)
crypto/openssh/readpass.c
330
fatal_f("waitpid: %s", strerror(errno));
crypto/openssh/readpass.c
61
error_f("fflush: %s", strerror(errno));
crypto/openssh/readpass.c
65
error_f("pipe: %s", strerror(errno));
crypto/openssh/readpass.c
70
error_f("fork: %s", strerror(errno));
crypto/openssh/readpass.c
77
fatal_f("dup2: %s", strerror(errno));
crypto/openssh/readpass.c
81
fatal_f("exec(%s): %s", askpass, strerror(errno));
crypto/openssh/readpass.c
89
if (r == -1 && errno == EINTR)
crypto/openssh/readpass.c
99
if (errno != EINTR)
crypto/openssh/sandbox-capsicum.c
104
errno != ENOSYS)
crypto/openssh/sandbox-capsicum.c
108
errno != ENOSYS)
crypto/openssh/sandbox-capsicum.c
110
if (cap_enter() < 0 && errno != ENOSYS)
crypto/openssh/sandbox-capsicum.c
83
__func__, strerror(errno));
crypto/openssh/sandbox-capsicum.c
87
__func__, strerror(errno));
crypto/openssh/sandbox-capsicum.c
91
__func__, strerror(errno));
crypto/openssh/sandbox-capsicum.c
95
if (cap_rights_limit(STDIN_FILENO, &rights) < 0 && errno != ENOSYS)
crypto/openssh/sandbox-capsicum.c
97
if (cap_rights_limit(STDOUT_FILENO, &rights) < 0 && errno != ENOSYS)
crypto/openssh/sandbox-capsicum.c
99
if (cap_rights_limit(STDERR_FILENO, &rights) < 0 && errno != ENOSYS)
crypto/openssh/sandbox-darwin.c
77
__func__, strerror(errno));
crypto/openssh/sandbox-darwin.c
80
__func__, strerror(errno));
crypto/openssh/sandbox-darwin.c
83
__func__, strerror(errno));
crypto/openssh/sandbox-rlimit.c
69
strerror(errno));
crypto/openssh/sandbox-rlimit.c
74
strerror(errno));
crypto/openssh/sandbox-rlimit.c
79
strerror(errno));
crypto/openssh/sandbox-seccomp-filter.c
482
fatal("%s: sigaction(SIGSYS): %s", __func__, strerror(errno));
crypto/openssh/sandbox-seccomp-filter.c
485
__func__, strerror(errno));
crypto/openssh/sandbox-seccomp-filter.c
499
__func__, strerror(errno));
crypto/openssh/sandbox-seccomp-filter.c
506
__func__, strerror(errno));
crypto/openssh/sandbox-seccomp-filter.c
509
__func__, strerror(errno));
crypto/openssh/sandbox-seccomp-filter.c
518
__func__, strerror(errno));
crypto/openssh/sandbox-seccomp-filter.c
524
__func__, strerror(errno));
crypto/openssh/sandbox-solaris.c
97
fatal("setppriv: %s", strerror(errno));
crypto/openssh/sandbox-systrace.c
135
} while (pid == -1 && errno == EINTR);
crypto/openssh/sandbox-systrace.c
152
strerror(errno));
crypto/openssh/sandbox-systrace.c
155
dev_systrace, strerror(errno));
crypto/openssh/sandbox-systrace.c
160
box->systrace_fd, child_pid, strerror(errno));
crypto/openssh/sandbox-systrace.c
168
box->systrace_fd, strerror(errno));
crypto/openssh/sandbox-systrace.c
174
__func__, box->systrace_fd, strerror(errno));
crypto/openssh/sandbox-systrace.c
193
__func__, box->systrace_fd, strerror(errno));
crypto/openssh/scp.c
1192
strerror(errno));
crypto/openssh/scp.c
1347
fatal("stat local \"%s\": %s", src, strerror(errno));
crypto/openssh/scp.c
1350
fatal("basename \"%s\": %s", src, strerror(errno));
crypto/openssh/scp.c
1415
syserr: run_err("%s: %s", name, strerror(errno));
crypto/openssh/scp.c
1471
haderr = errno;
crypto/openssh/scp.c
1483
haderr = errno;
crypto/openssh/scp.c
1489
haderr = errno;
crypto/openssh/scp.c
1510
run_err("%s: %s", name, strerror(errno));
crypto/openssh/scp.c
1598
debug2_f("stat local \"%s\": %s", dst, strerror(errno));
crypto/openssh/scp.c
1610
error("local mkdir \"%s\": %s", dst, strerror(errno));
crypto/openssh/scp.c
1620
error("basename %s: %s", tmp, strerror(errno));
crypto/openssh/scp.c
1853
errno = ENOTDIR;
crypto/openssh/scp.c
1878
bad: run_err("%s: %s", np, strerror(errno));
crypto/openssh/scp.c
1908
strerror(errno) :
crypto/openssh/scp.c
1922
strerror(errno));
crypto/openssh/scp.c
1933
note_err("%s: %s", np, strerror(errno));
crypto/openssh/scp.c
1938
note_err("%s: truncate: %s", np, strerror(errno));
crypto/openssh/scp.c
1947
np, strerror(errno));
crypto/openssh/scp.c
1957
np, strerror(errno));
crypto/openssh/scp.c
1961
note_err("%s: close: %s", np, strerror(errno));
crypto/openssh/scp.c
1969
np, strerror(errno));
crypto/openssh/scp.c
1999
fatal("basename %s: %s", src, strerror(errno));
crypto/openssh/scp.c
2041
error("basename %s: %s", tmp, strerror(errno));
crypto/openssh/scp.c
217
errno == EINTR)
crypto/openssh/scp.c
2190
errno = ENOTDIR;
crypto/openssh/scp.c
2192
run_err("%s: %s", cp, strerror(errno));
crypto/openssh/scp.c
2234
run_err("fstat: %s", strerror(errno));
crypto/openssh/scp.c
225
int save_errno = errno;
crypto/openssh/scp.c
229
errno = save_errno;
crypto/openssh/scp.c
249
fatal("do_local_cmd: fork: %s", strerror(errno));
crypto/openssh/scp.c
263
if (errno != EINTR)
crypto/openssh/scp.c
264
fatal("do_local_cmd: waitpid: %s", strerror(errno));
crypto/openssh/scp.c
301
fatal("pipe: %s", strerror(errno));
crypto/openssh/scp.c
305
fatal("socketpair: %s", strerror(errno));
crypto/openssh/scp.c
316
fatal("fork: %s", strerror(errno));
crypto/openssh/scp.c
322
error("dup2: %s", strerror(errno));
crypto/openssh/scp.c
332
error("dup2: %s", strerror(errno));
crypto/openssh/scp.c
422
fatal("fork: %s", strerror(errno));
crypto/openssh/scp.c
425
if (errno != EINTR)
crypto/openssh/scp.c
426
fatal("do_cmd2: waitpid: %s", strerror(errno));
crypto/openssh/scp.c
598
errno = EINVAL;
crypto/openssh/scp.c
602
optarg + 7, strerror(errno));
crypto/openssh/servconf.c
1697
arg, strerror(errno));
crypto/openssh/servconf.c
802
fatal_f("getcwd: %s", strerror(errno));
crypto/openssh/serverloop.c
223
if (errno != EINTR)
crypto/openssh/serverloop.c
224
fatal_f("ppoll: %.100s", strerror(errno));
crypto/openssh/serverloop.c
266
if (errno == EAGAIN || errno == EINTR || errno == EWOULDBLOCK)
crypto/openssh/serverloop.c
268
if (errno == EPIPE) {
crypto/openssh/serverloop.c
275
strerror(errno));
crypto/openssh/serverloop.c
311
(pid == -1 && errno == EINTR))
crypto/openssh/serverloop.c
330
error_f("bsigset setup: %s", strerror(errno));
crypto/openssh/serverloop.c
351
error_f("bsigset sigprocmask: %s", strerror(errno));
crypto/openssh/serverloop.c
357
error_f("osigset sigprocmask: %s", strerror(errno));
crypto/openssh/session.c
1207
fatal_f("xasprintf: %s", strerror(errno));
crypto/openssh/session.c
1244
fatal_f("xasprintf: %s", strerror(errno));
crypto/openssh/session.c
1325
component, strerror(errno));
crypto/openssh/session.c
1338
"%s", path, strerror(errno));
crypto/openssh/session.c
1340
fatal("chroot(\"%s\"): %s", path, strerror(errno));
crypto/openssh/session.c
1342
fatal_f("chdir(/) after chroot: %s", strerror(errno));
crypto/openssh/session.c
1363
error("setlogin failed: %s", strerror(errno));
crypto/openssh/session.c
1622
strerror(errno));
crypto/openssh/session.c
1681
errno = EINVAL;
crypto/openssh/session.c
1963
prog, strerror(errno));
crypto/openssh/session.c
214
"mkdtemp() failed: %.100s", strerror(errno));
crypto/openssh/session.c
2160
sig, strerror(errno));
crypto/openssh/session.c
2283
s->ptymaster, strerror(errno));
crypto/openssh/session.c
2601
fatal("gethostname: %.100s", strerror(errno));
crypto/openssh/session.c
281
error_f("mkstemp: %s", strerror(errno));
crypto/openssh/session.c
286
error_f("write: %s", strerror(errno));
crypto/openssh/session.c
290
error_f("close: %s", strerror(errno));
crypto/openssh/session.c
410
error_f("pipe in: %.100s", strerror(errno));
crypto/openssh/session.c
414
error_f("pipe out: %.100s", strerror(errno));
crypto/openssh/session.c
420
error_f("pipe err: %.100s", strerror(errno));
crypto/openssh/session.c
435
error_f("socketpair #1: %.100s", strerror(errno));
crypto/openssh/session.c
439
error_f("socketpair #2: %.100s", strerror(errno));
crypto/openssh/session.c
451
error_f("fork: %.100s", strerror(errno));
crypto/openssh/session.c
474
error("setsid failed: %.100s", strerror(errno));
crypto/openssh/session.c
586
error_f("dup #1: %s", strerror(errno));
crypto/openssh/session.c
593
error_f("dup #2: %s", strerror(errno));
crypto/openssh/session.c
603
error_f("fork: %.100s", strerror(errno));
crypto/openssh/session.c
623
error("dup2 stdin: %s", strerror(errno));
crypto/openssh/session.c
625
error("dup2 stdout: %s", strerror(errno));
crypto/openssh/session.c
627
error("dup2 stderr: %s", strerror(errno));
crypto/openssh/session.c
762
debug("getpeername: %.100s", strerror(errno));
crypto/openssh/sftp-client.c
1653
error("open local \"%s\": %s", local_path, strerror(errno));
crypto/openssh/sftp-client.c
1659
local_path, strerror(errno));
crypto/openssh/sftp-client.c
1755
write_errno = errno;
crypto/openssh/sftp-client.c
182
fatal("Couldn't send packet: %s", strerror(errno));
crypto/openssh/sftp-client.c
1840
strerror(errno));
crypto/openssh/sftp-client.c
1863
strerror(errno));
crypto/openssh/sftp-client.c
1872
local_path, strerror(errno));
crypto/openssh/sftp-client.c
1880
local_path, strerror(errno));
crypto/openssh/sftp-client.c
1930
if (mkdir(dst, tmpmode) == -1 && errno != EEXIST) {
crypto/openssh/sftp-client.c
1931
error("mkdir %s: %s", dst, strerror(errno));
crypto/openssh/sftp-client.c
199
if (errno == EPIPE || errno == ECONNRESET)
crypto/openssh/sftp-client.c
1996
dst, strerror(errno));
crypto/openssh/sftp-client.c
2004
strerror(errno));
crypto/openssh/sftp-client.c
202
fatal("Couldn't read packet: %s", strerror(errno));
crypto/openssh/sftp-client.c
2055
error("open local \"%s\": %s", local_path, strerror(errno));
crypto/openssh/sftp-client.c
2059
error("fstat local \"%s\": %s", local_path, strerror(errno));
crypto/openssh/sftp-client.c
2136
(errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK));
crypto/openssh/sftp-client.c
2140
local_path, strerror(errno));
crypto/openssh/sftp-client.c
219
if (errno == EPIPE)
crypto/openssh/sftp-client.c
222
fatal("Read packet: %s", strerror(errno));
crypto/openssh/sftp-client.c
2230
error("close local \"%s\": %s", local_path, strerror(errno));
crypto/openssh/sftp-client.c
2270
error("stat local \"%s\": %s", src, strerror(errno));
crypto/openssh/sftp-client.c
2306
error("local opendir \"%s\": %s", src, strerror(errno));
crypto/openssh/sftp-client.c
2323
strerror(errno));
crypto/openssh/sftp-client.c
2335
strerror(errno));
crypto/openssh/sftp-client.c
2406
if (errno == EINTR)
crypto/openssh/sftp-client.c
2408
fatal_f("poll: %s", strerror(errno));
crypto/openssh/sftp-realpath.c
102
errno = ENAMETOOLONG;
crypto/openssh/sftp-realpath.c
117
errno = ENAMETOOLONG;
crypto/openssh/sftp-realpath.c
127
errno = ENAMETOOLONG;
crypto/openssh/sftp-realpath.c
158
errno = ENAMETOOLONG;
crypto/openssh/sftp-realpath.c
162
if (errno == ENOENT && p == NULL) {
crypto/openssh/sftp-realpath.c
163
errno = serrno;
crypto/openssh/sftp-realpath.c
170
errno = ELOOP;
crypto/openssh/sftp-realpath.c
197
errno = ENAMETOOLONG;
crypto/openssh/sftp-realpath.c
205
errno = ENAMETOOLONG;
crypto/openssh/sftp-realpath.c
68
errno = ENOENT;
crypto/openssh/sftp-realpath.c
72
serrno = errno;
crypto/openssh/sftp-server.c
1003
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1009
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1020
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1027
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1056
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1066
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1081
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1092
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1112
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1197
status = (r == -1) ? errno_to_portable(errno) : SSH2_FX_OK;
crypto/openssh/sftp-server.c
1218
status = (r == -1) ? errno_to_portable(errno) : SSH2_FX_OK;
crypto/openssh/sftp-server.c
1235
status = (r == -1) ? errno_to_portable(errno) : SSH2_FX_OK;
crypto/openssh/sftp-server.c
1257
send_status(id, errno_to_portable(errno));
crypto/openssh/sftp-server.c
1282
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1286
if (errno == EOPNOTSUPP || errno == ENOSYS
crypto/openssh/sftp-server.c
1288
|| errno == EXDEV
crypto/openssh/sftp-server.c
1291
|| errno == LINK_OPNOTSUPP_ERRNO
crypto/openssh/sftp-server.c
1303
errno_to_portable(errno);
crypto/openssh/sftp-server.c
1308
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1311
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1318
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1340
send_status(id, errno_to_portable(errno));
crypto/openssh/sftp-server.c
1366
status = (r == -1) ? errno_to_portable(errno) : SSH2_FX_OK;
crypto/openssh/sftp-server.c
1385
status = (r == -1) ? errno_to_portable(errno) : SSH2_FX_OK;
crypto/openssh/sftp-server.c
1404
send_status(id, errno_to_portable(errno));
crypto/openssh/sftp-server.c
1425
send_status(id, errno_to_portable(errno));
crypto/openssh/sftp-server.c
1443
status = (r == -1) ? errno_to_portable(errno) : SSH2_FX_OK;
crypto/openssh/sftp-server.c
1462
status = (r == -1) ? errno_to_portable(errno) : SSH2_FX_OK;
crypto/openssh/sftp-server.c
1489
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1501
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1509
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1561
send_status(id, errno_to_portable(errno));
crypto/openssh/sftp-server.c
1599
send_status(id, errno_to_portable(errno));
crypto/openssh/sftp-server.c
1650
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1657
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1668
if (ret == 0 && errno == EPIPE) {
crypto/openssh/sftp-server.c
1672
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1673
error("%s: read failed: %s", __func__, strerror(errno));
crypto/openssh/sftp-server.c
1681
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
1684
strerror(errno));
crypto/openssh/sftp-server.c
1976
errno = 0;
crypto/openssh/sftp-server.c
1979
cp == optarg || (mask == 0 && errno != 0))
crypto/openssh/sftp-server.c
2032
strerror(errno));
crypto/openssh/sftp-server.c
2063
if (errno == EINTR)
crypto/openssh/sftp-server.c
2065
error("poll: %s", strerror(errno));
crypto/openssh/sftp-server.c
2076
if (errno != EAGAIN && errno != EINTR) {
crypto/openssh/sftp-server.c
2077
error("read: %s", strerror(errno));
crypto/openssh/sftp-server.c
2086
if (len == 0 || (len == -1 && errno == EPIPE)) {
crypto/openssh/sftp-server.c
2091
if (errno != EAGAIN && errno != EINTR) {
crypto/openssh/sftp-server.c
2092
error("write: %s", strerror(errno));
crypto/openssh/sftp-server.c
471
errno = ENOENT;
crypto/openssh/sftp-server.c
767
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
794
status = (ret == -1) ? errno_to_portable(errno) : SSH2_FX_OK;
crypto/openssh/sftp-server.c
827
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
829
strerror(errno));
crypto/openssh/sftp-server.c
836
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
838
strerror(errno));
crypto/openssh/sftp-server.c
875
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
877
strerror(errno));
crypto/openssh/sftp-server.c
882
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
884
handle_to_name(handle), strerror(errno));
crypto/openssh/sftp-server.c
913
status = errno_to_portable(errno);
crypto/openssh/sftp-server.c
951
status = errno_to_portable(errno);
crypto/openssh/sftp.c
1512
errno = 0;
crypto/openssh/sftp.c
1515
((ll == LLONG_MIN || ll == LLONG_MAX) && errno == ERANGE) ||
crypto/openssh/sftp.c
1701
"\"%s\": %s", path1, strerror(errno));
crypto/openssh/sftp.c
1708
"\"%s\": %s", path1, strerror(errno));
crypto/openssh/sftp.c
1783
error("Couldn't get local cwd: %s", strerror(errno));
crypto/openssh/sftp.c
2302
strerror(errno));
crypto/openssh/sftp.c
237
int save_errno = errno;
crypto/openssh/sftp.c
2370
fatal("pipe: %s", strerror(errno));
crypto/openssh/sftp.c
2379
fatal("socketpair: %s", strerror(errno));
crypto/openssh/sftp.c
2385
fatal("fork: %s", strerror(errno));
crypto/openssh/sftp.c
2389
fprintf(stderr, "dup2: %s\n", strerror(errno));
crypto/openssh/sftp.c
240
while (waitpid(sshpid, NULL, WUNTRACED) == -1 && errno == EINTR)
crypto/openssh/sftp.c
2407
fprintf(stderr, "exec: %s: %s\n", path, strerror(errno));
crypto/openssh/sftp.c
244
errno = save_errno;
crypto/openssh/sftp.c
251
int olderrno = errno;
crypto/openssh/sftp.c
2528
fatal("%s (%s).", strerror(errno), optarg);
crypto/openssh/sftp.c
255
errno = olderrno;
crypto/openssh/sftp.c
2574
errno = EINVAL;
crypto/openssh/sftp.c
2578
optarg + 7, strerror(errno));
crypto/openssh/sftp.c
267
int save_errno = errno;
crypto/openssh/sftp.c
2695
if (errno != EINTR)
crypto/openssh/sftp.c
2697
strerror(errno));
crypto/openssh/sftp.c
272
while ((pid = waitpid(sshpid, NULL, WNOHANG)) == -1 && errno == EINTR)
crypto/openssh/sftp.c
280
errno = save_errno;
crypto/openssh/sftp.c
337
fatal("Couldn't fork: %s", strerror(errno));
crypto/openssh/sftp.c
349
strerror(errno));
crypto/openssh/sftp.c
353
if (errno != EINTR)
crypto/openssh/sftp.c
354
fatal("Couldn't wait for child: %s", strerror(errno));
crypto/openssh/sftp.c
684
error("basename %s: %s", tmp, strerror(errno));
crypto/openssh/sftp.c
773
error("stat %s: %s", g.gl_pathv[i], strerror(errno));
crypto/openssh/sftp.c
779
error("basename %s: %s", tmp, strerror(errno));
crypto/openssh/ssh-add.c
200
if (r != SSH_ERR_SYSTEM_ERROR || errno != ENOENT)
crypto/openssh/ssh-add.c
406
if (r != SSH_ERR_SYSTEM_ERROR || errno != ENOENT)
crypto/openssh/ssh-agent.c
1394
strerror(errno));
crypto/openssh/ssh-agent.c
1590
provider, strerror(errno));
crypto/openssh/ssh-agent.c
1661
provider, strerror(errno));
crypto/openssh/ssh-agent.c
1942
error("accept from AUTH_SOCKET: %s", strerror(errno));
crypto/openssh/ssh-agent.c
1946
error("getpeereid %d failed: %s", fd, strerror(errno));
crypto/openssh/ssh-agent.c
1969
if (errno == EAGAIN || errno == EINTR)
crypto/openssh/ssh-agent.c
1972
socknum, sockets[socknum].fd, strerror(errno));
crypto/openssh/ssh-agent.c
2000
if (errno == EAGAIN || errno == EINTR)
crypto/openssh/ssh-agent.c
2003
socknum, sockets[socknum].fd, strerror(errno));
crypto/openssh/ssh-agent.c
2224
fatal("%s: getrlimit: %s", __progname, strerror(errno));
crypto/openssh/ssh-agent.c
2414
error("setsid: %s", strerror(errno));
crypto/openssh/ssh-agent.c
2426
error("setrlimit RLIMIT_CORE: %s", strerror(errno));
crypto/openssh/ssh-agent.c
2453
fatal("%s: pledge: %s", __progname, strerror(errno));
crypto/openssh/ssh-agent.c
2466
saved_errno = errno;
crypto/openssh/ssh-keygen.c
1095
} else if (errno != ENOENT) {
crypto/openssh/ssh-keygen.c
1097
strerror(errno));
crypto/openssh/ssh-keygen.c
1121
prv_tmp, strerror(errno));
crypto/openssh/ssh-keygen.c
1143
pub_tmp, strerror(errno));
crypto/openssh/ssh-keygen.c
1157
pub_file, strerror(errno));
crypto/openssh/ssh-keygen.c
1162
key_types[i].path, strerror(errno));
crypto/openssh/ssh-keygen.c
1328
fatal("Cannot stat %s: %s", identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
1349
fatal("mkstemp: %s", strerror(errno));
crypto/openssh/ssh-keygen.c
1351
oerrno = errno;
crypto/openssh/ssh-keygen.c
1386
if (unlink(old) == -1 && errno != ENOENT)
crypto/openssh/ssh-keygen.c
1387
fatal("unlink %.100s: %s", old, strerror(errno));
crypto/openssh/ssh-keygen.c
1390
strerror(errno));
crypto/openssh/ssh-keygen.c
1394
strerror(errno));
crypto/openssh/ssh-keygen.c
1428
fatal("%s: %s", identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
1517
if (errno == ENOENT)
crypto/openssh/ssh-keygen.c
1519
fatal("%s: %s", fname, strerror(errno));
crypto/openssh/ssh-keygen.c
1544
fatal("%s: %s", identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
1950
errno = 0;
crypto/openssh/ssh-keygen.c
1954
if (errno == ERANGE && ull == ULONG_MAX)
crypto/openssh/ssh-keygen.c
2188
fatal("%s: %s: %s", __progname, identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
2196
fatal("fopen %s: %s", identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
2299
fatal("fopen %s: %s", path, strerror(errno));
crypto/openssh/ssh-keygen.c
2335
errno = 0;
crypto/openssh/ssh-keygen.c
2340
if (errno == ERANGE && serial == ULLONG_MAX)
crypto/openssh/ssh-keygen.c
2346
errno = 0;
crypto/openssh/ssh-keygen.c
2351
if (errno == ERANGE && serial2 == ULLONG_MAX)
crypto/openssh/ssh-keygen.c
2449
if (errno != ENOENT)
crypto/openssh/ssh-keygen.c
2451
identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
2484
fatal("write %s: %s", identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
2544
if (waspub && stat(privpath, &st) != 0 && errno == ENOENT)
crypto/openssh/ssh-keygen.c
2637
oerrno = errno;
crypto/openssh/ssh-keygen.c
2639
wfile, strerror(errno));
crypto/openssh/ssh-keygen.c
2640
errno = oerrno;
crypto/openssh/ssh-keygen.c
2646
oerrno = errno;
crypto/openssh/ssh-keygen.c
2648
wfile, strerror(errno));
crypto/openssh/ssh-keygen.c
2649
errno = oerrno;
crypto/openssh/ssh-keygen.c
2777
argv[i], strerror(errno));
crypto/openssh/ssh-keygen.c
3005
out_file, strerror(errno));
crypto/openssh/ssh-keygen.c
3064
strerror(errno));
crypto/openssh/ssh-keygen.c
3070
out_file, strerror(errno));
crypto/openssh/ssh-keygen.c
3387
fatal("gethostname: %s", strerror(errno));
crypto/openssh/ssh-keygen.c
3563
errno = 0;
crypto/openssh/ssh-keygen.c
3570
(errno == ERANGE && cert_serial == ULLONG_MAX))
crypto/openssh/ssh-keygen.c
3764
fatal("%s: %s", identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
435
fatal("%s: %s: %s", __progname, identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
633
fatal("unget: %s", strerror(errno));
crypto/openssh/ssh-keygen.c
658
fatal("%s: %s: %s", __progname, identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
704
fatal("%s: %s: %s", __progname, identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
749
fatal("%s: %s: %s", __progname, identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
771
fatal("%s: %s: %s", __progname, identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
833
fatal("%s: %s", identity_file, strerror(errno));
crypto/openssh/ssh-keygen.c
941
fatal("%s: %s", path, strerror(errno));
crypto/openssh/ssh-keygen.c
978
fatal("%s: %s: %s", __progname, path, strerror(errno));
crypto/openssh/ssh-keyscan.c
377
error("socket: %s", strerror(errno));
crypto/openssh/ssh-keyscan.c
383
errno != EINPROGRESS)
crypto/openssh/ssh-keyscan.c
384
error("connect (`%s'): %s", host, strerror(errno));
crypto/openssh/ssh-keyscan.c
482
error("write (%s): %s", c->c_name, strerror(errno));
crypto/openssh/ssh-keyscan.c
510
switch (errno) {
crypto/openssh/ssh-keyscan.c
517
error("read (%s): %s", c->c_name, strerror(errno));
crypto/openssh/ssh-keyscan.c
582
if (errno == EAGAIN || errno == EINTR || errno == EWOULDBLOCK)
crypto/openssh/ssh-keyscan.c
821
fp == stdin ? "<stdin>" : argv[j], strerror(errno));
crypto/openssh/ssh-keyscan.c
844
fp == stdin ? "<stdin>" : argv[j], strerror(errno));
crypto/openssh/ssh-keysign.c
189
fatal("%s: pledge: %s", __progname, strerror(errno));
crypto/openssh/ssh-keysign.c
233
fatal("%s: pledge: %s", __progname, strerror(errno));
crypto/openssh/ssh-pkcs11-client.c
534
error_f("socketpair: %s", strerror(errno));
crypto/openssh/ssh-pkcs11-client.c
543
error_f("fork: %s", strerror(errno));
crypto/openssh/ssh-pkcs11-client.c
556
fprintf(stderr, "dup2: %s\n", strerror(errno));
crypto/openssh/ssh-pkcs11-client.c
569
fprintf(stderr, "exec: %s: %s\n", prog, strerror(errno));
crypto/openssh/ssh-pkcs11-helper.c
382
if (r == 0 || errno == EINTR)
crypto/openssh/ssh-pkcs11-helper.c
384
fatal("poll: %s", strerror(errno));
crypto/openssh/ssh-pkcs11-helper.c
394
error("read: %s", strerror(errno));
crypto/openssh/ssh-pkcs11-helper.c
404
error("write: %s", strerror(errno));
crypto/openssh/ssh-sk-client.c
118
errno = 0;
crypto/openssh/ssh-sk-client.c
120
if (errno == EINTR) {
crypto/openssh/ssh-sk-client.c
121
errno = 0;
crypto/openssh/ssh-sk-client.c
124
oerrno = errno;
crypto/openssh/ssh-sk-client.c
125
error_f("waitpid: %s", strerror(errno));
crypto/openssh/ssh-sk-client.c
126
errno = oerrno;
crypto/openssh/ssh-sk-client.c
209
oerrno = errno;
crypto/openssh/ssh-sk-client.c
214
oerrno = errno;
crypto/openssh/ssh-sk-client.c
224
errno = oerrno;
crypto/openssh/ssh-sk-client.c
280
oerrno = errno;
crypto/openssh/ssh-sk-client.c
289
errno = oerrno;
crypto/openssh/ssh-sk-client.c
361
oerrno = errno;
crypto/openssh/ssh-sk-client.c
367
errno = oerrno;
crypto/openssh/ssh-sk-client.c
470
oerrno = errno;
crypto/openssh/ssh-sk-client.c
478
errno = oerrno;
crypto/openssh/ssh-sk-client.c
62
oerrno = errno;
crypto/openssh/ssh-sk-client.c
63
error_f("helper \"%s\" unusable: %s", helper, strerror(errno));
crypto/openssh/ssh-sk-client.c
64
errno = oerrno;
crypto/openssh/ssh-sk-client.c
73
error("socketpair: %s", strerror(errno));
crypto/openssh/ssh-sk-client.c
78
oerrno = errno;
crypto/openssh/ssh-sk-client.c
79
error("fork: %s", strerror(errno));
crypto/openssh/ssh-sk-client.c
83
errno = oerrno;
crypto/openssh/ssh-sk-client.c
89
error_f("dup2: %s", strerror(errno));
crypto/openssh/ssh-sk-client.c
98
error_f("execlp: %s", strerror(errno));
crypto/openssh/ssh.c
1422
fatal("gethostname: %s", strerror(errno));
crypto/openssh/ssh.c
1491
options.forward_agent_sock_path, strerror(errno));
crypto/openssh/ssh.c
1817
fatal_f("fork: %s", strerror(errno));
crypto/openssh/ssh.c
1854
fatal("daemon() failed: %.200s", strerror(errno));
crypto/openssh/ssh.c
2464
int save_errno = errno;
crypto/openssh/ssh.c
2469
(pid == -1 && errno == EINTR))
crypto/openssh/ssh.c
2471
errno = save_errno;
crypto/openssh/ssh.c
547
if (errno == ENOENT)
crypto/openssh/ssh.c
573
"%.100s", config, strerror(errno));
crypto/openssh/ssh.c
887
strerror(errno));
crypto/openssh/sshbuf-io.c
109
oerrno = errno;
crypto/openssh/sshbuf-io.c
112
errno = oerrno;
crypto/openssh/sshbuf-io.c
53
if (errno == EPIPE)
crypto/openssh/sshbuf-io.c
93
oerrno = errno;
crypto/openssh/sshbuf-io.c
96
errno = oerrno;
crypto/openssh/sshbuf-misc.c
287
oerrno = errno;
crypto/openssh/sshbuf-misc.c
298
errno = oerrno;
crypto/openssh/sshbuf-misc.c
301
errno = EPIPE;
crypto/openssh/sshconnect.c
127
"proxy dialer: %.100s", strerror(errno));
crypto/openssh/sshconnect.c
1715
shell, args, strerror(errno));
crypto/openssh/sshconnect.c
1718
fatal("fork failed: %.100s", strerror(errno));
crypto/openssh/sshconnect.c
1720
if (errno != EINTR)
crypto/openssh/sshconnect.c
1721
fatal("Couldn't wait for child: %s", strerror(errno));
crypto/openssh/sshconnect.c
173
fatal("fork failed: %.100s", strerror(errno));
crypto/openssh/sshconnect.c
182
if (errno != EINTR)
crypto/openssh/sshconnect.c
183
fatal("Couldn't wait for child: %s", strerror(errno));
crypto/openssh/sshconnect.c
210
strerror(errno));
crypto/openssh/sshconnect.c
257
fatal("fork failed: %.100s", strerror(errno));
crypto/openssh/sshconnect.c
364
error("socket: %s", strerror(errno));
crypto/openssh/sshconnect.c
399
strerror(errno));
crypto/openssh/sshconnect.c
419
error("bind %s: %s", ntop, strerror(errno));
crypto/openssh/sshconnect.c
474
errno = EAFNOSUPPORT;
crypto/openssh/sshconnect.c
480
oerrno = errno;
crypto/openssh/sshconnect.c
482
errno = oerrno;
crypto/openssh/sshconnect.c
489
errno = EAFNOSUPPORT;
crypto/openssh/sshconnect.c
500
errno = 0;
crypto/openssh/sshconnect.c
511
oerrno = errno;
crypto/openssh/sshconnect.c
513
ntop, strport, strerror(errno));
crypto/openssh/sshconnect.c
516
errno = oerrno;
crypto/openssh/sshconnect.c
526
host, strport, errno == 0 ? "failure" : strerror(errno));
crypto/openssh/sshconnect.c
536
error("setsockopt SO_KEEPALIVE: %.100s", strerror(errno));
crypto/openssh/sshconnect.c
780
if (r == SSH_ERR_SYSTEM_ERROR && errno == ENOENT) {
crypto/openssh/sshconnect2.c
1528
"no such identity: %s: %s", id->filename, strerror(errno));
crypto/openssh/sshconnect2.c
1557
if (errno == ENOENT) {
crypto/openssh/sshconnect2.c
2025
error_f("not installed: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2029
error_f("fflush: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2033
error_f("pipe: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2037
error_f("pipe: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2041
error_f("fork: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2048
fatal_f("dup2: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2051
fatal_f("dup2: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2056
fatal_f("dup2: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2059
debug3_f("fcntl F_SETFD: %s", strerror(errno));
crypto/openssh/sshconnect2.c
2066
strerror(errno));
crypto/openssh/sshconnect2.c
2089
errno = 0;
crypto/openssh/sshconnect2.c
2091
if (errno != EINTR) {
crypto/openssh/sshconnect2.c
2092
error_f("waitpid %ld: %s", (long)pid, strerror(errno));
crypto/openssh/sshd-session.c
1178
error("chdir(\"/\"): %s", strerror(errno));
crypto/openssh/sshd-session.c
1240
error("setsockopt SO_KEEPALIVE: %.100s", strerror(errno));
crypto/openssh/sshd-session.c
1485
errno != ESRCH) {
crypto/openssh/sshd-session.c
1487
strerror(errno));
crypto/openssh/sshd-session.c
307
strerror(errno));
crypto/openssh/sshd-session.c
309
fatal("chdir(\"/\"): %s", strerror(errno));
crypto/openssh/sshd-session.c
316
fatal("setgroups: %.100s", strerror(errno));
crypto/openssh/sshd-session.c
354
if (errno == EINTR)
crypto/openssh/sshd-session.c
357
fatal_f("waitpid: %s", strerror(errno));
crypto/openssh/sshd-session.c
857
rtable, strerror(errno));
crypto/openssh/sshd.c
1001
strerror(errno));
crypto/openssh/sshd.c
1002
if (errno == EMFILE || errno == ENFILE)
crypto/openssh/sshd.c
1011
error_f("pipe(startup_p): %s", strerror(errno));
crypto/openssh/sshd.c
1026
strerror(errno));
crypto/openssh/sshd.c
1091
error("fork: %.100s", strerror(errno));
crypto/openssh/sshd.c
1222
debug("setgroups(): %.200s", strerror(errno));
crypto/openssh/sshd.c
1351
fatal("open %s: %s", _PATH_DEVNULL, strerror(errno));
crypto/openssh/sshd.c
1354
fatal("dup %s: %s", _PATH_DEVNULL, strerror(errno));
crypto/openssh/sshd.c
1642
debug("setgroups() failed: %.200s", strerror(errno));
crypto/openssh/sshd.c
1683
fatal("daemon() failed: %.200s", strerror(errno));
crypto/openssh/sshd.c
1695
error("chdir(\"/\"): %s", strerror(errno));
crypto/openssh/sshd.c
1704
fatal("socketpair: %s", strerror(errno));
crypto/openssh/sshd.c
1730
options.pid_file, strerror(errno));
crypto/openssh/sshd.c
1751
error("setsid: %.100s", strerror(errno));
crypto/openssh/sshd.c
1757
fatal("dup2 stdin: %s", strerror(errno));
crypto/openssh/sshd.c
1759
fatal("dup2 stdout: %s", strerror(errno));
crypto/openssh/sshd.c
1765
fatal("dup2 config_s: %s", strerror(errno));
crypto/openssh/sshd.c
1772
fatal("dup2 startup_p: %s", strerror(errno));
crypto/openssh/sshd.c
1781
fatal("rexec of %s failed: %s", rexec_argv[0], strerror(errno));
crypto/openssh/sshd.c
418
if (errno == EINTR || errno == EAGAIN)
crypto/openssh/sshd.c
420
if (errno != ECHILD)
crypto/openssh/sshd.c
421
error_f("waitpid: %s", strerror(errno));
crypto/openssh/sshd.c
495
strerror(errno));
crypto/openssh/sshd.c
724
fatal_f("setsockopt SO_SNDBUF: %s", strerror(errno));
crypto/openssh/sshd.c
764
verbose("socket: %.100s", strerror(errno));
crypto/openssh/sshd.c
772
verbose("socket: CLOEXEC: %s", strerror(errno));
crypto/openssh/sshd.c
793
strport, ntop, strerror(errno));
crypto/openssh/sshd.c
803
ntop, strport, strerror(errno));
crypto/openssh/sshd.c
937
if (ret == -1 && errno != EINTR) {
crypto/openssh/sshd.c
938
error("ppoll: %.100s", strerror(errno));
crypto/openssh/sshd.c
939
if (errno == EINVAL)
crypto/openssh/sshd.c
953
if (errno == EINTR || errno == EAGAIN)
crypto/openssh/sshd.c
955
if (errno != EPIPE) {
crypto/openssh/sshd.c
958
strerror(errno));
crypto/openssh/sshd.c
998
if (errno != EINTR && errno != EWOULDBLOCK &&
crypto/openssh/sshd.c
999
errno != ECONNABORTED && errno != EAGAIN)
crypto/openssh/ssherr.c
75
return strerror(errno);
crypto/openssh/sshkey-xmss.c
484
if (errno != EWOULDBLOCK) {
crypto/openssh/sshkey.c
1306
errno = EPIPE;
crypto/openssh/sshpty.c
113
error("setsid: %.100s", strerror(errno));
crypto/openssh/sshpty.c
128
error("ioctl(TIOCSCTTY): %.100s", strerror(errno));
crypto/openssh/sshpty.c
132
error("SETPGRP %s",strerror(errno));
crypto/openssh/sshpty.c
136
error("%.100s: %.100s", tty, strerror(errno));
crypto/openssh/sshpty.c
144
strerror(errno));
crypto/openssh/sshpty.c
187
strerror(errno));
crypto/openssh/sshpty.c
195
if (errno == EROFS &&
crypto/openssh/sshpty.c
199
strerror(errno));
crypto/openssh/sshpty.c
203
strerror(errno));
crypto/openssh/sshpty.c
209
if (errno == EROFS &&
crypto/openssh/sshpty.c
212
tty, (u_int)mode, strerror(errno));
crypto/openssh/sshpty.c
215
tty, (u_int)mode, strerror(errno));
crypto/openssh/sshpty.c
73
error("openpty: %.100s", strerror(errno));
crypto/openssh/sshpty.c
91
error("chown %.100s 0 0 failed: %.100s", tty, strerror(errno));
crypto/openssh/sshpty.c
93
error("chmod %.100s 0666 failed: %.100s", tty, strerror(errno));
crypto/openssh/sshsig.c
1035
oerrno = errno;
crypto/openssh/sshsig.c
1037
path, strerror(errno));
crypto/openssh/sshsig.c
1038
errno = oerrno;
crypto/openssh/sshsig.c
1061
oerrno = errno;
crypto/openssh/sshsig.c
1064
path, strerror(errno));
crypto/openssh/sshsig.c
1065
errno = oerrno;
crypto/openssh/sshsig.c
1089
oerrno = errno;
crypto/openssh/sshsig.c
1091
path, strerror(errno));
crypto/openssh/sshsig.c
1092
errno = oerrno;
crypto/openssh/sshsig.c
1104
oerrno = errno;
crypto/openssh/sshsig.c
1137
errno = oerrno;
crypto/openssh/sshsig.c
524
if (errno == EINTR || errno == EAGAIN)
crypto/openssh/sshsig.c
526
oerrno = errno;
crypto/openssh/sshsig.c
527
error_f("read: %s", strerror(errno));
crypto/openssh/sshsig.c
528
errno = oerrno;
crypto/openssh/sshsig.c
562
oerrno = errno;
crypto/openssh/sshsig.c
566
errno = oerrno;
crypto/openssh/sshsig.c
995
oerrno = errno;
crypto/openssh/sshsig.c
997
path, strerror(errno));
crypto/openssh/sshsig.c
998
errno = oerrno;
crypto/openssh/ttymodes.c
294
logit("tcgetattr: %.100s", strerror(errno));
crypto/openssh/ttymodes.c
368
logit("tcgetattr: %.100s", strerror(errno));
crypto/openssh/ttymodes.c
449
logit("Setting tty modes failed: %.100s", strerror(errno));
crypto/openssh/uidswap.c
103
strerror(errno));
crypto/openssh/uidswap.c
107
fatal("getgroups: %.100s", strerror(errno));
crypto/openssh/uidswap.c
112
fatal("getgroups: %.100s", strerror(errno));
crypto/openssh/uidswap.c
121
fatal("setgroups: %.100s", strerror(errno));
crypto/openssh/uidswap.c
125
debug("setgid %u: %.100s", (u_int) getegid(), strerror(errno));
crypto/openssh/uidswap.c
128
debug("setuid %u: %.100s", (u_int) geteuid(), strerror(errno));
crypto/openssh/uidswap.c
132
strerror(errno));
crypto/openssh/uidswap.c
135
strerror(errno));
crypto/openssh/uidswap.c
156
fatal("seteuid %u: %.100s", (u_int)saved_euid, strerror(errno));
crypto/openssh/uidswap.c
158
fatal("setegid %u: %.100s", (u_int)saved_egid, strerror(errno));
crypto/openssh/uidswap.c
166
fatal("%s: setuid failed: %s", __func__, strerror(errno));
crypto/openssh/uidswap.c
168
fatal("%s: setgid failed: %s", __func__, strerror(errno));
crypto/openssh/uidswap.c
172
fatal("setgroups: %.100s", strerror(errno));
crypto/openssh/uidswap.c
196
fatal("setresgid %u: %.100s", (u_int)pw->pw_gid, strerror(errno));
crypto/openssh/uidswap.c
205
pw->pw_name, (u_int)pw->pw_gid, strerror(errno));
crypto/openssh/uidswap.c
209
fatal("setresuid %u: %.100s", (u_int)pw->pw_uid, strerror(errno));
crypto/openssh/uidswap.c
88
fatal("getgroups: %.100s", strerror(errno));
crypto/openssh/uidswap.c
93
fatal("getgroups: %.100s", strerror(errno));
games/adventure/setup.c
77
strerror(errno));
games/atc/graphics.c
66
errno = 0;
games/atc/graphics.c
67
while ((c = getchar()) == -1 && errno == EINTR) {
games/atc/graphics.c
68
errno = 0;
games/backgammon/common_source/save.c
86
if ((fdesc = open(fname, O_RDWR)) == -1 && errno == ENOENT) {
games/cribbage/instr.c
57
strerror(errno));
games/cribbage/instr.c
62
fprintf(stderr, "cribbage: %s.\n", strerror(errno));
games/cribbage/instr.c
71
fprintf(stderr, "cribbage: %s.\n", strerror(errno));
games/cribbage/instr.c
76
} while (pid == -1 && errno == EINTR);
games/factor/factor.c
317
errno = 0;
games/factor/factor.c
319
return (errno == 0 && (*p == '\n' || *p == '\0'));
games/factor/factor.c
327
errno = 0;
games/factor/factor.c
329
return (errno == 0 && (*p == '\n' || *p == '\0'));
games/hack/hack.unix.c
250
if (!(kill(lockedpid, 0) == -1 && errno == ESRCH))
games/hack/hack.unix.c
273
int errnosv = errno;
games/hack/hack.unix.c
304
if (errno == ENOENT)
games/hangman/getsym.c
106
errno = ENOEXEC;
games/hunt/hunt/hunt.c
203
errno = 0;
games/hunt/hunt/hunt.c
215
errno = 0;
games/hunt/hunt/hunt.c
220
errno = 0;
games/hunt/hunt/hunt.c
241
errno = 0;
games/hunt/hunt/hunt.c
243
if (errno == ECONNREFUSED)
games/hunt/hunt/hunt.c
427
errno = 0;
games/hunt/hunt/hunt.c
510
saved_errno = errno;
games/hunt/hunt/hunt.c
516
errno = saved_errno;
games/hunt/hunt/hunt.c
518
if (errno == 0 && mesg != NULL)
games/hunt/hunt/list.c
81
if (errno == EINTR)
games/hunt/hunt/playit.c
202
errno = 0;
games/hunt/hunt/playit.c
206
} while (nfds <= 0 && errno == EINTR);
games/hunt/hunt/playit.c
93
errno = 0;
games/hunt/huntd/conf.c
302
else if (errno != ENOENT)
games/hunt/huntd/driver.c
1006
if (errno == EINTR)
games/hunt/huntd/driver.c
142
errno = 0;
games/hunt/huntd/driver.c
146
if (nready < 0 && errno != EINTR) {
games/hunt/huntd/driver.c
176
errno = 0;
games/hunt/huntd/driver.c
179
if (nready < 0 && errno != EINTR) {
games/hunt/huntd/driver.c
284
if (errno != EINTR) {
games/hunt/huntd/driver.c
932
errno = 0;
games/hunt/huntd/driver.c
935
if (errno == EINTR)
games/hunt/huntd/driver.c
937
if (errno == EAGAIN) {
games/mille/save.c
114
error(strerror(errno));
games/mille/varpush.c
66
error(strerror(errno));
games/mille/varpush.c
72
error(strerror(errno));
games/mille/varpush.c
93
error(strerror(errno));
games/monop/execute.c
655
errno = 0;
games/monop/execute.c
665
if (errno) {
games/monop/execute.c
720
errno = 0;
games/monop/execute.c
722
if (errno || strlen(s)>0) {
games/monop/misc.c
106
errno = 0;
games/monop/misc.c
108
if (errno || strlen(sp) > 0 || num < 0 || num >= INT_MAX) {
games/phantasia/misc.c
1157
(*funcp)("An unrecoverable error has occurred reading %s. (errno = %d)\n", whichfile, errno);
games/primes/primes.c
119
errno = 0;
games/primes/primes.c
121
if (errno)
games/primes/primes.c
126
errno = 0;
games/primes/primes.c
128
if (errno)
games/primes/primes.c
138
errno = 0;
games/primes/primes.c
140
if (errno)
games/primes/primes.c
179
errno = 0;
games/primes/primes.c
181
if (errno)
games/quiz/quiz.c
116
err("%s: %s", file, strerror(errno));
games/quiz/quiz.c
130
err("%s", strerror(errno));
games/quiz/quiz.c
134
err("%s", strerror(errno));
games/quiz/quiz.c
151
err("%s: %s", _PATH_PAGER, strerror(errno));
games/quiz/quiz.c
305
err("%s", strerror(errno));
games/random/random.c
110
errno = 0;
games/random/random.c
112
if (errno == ERANGE)
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
82
if (errno == EINTR)
games/tetris/scores.c
201
strerror(errno),
lib/i18n_module/iconv_std/citrus_iconv_std.c
221
return (errno);
lib/i18n_module/iconv_std/citrus_iconv_std.c
242
ret = errno;
lib/i18n_module/iconv_std/citrus_iconv_std.c
277
return (errno);
lib/i18n_module/iconv_std/citrus_iconv_std.c
290
ret = errno;
lib/i18n_module/iconv_std/citrus_iconv_std.c
360
ret = errno;
lib/i18n_module/iconv_std/citrus_iconv_std.c
433
return (errno);
lib/i18n_module/mapper_646/citrus_mapper_646.c
179
return (errno);
lib/i18n_module/mapper_serial/citrus_mapper_serial.c
139
return (errno);
lib/i18n_module/mapper_serial/citrus_mapper_serial.c
173
return (errno);
lib/i18n_module/mapper_std/citrus_mapper_std.c
358
ret = errno;
lib/i18n_module/mapper_zone/citrus_mapper_zone.c
314
return (errno);
lib/libbluetooth/devaddr.c
108
errno = ENXIO;
lib/libbluetooth/devaddr.c
51
errno = EINVAL;
lib/libbluetooth/devaddr.c
75
errno = ENXIO;
lib/libbluetooth/devaddr.c
90
errno = EINVAL;
lib/libc/citrus/_strtol.h
139
errno = ERANGE;
lib/libc/citrus/_strtol.h
154
errno = ERANGE;
lib/libc/citrus/_strtol.h
57
errno = EINVAL;
lib/libc/citrus/_strtoul.h
112
errno = ERANGE;
lib/libc/citrus/_strtoul.h
56
errno = EINVAL;
lib/libc/citrus/citrus_db.c
81
return (errno);
lib/libc/citrus/citrus_db_factory.c
145
return (errno);
lib/libc/citrus/citrus_db_factory.c
159
return (errno);
lib/libc/citrus/citrus_db_factory.c
174
return (errno);
lib/libc/citrus/citrus_db_factory.c
189
return (errno);
lib/libc/citrus/citrus_db_factory.c
204
return (errno);
lib/libc/citrus/citrus_db_factory.c
76
return (errno);
lib/libc/citrus/citrus_esdb.c
108
ret = errno;
lib/libc/citrus/citrus_esdb.c
119
ret = errno;
lib/libc/citrus/citrus_esdb.c
145
ret = errno;
lib/libc/citrus/citrus_esdb.c
163
ret = errno;
lib/libc/citrus/citrus_esdb.c
288
ret = errno;
lib/libc/citrus/citrus_esdb.c
309
ret = errno;
lib/libc/citrus/citrus_esdb.c
346
ret = errno;
lib/libc/citrus/citrus_iconv.c
140
ret = errno;
lib/libc/citrus/citrus_iconv.c
163
ret = errno;
lib/libc/citrus/citrus_iconv.c
321
ret = errno;
lib/libc/citrus/citrus_lookup.c
280
return (errno);
lib/libc/citrus/citrus_lookup_factory.c
118
return (errno);
lib/libc/citrus/citrus_lookup_factory.c
87
return (errno);
lib/libc/citrus/citrus_mapper.c
102
ret = errno;
lib/libc/citrus/citrus_mapper.c
216
return (errno);
lib/libc/citrus/citrus_mapper.c
239
ret = errno;
lib/libc/citrus/citrus_mapper.c
257
ret = errno;
lib/libc/citrus/citrus_mapper.c
353
ret = errno;
lib/libc/citrus/citrus_mapper.c
97
ret = errno;
lib/libc/citrus/citrus_mmap.c
63
return (errno);
lib/libc/citrus/citrus_mmap.c
66
ret = errno;
lib/libc/citrus/citrus_mmap.c
77
ret = errno;
lib/libc/citrus/citrus_pivot_factory.c
222
return (errno);
lib/libc/citrus/citrus_pivot_factory.c
70
return (errno);
lib/libc/citrus/citrus_pivot_factory.c
73
ret = errno;
lib/libc/citrus/citrus_stdenc.c
113
ret = errno;
lib/libc/citrus/citrus_stdenc.c
66
ret = errno;
lib/libc/citrus/citrus_stdenc.c
89
ret = errno;
lib/libc/citrus/citrus_stdenc_template.h
76
return (errno);
lib/libc/db/btree/bt_close.c
130
errno = EINVAL;
lib/libc/db/btree/bt_delete.c
115
errno = EINVAL;
lib/libc/db/btree/bt_delete.c
75
errno = EPERM;
lib/libc/db/btree/bt_get.c
74
errno = EINVAL;
lib/libc/db/btree/bt_open.c
325
einval: errno = EINVAL;
lib/libc/db/btree/bt_open.c
328
eftype: errno = EFTYPE;
lib/libc/db/btree/bt_open.c
331
err: saved_errno = errno;
lib/libc/db/btree/bt_open.c
339
errno = saved_errno;
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
405
errno = ENAMETOOLONG;
lib/libc/db/btree/bt_open.c
450
errno = ENOENT;
lib/libc/db/btree/bt_put.c
103
errno = EINVAL;
lib/libc/db/btree/bt_put.c
84
errno = EPERM;
lib/libc/db/btree/bt_seq.c
105
errno = EINVAL;
lib/libc/db/btree/bt_seq.c
162
errno = EINVAL;
lib/libc/db/db/db.c
71
errno = EINVAL;
lib/libc/db/hash/hash.c
104
errno = EINVAL;
lib/libc/db/hash/hash.c
122
RETURN_ERROR(errno, error0);
lib/libc/db/hash/hash.c
131
RETURN_ERROR(errno, error1);
lib/libc/db/hash/hash.c
144
RETURN_ERROR(errno, error1);
lib/libc/db/hash/hash.c
188
save_errno = errno;
lib/libc/db/hash/hash.c
190
errno = save_errno;
lib/libc/db/hash/hash.c
233
errno = save_errno;
lib/libc/db/hash/hash.c
262
errno = ENOENT;
lib/libc/db/hash/hash.c
304
errno = EINVAL;
lib/libc/db/hash/hash.c
317
errno = EINVAL;
lib/libc/db/hash/hash.c
404
save_errno = errno;
lib/libc/db/hash/hash.c
413
save_errno = errno;
lib/libc/db/hash/hash.c
429
errno = save_errno;
lib/libc/db/hash/hash.c
447
errno = EINVAL;
lib/libc/db/hash/hash.c
493
errno = EFTYPE;
lib/libc/db/hash/hash.c
494
hashp->error = errno;
lib/libc/db/hash/hash.c
521
hashp->error = errno = EINVAL;
lib/libc/db/hash/hash.c
534
hashp->error = errno = EINVAL;
lib/libc/db/hash/hash.c
538
hashp->error = errno = EPERM;
lib/libc/db/hash/hash.c
553
hashp->error = errno = EINVAL;
lib/libc/db/hash/hash.c
557
hashp->error = errno = EPERM;
lib/libc/db/hash/hash.c
703
hashp->error = errno = EINVAL;
lib/libc/db/hash/hash.c
880
save_errno = errno;
lib/libc/db/hash/hash.c
882
errno = save_errno;
lib/libc/db/hash/hash.c
891
save_errno = errno;
lib/libc/db/hash/hash.c
893
errno = save_errno;
lib/libc/db/hash/hash_bigkey.c
430
errno = EINVAL; /* OUT OF BUFFERS */
lib/libc/db/hash/hash_bigkey.c
484
errno = EINVAL; /* Out of buffers. */
lib/libc/db/hash/hash_bigkey.c
536
errno = EINVAL; /* MIS -- OUT OF BUFFERS */
lib/libc/db/hash/hash_page.c
539
errno = EFTYPE;
lib/libc/db/hash/hash_page.c
600
errno = EFTYPE;
lib/libc/db/hash/hash_page.c
697
errno = EFBIG;
lib/libc/db/hash/hash_page.c
711
errno = EFBIG;
lib/libc/db/hash/hash_page.c
737
errno = EFBIG;
lib/libc/db/hash/hash_page.c
783
errno = EFBIG;
lib/libc/db/hash/hash_page.c
856
errno = ENAMETOOLONG;
lib/libc/db/hash/ndbm.c
72
errno = ENAMETOOLONG;
lib/libc/db/mpool/mpool.c
235
errno = EINVAL;
lib/libc/db/mpool/mpool.c
75
errno = ESPIPE;
lib/libc/db/recno/rec_delete.c
92
einval: errno = EINVAL;
lib/libc/db/recno/rec_get.c
75
errno = EINVAL;
lib/libc/db/recno/rec_open.c
117
errno = 0;
lib/libc/db/recno/rec_open.c
118
if (lseek(rfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) {
lib/libc/db/recno/rec_open.c
206
einval: errno = EINVAL;
lib/libc/db/recno/rec_open.c
207
err: sverrno = errno;
lib/libc/db/recno/rec_open.c
212
errno = sverrno;
lib/libc/db/recno/rec_open.c
231
errno = ENOENT;
lib/libc/db/recno/rec_put.c
126
einval: errno = EINVAL;
lib/libc/db/recno/rec_search.c
105
err: sverrno = errno;
lib/libc/db/recno/rec_search.c
116
errno = sverrno;
lib/libc/db/recno/rec_seq.c
99
einval: errno = EINVAL;
lib/libc/db/test/btree.tests/main.c
172
fprintf(stderr, "dbopen: %s\n", strerror(errno));
lib/libc/db/test/btree.tests/main.c
190
"/dev/tty: %s\n", strerror(errno));
lib/libc/db/test/btree.tests/main.c
555
fprintf(stderr, "%s: %s\n", argv[1], strerror(errno));
lib/libc/db/test/btree.tests/main.c
583
fprintf(stderr, "%s: %s\n", argv[1], strerror(errno));
lib/libc/db/test/dbtest.c
105
err("%s: %s", optarg, strerror(errno));
lib/libc/db/test/dbtest.c
125
err("%s: %s", *argv, strerror(errno));
lib/libc/db/test/dbtest.c
152
err("dbopen: %s", strerror(errno));
lib/libc/db/test/dbtest.c
182
err("write: %s", strerror(errno));
lib/libc/db/test/dbtest.c
319
err("db->close: %s", strerror(errno));
lib/libc/db/test/dbtest.c
357
err("line %lu: get: %s", lineno, strerror(errno));
lib/libc/db/test/dbtest.c
378
err("line %lu: getdata: %s", lineno, strerror(errno));
lib/libc/db/test/dbtest.c
393
err("line %lu: put: %s", lineno, strerror(errno));
lib/libc/db/test/dbtest.c
408
err("line %lu: rem: %s", lineno, strerror(errno));
lib/libc/db/test/dbtest.c
432
err("line %lu: synk: %s", lineno, strerror(errno));
lib/libc/db/test/dbtest.c
449
err("line %lu: seq: %s", lineno, strerror(errno));
lib/libc/db/test/dbtest.c
490
lineno, strerror(errno));
lib/libc/db/test/dbtest.c
658
err("%s: %s\n", name, strerror(errno));
lib/libc/db/test/dbtest.c
664
err("%s", strerror(errno));
lib/libc/db/test/dbtest.c
677
err("%s", strerror(errno));
lib/libc/db/test/hash.tests/thash4.c
110
fprintf(stderr, "\terrno: %d\n", errno);
lib/libc/db/test/hash.tests/thash4.c
114
fprintf(stderr, "\terrno: %d\n", errno);
lib/libc/db/test/hash.tests/thash4.c
73
fprintf(stderr, "\terrno: %d\n", errno);
lib/libc/db/test/hash.tests/thash4.c
94
fprintf(stderr, "\terrno: %d\n", errno);
lib/libc/gen/_pthread_stubs.c
256
return (errno);
lib/libc/gen/clock_getcpuclockid.c
39
return (errno);
lib/libc/gen/confstr.c
138
errno = EINVAL;
lib/libc/gen/daemon.c
68
oerrno = errno;
lib/libc/gen/daemon.c
73
errno = oerrno;
lib/libc/gen/dup3.c
47
errno = EINVAL;
lib/libc/gen/dup3.c
52
errno = EINVAL;
lib/libc/gen/err.c
141
vwarnc(errno, fmt, ap);
lib/libc/gen/err.c
150
vwarnc(errno, fmt, ap);
lib/libc/gen/err.c
74
verrc(eval, errno, fmt, ap);
lib/libc/gen/err.c
83
verrc(eval, errno, fmt, ap);
lib/libc/gen/errlst.c
154
__thread int errno;
lib/libc/gen/exec.c
119
errno = ENOMEM;
lib/libc/gen/exec.c
168
errno = ENOENT;
lib/libc/gen/exec.c
174
errno = ENOMEM;
lib/libc/gen/exec.c
207
switch (errno) {
lib/libc/gen/exec.c
244
save_errno = errno;
lib/libc/gen/exec.c
251
errno = save_errno;
lib/libc/gen/exec.c
256
errno = EACCES;
lib/libc/gen/exec.c
258
errno = ENOENT;
lib/libc/gen/exec.c
64
errno = ENOMEM;
lib/libc/gen/exec.c
91
errno = ENOMEM;
lib/libc/gen/fdevname.c
112
errno = error;
lib/libc/gen/fstab.c
261
error(errno);
lib/libc/gen/fts.c
1110
errno = ENOENT; /* disinformation */
lib/libc/gen/fts.c
1116
oerrno = errno;
lib/libc/gen/fts.c
1119
errno = oerrno;
lib/libc/gen/fts.c
114
errno = EINVAL;
lib/libc/gen/fts.c
148
errno = ENOENT;
lib/libc/gen/fts.c
265
saved_errno = fchdir(sp->fts_rfd) ? errno : 0;
lib/libc/gen/fts.c
272
errno = saved_errno;
lib/libc/gen/fts.c
327
p->fts_errno = errno;
lib/libc/gen/fts.c
371
p->fts_errno = errno;
lib/libc/gen/fts.c
418
p->fts_errno = errno;
lib/libc/gen/fts.c
442
errno = 0;
lib/libc/gen/fts.c
461
saved_errno = errno;
lib/libc/gen/fts.c
463
errno = saved_errno;
lib/libc/gen/fts.c
489
errno = EINVAL;
lib/libc/gen/fts.c
503
errno = EINVAL;
lib/libc/gen/fts.c
514
errno = 0;
lib/libc/gen/fts.c
638
cur->fts_errno = errno;
lib/libc/gen/fts.c
687
cur->fts_errno = errno;
lib/libc/gen/fts.c
690
cderrno = errno;
lib/libc/gen/fts.c
736
mem1: saved_errno = errno;
lib/libc/gen/fts.c
743
errno = saved_errno;
lib/libc/gen/fts.c
882
saved_errno = errno;
lib/libc/gen/fts.c
884
errno = 0;
lib/libc/gen/fts.c
891
p->fts_errno = errno;
lib/libc/gen/ftw.c
43
errno = EINVAL;
lib/libc/gen/ftw.c
74
errno = ELOOP;
lib/libc/gen/ftw.c
85
sverrno = errno;
lib/libc/gen/ftw.c
89
errno = sverrno;
lib/libc/gen/getcap.c
210
errno = ENOMEM;
lib/libc/gen/getcap.c
224
errno = ENOMEM;
lib/libc/gen/getcap.c
341
errno = ENOMEM;
lib/libc/gen/getcap.c
483
errno = ENOMEM;
lib/libc/gen/getcap.c
522
errno = ENOMEM;
lib/libc/gen/getcap.c
671
savederrno = errno;
lib/libc/gen/getcap.c
676
errno = savederrno;
lib/libc/gen/getcap.c
735
savederrno = errno;
lib/libc/gen/getcap.c
740
errno = savederrno;
lib/libc/gen/getcap.c
804
errno = ENOMEM;
lib/libc/gen/getcap.c
87
errno = ENOMEM;
lib/libc/gen/getcap.c
930
errno = ENOMEM;
lib/libc/gen/getcwd.c
71
strcpy(buf, strerror(errno));
lib/libc/gen/getdevpath.c
94
errno = ENOENT;
lib/libc/gen/getentropy.c
45
errno = EIO;
lib/libc/gen/getentropy.c
52
errno = EIO;
lib/libc/gen/getgrent.c
1004
if (errno != ENOENT)
lib/libc/gen/getgrent.c
1005
*errnop = errno;
lib/libc/gen/getgrent.c
1111
*errnop = errno;
lib/libc/gen/getgrent.c
1337
*errnop = errno;
lib/libc/gen/getgrent.c
503
errno = ERANGE;
lib/libc/gen/getgrent.c
516
errno = ret_errno;
lib/libc/gen/getgrent.c
698
errno = ERANGE;
lib/libc/gen/getgrent.c
708
errno = rv;
lib/libc/gen/getgrent.c
863
*errnop = errno;
lib/libc/gen/getgrent.c
972
*errnop = errno;
lib/libc/gen/gethostname.c
48
if (errno == ENOMEM)
lib/libc/gen/gethostname.c
49
errno = ENAMETOOLONG;
lib/libc/gen/getlogin.c
61
*status = errno;
lib/libc/gen/getnetgrent.c
169
errno == ENOENT) || _yp_statp.st_size == 0)
lib/libc/gen/getpwent.c
1137
*errnop = errno;
lib/libc/gen/getpwent.c
1167
if (errno != ENOENT)
lib/libc/gen/getpwent.c
1168
*errnop = errno;
lib/libc/gen/getpwent.c
1331
*errnop = errno;
lib/libc/gen/getpwent.c
1559
return (errno);
lib/libc/gen/getpwent.c
1566
return (errno);
lib/libc/gen/getpwent.c
1783
*errnop = errno;
lib/libc/gen/getpwent.c
1851
*errnop = errno;
lib/libc/gen/getpwent.c
657
errno = ERANGE;
lib/libc/gen/getpwent.c
667
errno = rv;
lib/libc/gen/getpwent.c
849
*errnop = errno;
lib/libc/gen/getpwent.c
898
*errnop = errno;
lib/libc/gen/getusershell.c
161
if (errno == ENOENT) {
lib/libc/gen/getvfsbyname.c
62
if (errno == EOPNOTSUPP)
lib/libc/gen/getvfsbyname.c
69
errno = ENOENT;
lib/libc/gen/glob.c
273
errno = 0;
lib/libc/gen/glob.c
595
errno = 0;
lib/libc/gen/glob.c
657
errno = 0;
lib/libc/gen/glob.c
664
if (pglob->gl_errfunc(buf, errno) ||
lib/libc/gen/glob.c
689
errno = 0;
lib/libc/gen/glob.c
759
errno = 0;
lib/libc/gen/glob.c
783
errno = 0;
lib/libc/gen/glob.c
894
errno = ENAMETOOLONG;
lib/libc/gen/glob.c
908
errno = ENAMETOOLONG;
lib/libc/gen/killpg.c
43
errno = ESRCH;
lib/libc/gen/lockf.c
77
errno = EAGAIN;
lib/libc/gen/lockf.c
81
errno = EINVAL;
lib/libc/gen/nftw.c
102
sverrno = errno;
lib/libc/gen/nftw.c
106
errno = sverrno;
lib/libc/gen/nftw.c
43
errno = EINVAL;
lib/libc/gen/nice.c
53
errno = EPERM;
lib/libc/gen/nice.c
62
errno = 0;
lib/libc/gen/nice.c
64
if (prio == -1 && errno)
lib/libc/gen/nlist.c
117
errno = EFBIG;
lib/libc/gen/nlist.c
257
errno = EFBIG;
lib/libc/gen/nlist.c
288
errno = EFBIG;
lib/libc/gen/nlist.c
358
errsave = errno;
lib/libc/gen/nlist.c
363
errno = errsave;
lib/libc/gen/opendir.c
110
errno = ENOTDIR;
lib/libc/gen/opendir.c
160
saved_errno = errno;
lib/libc/gen/opendir.c
166
errno = saved_errno;
lib/libc/gen/opendir.c
88
saved_errno = errno;
lib/libc/gen/opendir.c
90
errno = saved_errno;
lib/libc/gen/ovsbrk.c
61
if (res == (void *)-1 && errno == EOPNOTSUPP)
lib/libc/gen/popen.c
212
} while (pid == -1 && errno == EINTR);
lib/libc/gen/posix_spawn.c
105
return (errno);
lib/libc/gen/posix_spawn.c
108
return (errno);
lib/libc/gen/posix_spawn.c
114
return (errno);
lib/libc/gen/posix_spawn.c
116
return (errno);
lib/libc/gen/posix_spawn.c
128
return (errno);
lib/libc/gen/posix_spawn.c
145
return (errno);
lib/libc/gen/posix_spawn.c
148
return (errno);
lib/libc/gen/posix_spawn.c
150
if (errno == EBADF)
lib/libc/gen/posix_spawn.c
155
return (errno);
lib/libc/gen/posix_spawn.c
160
return (errno);
lib/libc/gen/posix_spawn.c
162
return (errno);
lib/libc/gen/posix_spawn.c
167
if (errno == EBADF)
lib/libc/gen/posix_spawn.c
202
return (errno);
lib/libc/gen/posix_spawn.c
218
error = errno;
lib/libc/gen/posix_spawn.c
296
return (errno);
lib/libc/gen/posix_spawn.c
302
error = errno;
lib/libc/gen/posix_spawn.c
326
return (errno);
lib/libc/gen/posix_spawn.c
349
return (errno);
lib/libc/gen/posix_spawn.c
370
return (errno);
lib/libc/gen/posix_spawn.c
98
return (errno);
lib/libc/gen/posixshm.c
138
errno = EINVAL;
lib/libc/gen/posixshm.c
144
if (res < 0 && errno != EEXIST)
lib/libc/gen/posixshm.c
54
errno = EINVAL;
lib/libc/gen/posixshm.c
71
if (fd < 0 && errno == ENOENT &&
lib/libc/gen/posixshm.c
84
errno = EINVAL;
lib/libc/gen/readdir.c
105
saved_errno = errno;
lib/libc/gen/readdir.c
106
errno = 0;
lib/libc/gen/readdir.c
114
if (errno != 0) {
lib/libc/gen/readdir.c
116
return (errno);
lib/libc/gen/readdir.c
119
errno = saved_errno;
lib/libc/gen/readpassphrase.c
141
save_errno = errno;
lib/libc/gen/readpassphrase.c
148
errno == EINTR && !signo[SIGTTOU])
lib/libc/gen/readpassphrase.c
182
errno = save_errno;
lib/libc/gen/readpassphrase.c
54
errno = EINVAL;
lib/libc/gen/readpassphrase.c
73
errno = ENOTTY;
lib/libc/gen/sigsetops.c
44
errno = EINVAL;
lib/libc/gen/sigsetops.c
56
errno = EINVAL;
lib/libc/gen/sigsetops.c
88
errno = EINVAL;
lib/libc/gen/sigwait.c
45
return (errno);
lib/libc/gen/sleep.c
59
if (errno != EINTR)
lib/libc/gen/sysconf.c
107
errno = EOVERFLOW;
lib/libc/gen/sysconf.c
119
errno = EOVERFLOW;
lib/libc/gen/sysconf.c
185
sverrno = errno;
lib/libc/gen/sysconf.c
186
errno = 0;
lib/libc/gen/sysconf.c
188
if (lvalue == -1 && errno != 0)
lib/libc/gen/sysconf.c
190
errno = sverrno;
lib/libc/gen/sysconf.c
570
sverrno = errno;
lib/libc/gen/sysconf.c
581
errno = sverrno;
lib/libc/gen/sysconf.c
615
sverrno = errno;
lib/libc/gen/sysconf.c
617
errno = sverrno;
lib/libc/gen/sysconf.c
645
errno = EINVAL;
lib/libc/gen/sysconf.c
91
errno = EOVERFLOW;
lib/libc/gen/sysctl.c
188
errno = EINVAL;
lib/libc/gen/sysctl.c
69
errno = EPERM;
lib/libc/gen/sysctl.c
73
errno = EINVAL;
lib/libc/gen/sysctl.c
80
errno = ENOMEM;
lib/libc/gen/sysctl.c
90
errno = ENOMEM;
lib/libc/gen/syslog.c
150
saved_errno = errno;
lib/libc/gen/syslog.c
274
if (errno != ENOBUFS) {
lib/libc/gen/syslog.c
283
if (errno != ENOBUFS)
lib/libc/gen/termios.c
117
errno = EINVAL;
lib/libc/gen/termios.c
237
errno = EINVAL;
lib/libc/gen/termios.c
263
errno = EINVAL;
lib/libc/gen/termios.c
76
errno = EINVAL;
lib/libc/gen/ttyname.c
126
errno = error;
lib/libc/gen/ulimit.c
66
errno = EINVAL;
lib/libc/gen/uname.c
106
oerrno = errno;
lib/libc/gen/uname.c
108
if (errno == ENOMEM)
lib/libc/gen/uname.c
109
errno = oerrno;
lib/libc/gen/uname.c
128
oerrno = errno;
lib/libc/gen/uname.c
133
if (errno == ENOMEM) {
lib/libc/gen/uname.c
134
errno = oerrno;
lib/libc/gen/uname.c
59
oerrno = errno;
lib/libc/gen/uname.c
61
if(errno == ENOMEM)
lib/libc/gen/uname.c
62
errno = oerrno;
lib/libc/gen/uname.c
73
oerrno = errno;
lib/libc/gen/uname.c
75
if(errno == ENOMEM)
lib/libc/gen/uname.c
76
errno = oerrno;
lib/libc/gen/uname.c
88
oerrno = errno;
lib/libc/gen/uname.c
90
if(errno == ENOMEM)
lib/libc/gen/uname.c
91
errno = oerrno;
lib/libc/gen/unvis.c
508
errno = ENOSPC; \
lib/libc/gen/unvis.c
528
errno = EINVAL;
lib/libc/gen/unvis.c
532
errno = EINVAL;
lib/libc/gen/utmpx.c
124
errno = EINVAL;
lib/libc/gen/utmpx.c
405
saved_errno = errno;
lib/libc/gen/utmpx.c
407
errno = saved_errno;
lib/libc/gen/utmpx.c
467
errno = EFTYPE;
lib/libc/gen/utmpx.c
96
errno = EINVAL;
lib/libc/gen/vis.c
513
errno = ENOSPC;
lib/libc/gen/vis.c
533
errno = ENOSPC;
lib/libc/gen/wordexp.c
107
if (nwritten == -1 && errno == EINTR)
lib/libc/gen/wordexp.c
144
serrno = errno;
lib/libc/gen/wordexp.c
159
serrno = errno;
lib/libc/gen/wordexp.c
165
errno = serrno;
lib/libc/gen/wordexp.c
210
serrno = errno;
lib/libc/gen/wordexp.c
216
serrno = errno;
lib/libc/gen/wordexp.c
253
serrno = errno;
lib/libc/gen/wordexp.c
262
while (wpid < 0 && errno == EINTR);
lib/libc/gen/wordexp.c
265
errno = serrno;
lib/libc/gen/wordexp.c
89
if (nread == -1 && errno == EINTR)
lib/libc/iconv/iconv.c
116
errno = EBADF;
lib/libc/iconv/iconv.c
132
errno = EBADF;
lib/libc/iconv/iconv.c
139
errno = err;
lib/libc/iconv/iconv.c
154
errno = EBADF;
lib/libc/iconv/iconv.c
163
errno = err;
lib/libc/iconv/iconv.c
177
errno = ret;
lib/libc/iconv/iconv.c
273
errno = EBADF;
lib/libc/iconv/iconv.c
305
errno = EOPNOTSUPP;
lib/libc/iconv/iconv.c
314
errno = EINVAL;
lib/libc/iconv/iconv.c
74
errno = ENOMEM;
lib/libc/iconv/iconv.c
84
errno = ret == ENOENT ? EINVAL : ret;
lib/libc/inet/inet_cidr_ntop.c
108
errno = EINVAL;
lib/libc/inet/inet_cidr_ntop.c
140
errno = EMSGSIZE;
lib/libc/inet/inet_cidr_ntop.c
160
errno = EINVAL;
lib/libc/inet/inet_cidr_ntop.c
226
errno = EMSGSIZE;
lib/libc/inet/inet_cidr_ntop.c
248
errno = EMSGSIZE;
lib/libc/inet/inet_cidr_ntop.c
62
errno = EAFNOSUPPORT;
lib/libc/inet/inet_cidr_pton.c
135
errno = ENOENT;
lib/libc/inet/inet_cidr_pton.c
139
errno = EMSGSIZE;
lib/libc/inet/inet_cidr_pton.c
238
errno = ENOENT;
lib/libc/inet/inet_cidr_pton.c
242
errno = EMSGSIZE;
lib/libc/inet/inet_cidr_pton.c
69
errno = EAFNOSUPPORT;
lib/libc/inet/inet_net_ntop.c
130
errno = EMSGSIZE;
lib/libc/inet/inet_net_ntop.c
166
errno = EINVAL;
lib/libc/inet/inet_net_ntop.c
258
errno = EMSGSIZE;
lib/libc/inet/inet_net_ntop.c
58
errno = EAFNOSUPPORT;
lib/libc/inet/inet_net_ntop.c
85
errno = EINVAL;
lib/libc/inet/inet_net_pton.c
173
errno = ENOENT;
lib/libc/inet/inet_net_pton.c
177
errno = EMSGSIZE;
lib/libc/inet/inet_net_pton.c
365
errno = ENOENT;
lib/libc/inet/inet_net_pton.c
369
errno = EMSGSIZE;
lib/libc/inet/inet_net_pton.c
394
errno = EAFNOSUPPORT;
lib/libc/inet/inet_neta.c
74
errno = EMSGSIZE;
lib/libc/inet/inet_ntop.c
169
errno = ENOSPC;
lib/libc/inet/inet_ntop.c
187
errno = ENOSPC;
lib/libc/inet/inet_ntop.c
62
errno = EAFNOSUPPORT;
lib/libc/inet/inet_ntop.c
88
errno = ENOSPC;
lib/libc/inet/inet_pton.c
59
errno = EAFNOSUPPORT;
lib/libc/isc/ev_streams.c
123
save = errno;
lib/libc/isc/ev_streams.c
125
errno = save;
lib/libc/isc/ev_streams.c
211
errno = ENOMEM;
lib/libc/isc/ev_streams.c
277
if (bytes < 0 && errno != EINTR) {
lib/libc/isc/ev_streams.c
279
str->ioErrno = errno;
lib/libc/isc/ev_streams.c
303
if (errno != EINTR) {
lib/libc/isc/ev_streams.c
305
str->ioErrno = errno;
lib/libc/isc/ev_streams.c
89
save = errno;
lib/libc/isc/ev_streams.c
91
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/ascii.c
100
errno = EILSEQ;
lib/libc/locale/ascii.c
117
errno = EILSEQ;
lib/libc/locale/ascii.c
135
errno = EILSEQ;
lib/libc/locale/ascii.c
148
errno = EILSEQ;
lib/libc/locale/ascii.c
171
errno = EILSEQ;
lib/libc/locale/ascii.c
183
errno = EILSEQ;
lib/libc/locale/big5.c
109
errno = EINVAL;
lib/libc/locale/big5.c
125
errno = EILSEQ;
lib/libc/locale/big5.c
144
errno = EILSEQ;
lib/libc/locale/big5.c
166
errno = EINVAL;
lib/libc/locale/cXXrtomb_iconv.h
104
errno = EILSEQ;
lib/libc/locale/cXXrtomb_iconv.h
75
errno = EINVAL;
lib/libc/locale/collate.c
133
errno = EINVAL;
lib/libc/locale/collate.c
144
errno = EINVAL;
lib/libc/locale/collate.c
156
errno = EINVAL;
lib/libc/locale/collate.c
168
errno = EINVAL;
lib/libc/locale/collate.c
429
errno = ENOMEM;
lib/libc/locale/collate.c
448
errno = EINVAL;
lib/libc/locale/collate.c
467
errno = EINVAL;
lib/libc/locale/collate.c
577
errno = ENOMEM;
lib/libc/locale/collate.c
597
errno = EINVAL;
lib/libc/locale/collate.c
623
errno = EINVAL;
lib/libc/locale/euc.c
322
errno = EINVAL;
lib/libc/locale/euc.c
352
errno = EILSEQ;
lib/libc/locale/euc.c
374
errno = EILSEQ;
lib/libc/locale/euc.c
395
errno = EINVAL;
lib/libc/locale/euc.c
421
errno = EILSEQ;
lib/libc/locale/euc.c
431
errno = EILSEQ;
lib/libc/locale/euc.c
436
errno = EILSEQ;
lib/libc/locale/euc.c
440
errno = EILSEQ;
lib/libc/locale/gb18030.c
102
errno = EINVAL;
lib/libc/locale/gb18030.c
170
errno = EILSEQ;
lib/libc/locale/gb18030.c
184
errno = EINVAL;
lib/libc/locale/gb18030.c
233
errno = EILSEQ;
lib/libc/locale/gb2312.c
119
errno = EINVAL;
lib/libc/locale/gb2312.c
156
errno = EINVAL;
lib/libc/locale/gbk.c
107
errno = EINVAL;
lib/libc/locale/gbk.c
123
errno = EILSEQ;
lib/libc/locale/gbk.c
142
errno = EILSEQ;
lib/libc/locale/gbk.c
164
errno = EINVAL;
lib/libc/locale/ldpart.c
100
errno = ENOMEM;
lib/libc/locale/ldpart.c
112
errno = EFTYPE;
lib/libc/locale/ldpart.c
121
errno = EFTYPE;
lib/libc/locale/ldpart.c
140
saverr = errno;
lib/libc/locale/ldpart.c
142
errno = saverr;
lib/libc/locale/ldpart.c
144
saverr = errno;
lib/libc/locale/ldpart.c
146
errno = saverr;
lib/libc/locale/ldpart.c
95
errno = EFTYPE;
lib/libc/locale/mbrtocXX_iconv.h
130
errno = EILSEQ;
lib/libc/locale/mbrtocXX_iconv.h
77
errno = EINVAL;
lib/libc/locale/mbtowc.c
55
errno = EILSEQ;
lib/libc/locale/mskanji.c
103
errno = EINVAL;
lib/libc/locale/mskanji.c
119
errno = EILSEQ;
lib/libc/locale/mskanji.c
136
errno = EILSEQ;
lib/libc/locale/mskanji.c
159
errno = EINVAL;
lib/libc/locale/none.c
120
errno = EILSEQ;
lib/libc/locale/none.c
162
errno = EILSEQ;
lib/libc/locale/none.c
174
errno = EILSEQ;
lib/libc/locale/none.c
265
errno = EILSEQ;
lib/libc/locale/rune.c
153
saverr = errno;
lib/libc/locale/rune.c
155
errno = saverr;
lib/libc/locale/rune.c
247
errno = EINVAL;
lib/libc/locale/rune.c
74
errno = EINVAL;
lib/libc/locale/rune.c
80
errno = EINVAL;
lib/libc/locale/rune.c
86
errno = EINVAL;
lib/libc/locale/rune.c
94
errno = EINVAL;
lib/libc/locale/setlocale.c
107
errno = EINVAL;
lib/libc/locale/setlocale.c
129
errno = EINVAL;
lib/libc/locale/setlocale.c
137
errno = EINVAL;
lib/libc/locale/setlocale.c
144
errno = EINVAL;
lib/libc/locale/setlocale.c
153
errno = EINVAL;
lib/libc/locale/setlocale.c
160
errno = EINVAL;
lib/libc/locale/setlocale.c
184
errno = EINVAL;
lib/libc/locale/setlocale.c
198
saverr = errno;
lib/libc/locale/setlocale.c
207
errno = saverr;
lib/libc/locale/setlocale.c
244
errno = EINVAL;
lib/libc/locale/setlocale.c
248
saved_errno = errno;
lib/libc/locale/setlocale.c
249
errno = __detect_path_locale();
lib/libc/locale/setlocale.c
250
if (errno != 0)
lib/libc/locale/setlocale.c
252
errno = saved_errno;
lib/libc/locale/setlocale.c
274
errno = EINVAL;
lib/libc/locale/setlocale.c
388
return (errno == 0 ? ENOMEM : errno);
lib/libc/locale/setrunelocale.c
113
errno = EINVAL;
lib/libc/locale/setrunelocale.c
114
return (errno);
lib/libc/locale/setrunelocale.c
170
errno = ret;
lib/libc/locale/utf8.c
125
errno = EINVAL;
lib/libc/locale/utf8.c
175
errno = EILSEQ;
lib/libc/locale/utf8.c
198
errno = EILSEQ;
lib/libc/locale/utf8.c
216
errno = EILSEQ;
lib/libc/locale/utf8.c
247
errno = EILSEQ;
lib/libc/locale/utf8.c
276
errno = EILSEQ;
lib/libc/locale/utf8.c
317
errno = EINVAL;
lib/libc/locale/utf8.c
345
errno = EILSEQ;
lib/libc/locale/utf8.c
377
errno = EINVAL;
lib/libc/locale/utf8.c
495
errno = EILSEQ;
lib/libc/locale/utf8.c
535
errno = EILSEQ;
lib/libc/locale/utf8.c
579
errno = EILSEQ;
lib/libc/locale/utf8.c
642
errno = EILSEQ;
lib/libc/locale/utf8.c
661
errno = EILSEQ;
lib/libc/locale/utf8.c
686
errno = EILSEQ;
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/locale/wcstoimax.c
120
errno = ERANGE;
lib/libc/locale/wcstoimax.c
123
errno = EINVAL;
lib/libc/locale/wcstol.c
119
errno = ERANGE;
lib/libc/locale/wcstol.c
122
errno = EINVAL;
lib/libc/locale/wcstoll.c
120
errno = ERANGE;
lib/libc/locale/wcstoll.c
123
errno = EINVAL;
lib/libc/locale/wcstoul.c
117
errno = ERANGE;
lib/libc/locale/wcstoul.c
120
errno = EINVAL;
lib/libc/locale/wcstoull.c
118
errno = ERANGE;
lib/libc/locale/wcstoull.c
121
errno = EINVAL;
lib/libc/locale/wcstoumax.c
118
errno = ERANGE;
lib/libc/locale/wcstoumax.c
121
errno = EINVAL;
lib/libc/locale/wctrans.c
58
errno = EINVAL;
lib/libc/locale/wctrans.c
92
errno = EINVAL;
lib/libc/locale/xlocale.c
284
errno = EINVAL;
lib/libc/locale/xlocale.c
290
errno = EINVAL;
lib/libc/nameser/ns_name.c
110
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
115
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
121
errno = EMSGSIZE; /*%< XXX */
lib/libc/nameser/ns_name.c
125
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
133
errno = EINVAL;
lib/libc/nameser/ns_name.c
138
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
148
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
155
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
164
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
173
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
179
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
215
errno = EINVAL; /*%< ??? */
lib/libc/nameser/ns_name.c
221
errno = e;
lib/libc/nameser/ns_name.c
229
errno = EINVAL;
lib/libc/nameser/ns_name.c
238
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
244
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
249
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
261
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
265
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
273
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
279
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
285
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
292
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
299
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
304
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
310
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
316
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
346
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
352
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
357
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
361
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
396
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
407
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
411
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
423
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
430
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
440
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
446
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
504
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
508
errno = EINVAL;
lib/libc/nameser/ns_name.c
513
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
561
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
655
errno = EMSGSIZE; /*%< XXX */
lib/libc/nameser/ns_name.c
664
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
670
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
783
errno = EMSGSIZE;
lib/libc/nameser/ns_name.c
791
errno = ENOENT;
lib/libc/nameser/ns_parse.c
42
#define RETERR(err) do { errno = (err); return (-1); } while (0)
lib/libc/nameser/ns_parse.c
45
do { errno = (err); if (errno == errno) return (-1); } while (0)
lib/libc/nameser/ns_print.c
814
errno = ENOSPC;
lib/libc/nameser/ns_print.c
858
errno = ENOSPC;
lib/libc/nameser/ns_print.c
874
errno = ENOSPC;
lib/libc/nameser/ns_samedomain.c
172
errno = EMSGSIZE;
lib/libc/nameser/ns_ttl.c
140
errno = EINVAL;
lib/libc/net/getaddrinfo.c
1027
errno = EAFNOSUPPORT; /* is this a good error? */
lib/libc/net/getaddrinfo.c
1055
if (errno != EMFILE)
lib/libc/net/getaddrinfo.c
1449
errno = 0;
lib/libc/net/getaddrinfo.c
1452
if (errno == 0 && ep && *ep == '\0' && *scopeid == lscopeid)
lib/libc/net/getaddrinfo.c
1552
errno = ERANGE;
lib/libc/net/getaddrinfo.c
2496
errno = 0;
lib/libc/net/getaddrinfo.c
2522
if (errno == ECONNREFUSED) {
lib/libc/net/getaddrinfo.c
2580
if (errno == ECONNREFUSED) {
lib/libc/net/getaddrinfo.c
343
errno = 0;
lib/libc/net/getaddrinfo.c
345
if (errno == 0 && ep && *ep == '\0' && v <= UINT_MAX) {
lib/libc/net/gethostbydns.c
110
int save = errno;
lib/libc/net/gethostbydns.c
113
errno = save;
lib/libc/net/gethostbydns.c
506
errno = EAFNOSUPPORT;
lib/libc/net/gethostbynis.c
70
errno = EAFNOSUPPORT;
lib/libc/net/gethostnamadr.c
115
errno = ERANGE;
lib/libc/net/gethostnamadr.c
396
errno = ERANGE;
lib/libc/net/gethostnamadr.c
438
errno = ENOMEM;
lib/libc/net/gethostnamadr.c
465
errno = EAFNOSUPPORT;
lib/libc/net/gethostnamadr.c
550
errno = EAFNOSUPPORT;
lib/libc/net/gethostnamadr.c
632
errno = EAFNOSUPPORT;
lib/libc/net/gethostnamadr.c
638
errno = EINVAL;
lib/libc/net/getifaddrs.c
119
if (errno != ENOMEM || ++ntry >= MAX_SYSCTL_TRY) {
lib/libc/net/getnetbydns.c
238
errno = ENOBUFS;
lib/libc/net/getnetbydns.c
245
errno = ENOBUFS;
lib/libc/net/getnetbynis.c
211
errno = EAFNOSUPPORT;
lib/libc/net/getnetbynis.c
65
errno = EAFNOSUPPORT;
lib/libc/net/getnetnamadr.c
307
errno = ERANGE;
lib/libc/net/getprotoent.c
310
errno = ERANGE;
lib/libc/net/getprotoent.c
428
*errnop = errno;
lib/libc/net/getprotoent.c
433
*errnop = errno;
lib/libc/net/getservent.c
1144
errno = rv;
lib/libc/net/getservent.c
1160
errno = ERANGE;
lib/libc/net/getservent.c
1170
errno = rv;
lib/libc/net/getservent.c
295
*errnop = errno;
lib/libc/net/getservent.c
310
*errnop = errno;
lib/libc/net/getservent.c
518
*errnop = errno;
lib/libc/net/hesiod.c
113
errno = ENOMEM;
lib/libc/net/hesiod.c
118
errno = ENOMEM;
lib/libc/net/hesiod.c
158
errno = EMSGSIZE;
lib/libc/net/hesiod.c
176
errno = ENOENT;
lib/libc/net/hesiod.c
191
errno = EMSGSIZE;
lib/libc/net/hesiod.c
214
errno = ENOMEM;
lib/libc/net/hesiod.c
234
if (retvec == NULL && errno == ENOENT && ctx->classes[1])
lib/libc/net/hesiod.c
281
errno = ENOMEM;
lib/libc/net/hesiod.c
311
errno = ENOMEM;
lib/libc/net/hesiod.c
340
errno = ENOEXEC;
lib/libc/net/hesiod.c
372
errno = ECONNREFUSED; /* XXX */
lib/libc/net/hesiod.c
389
errno = EMSGSIZE;
lib/libc/net/hesiod.c
398
errno = ENOMEM;
lib/libc/net/hesiod.c
413
errno = EMSGSIZE;
lib/libc/net/hesiod.c
424
errno = ENOMEM;
lib/libc/net/hesiod.c
434
errno = EMSGSIZE;
lib/libc/net/hesiod.c
442
errno = EMSGSIZE;
lib/libc/net/hesiod.c
459
errno = ENOENT;
lib/libc/net/hesiod.c
546
switch (errno) {
lib/libc/net/if_indextoname.c
86
errno = error;
lib/libc/net/if_nametoindex.c
96
errno = ENXIO;
lib/libc/net/name6.c
1105
errno = EAFNOSUPPORT; /* is this a good error? */
lib/libc/net/nsdispatch.c
622
serrno = errno;
lib/libc/net/nsdispatch.c
740
errno = serrno;
lib/libc/net/rcmd.c
125
strerror(errno));
lib/libc/net/rcmd.c
145
if (errno != EAGAIN && ai->ai_next) {
lib/libc/net/rcmd.c
149
if (errno == EAGAIN)
lib/libc/net/rcmd.c
154
strerror(errno));
lib/libc/net/rcmd.c
164
if (errno == EADDRINUSE) {
lib/libc/net/rcmd.c
168
if (errno == ECONNREFUSED)
lib/libc/net/rcmd.c
171
fprintf(stderr, "%s: %s\n", *ahost, strerror(errno));
lib/libc/net/rcmd.c
178
int oerrno = errno;
lib/libc/net/rcmd.c
183
errno = oerrno;
lib/libc/net/rcmd.c
219
strerror(errno));
lib/libc/net/rcmd.c
233
errno = 0;
lib/libc/net/rcmd.c
235
if (errno != 0)
lib/libc/net/rcmd.c
238
strerror(errno));
lib/libc/net/rcmd.c
270
"rcmd: accept: %s\n", strerror(errno));
lib/libc/net/rcmd.c
286
"rcmd: %s: %s\n", *ahost, strerror(errno));
lib/libc/net/rcmd.c
339
errno = EAFNOSUPPORT;
lib/libc/net/rcmd.c
350
if (errno != EADDRINUSE) {
lib/libc/net/rcmdsh.c
136
pw->pw_uid, strerror(errno));
lib/libc/net/rcmdsh.c
158
rshprog, strerror(errno));
lib/libc/nls/msgcat.c
191
saverr = errno;
lib/libc/nls/msgcat.c
193
errno = saverr;
lib/libc/nls/msgcat.c
274
errno = EBADF;
lib/libc/nls/msgcat.c
328
errno = ENOMSG;
lib/libc/nls/msgcat.c
355
errno = EBADF;
lib/libc/nls/msgcat.c
403
SAVEFAIL(name, lang, errno);
lib/libc/nls/msgcat.c
404
NLRETERR(errno);
lib/libc/nls/msgcat.c
426
int saved_errno = errno;
lib/libc/nls/msgcat.c
64
errno = ret; \
lib/libc/nls/msgcat.c
70
errno = ret; \
lib/libc/nls/msgcat.c
77
#define NLRETERR(errc) { errno = errc; return (NLERR); }
lib/libc/nls/msgcat.c
91
errno = e; \
lib/libc/resolv/mtctxres.c
81
errno = ENOMEM;
lib/libc/resolv/mtctxres.c
89
errno = ret;
lib/libc/resolv/res_debug.c
1167
errno = 0;
lib/libc/resolv/res_debug.c
1169
if (errno == 0 && *endptr == '\0' && result <= 0xffffU)
lib/libc/resolv/res_debug.c
1190
errno = 0;
lib/libc/resolv/res_debug.c
1192
if (errno == 0 && *endptr == '\0' && result <= 0xffffU)
lib/libc/resolv/res_debug.c
171
if (errno != ENODEV)
lib/libc/resolv/res_debug.c
173
strerror(errno));
lib/libc/resolv/res_debug.c
242
if (errno == ENOSPC) {
lib/libc/resolv/res_debug.c
255
strerror(errno));
lib/libc/resolv/res_debug.c
279
fprintf(file, ";; ns_initparse: %s\n", strerror(errno));
lib/libc/resolv/res_findzonecut.c
213
DPRINTF(("FINISH n=%d (%s)", n, (n < 0) ? strerror(errno) : "OK"));
lib/libc/resolv/res_findzonecut.c
343
errno = EPROTOTYPE;
lib/libc/resolv/res_findzonecut.c
354
errno = EPROTOTYPE;
lib/libc/resolv/res_findzonecut.c
365
errno = EMSGSIZE;
lib/libc/resolv/res_findzonecut.c
393
errno = EMSGSIZE;
lib/libc/resolv/res_findzonecut.c
400
errno = EDESTADDRREQ;
lib/libc/resolv/res_findzonecut.c
688
errno = EMSGSIZE;
lib/libc/resolv/res_findzonecut.c
90
int save_errno = errno; \
lib/libc/resolv/res_findzonecut.c
92
errno = save_errno; \
lib/libc/resolv/res_mkupdate.c
500
errno = 0;
lib/libc/resolv/res_mkupdate.c
502
if (errno != 0 ||
lib/libc/resolv/res_query.c
223
errno = 0;
lib/libc/resolv/res_query.c
289
if (errno == ECONNREFUSED) {
lib/libc/resolv/res_send.c
1015
if (errno == EINTR)
lib/libc/resolv/res_send.c
1018
Perror(statp, stderr, "kevent", errno);
lib/libc/resolv/res_send.c
1021
Perror(statp, stderr, "select", errno);
lib/libc/resolv/res_send.c
1023
Perror(statp, stderr, "poll", errno);
lib/libc/resolv/res_send.c
1033
errno = 0;
lib/libc/resolv/res_send.c
1042
Perror(statp, stderr, "recvfrom", errno);
lib/libc/resolv/res_send.c
1146
int save = errno;
lib/libc/resolv/res_send.c
1163
errno = save;
lib/libc/resolv/res_send.c
1168
int save = errno;
lib/libc/resolv/res_send.c
1173
errno = save;
lib/libc/resolv/res_send.c
315
errno = ESRCH;
lib/libc/resolv/res_send.c
319
errno = EINVAL;
lib/libc/resolv/res_send.c
330
Perror(statp, stderr, "kqueue", errno);
lib/libc/resolv/res_send.c
566
errno = ECONNREFUSED; /*%< no nameservers found */
lib/libc/resolv/res_send.c
568
errno = ETIMEDOUT; /*%< no answer obtained */
lib/libc/resolv/res_send.c
570
errno = terrno;
lib/libc/resolv/res_send.c
673
errno = ENOTSOCK;
lib/libc/resolv/res_send.c
677
switch (errno) {
lib/libc/resolv/res_send.c
683
Perror(statp, stderr, "socket(vc)", errno);
lib/libc/resolv/res_send.c
686
*terrno = errno;
lib/libc/resolv/res_send.c
687
Perror(statp, stderr, "socket(vc)", errno);
lib/libc/resolv/res_send.c
702
errno = 0;
lib/libc/resolv/res_send.c
708
*terrno = errno;
lib/libc/resolv/res_send.c
709
Aerror(statp, stderr, "connect/vc", errno, nsap,
lib/libc/resolv/res_send.c
729
*terrno = errno;
lib/libc/resolv/res_send.c
730
Perror(statp, stderr, "write failed", errno);
lib/libc/resolv/res_send.c
750
*terrno = errno;
lib/libc/resolv/res_send.c
751
Perror(statp, stderr, "read failed", errno);
lib/libc/resolv/res_send.c
799
*terrno = errno;
lib/libc/resolv/res_send.c
800
Perror(statp, stderr, "read(vc)", errno);
lib/libc/resolv/res_send.c
886
errno = ENOTSOCK;
lib/libc/resolv/res_send.c
890
switch (errno) {
lib/libc/resolv/res_send.c
896
Perror(statp, stderr, "socket(dg)", errno);
lib/libc/resolv/res_send.c
899
*terrno = errno;
lib/libc/resolv/res_send.c
900
Perror(statp, stderr, "socket(dg)", errno);
lib/libc/resolv/res_send.c
930
Aerror(statp, stderr, "connect(dg)", errno, nsap,
lib/libc/resolv/res_send.c
948
Aerror(statp, stderr, "sendto", errno, nsap, nsaplen);
lib/libc/resolv/res_send.c
953
Perror(statp, stderr, "send", errno);
lib/libc/resolv/res_send.c
964
Aerror(statp, stderr, "sendto", errno, nsap, nsaplen);
lib/libc/resolv/res_update.c
183
n, strerror(errno)));
lib/libc/resolv/res_update.c
84
int save_errno = errno; \
lib/libc/resolv/res_update.c
86
errno = save_errno; \
lib/libc/rpc/auth_time.c
410
} while (res < 0 && errno == EINTR);
lib/libc/rpc/auth_time.c
448
save = errno;
lib/libc/rpc/auth_time.c
450
errno = save;
lib/libc/rpc/bindresvport.c
110
errno = EPFNOSUPPORT;
lib/libc/rpc/bindresvport.c
132
int saved_errno = errno;
lib/libc/rpc/bindresvport.c
137
errno = saved_errno;
lib/libc/rpc/bindresvport.c
144
errno = saved_errno;
lib/libc/rpc/clnt_bcast.c
541
if (errno == EINTR)
lib/libc/rpc/clnt_dg.c
272
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_dg.c
332
cu->cu_error.re_errno = errno;
lib/libc/rpc/clnt_dg.c
354
cu->cu_error.re_errno = errno;
lib/libc/rpc/clnt_dg.c
385
cu->cu_error.re_errno = errno;
lib/libc/rpc/clnt_dg.c
433
} while (recvlen < 0 && errno == EINTR);
lib/libc/rpc/clnt_dg.c
434
if (recvlen < 0 && errno != EWOULDBLOCK) {
lib/libc/rpc/clnt_dg.c
435
cu->cu_error.re_errno = errno;
lib/libc/rpc/clnt_dg.c
447
if (n == -1 && errno != EINTR) {
lib/libc/rpc/clnt_dg.c
448
cu->cu_error.re_errno = errno;
lib/libc/rpc/clnt_generic.c
424
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_simple.c
130
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
178
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
221
if (errno != ENOTCONN) {
lib/libc/rpc/clnt_vc.c
223
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
230
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
656
if (errno == EINTR)
lib/libc/rpc/clnt_vc.c
659
ct->ct_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
682
ct->ct_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
703
ct->ct_error.re_errno = errno;
lib/libc/rpc/clnt_vc.c
711
ct->ct_error.re_errno = errno;
lib/libc/rpc/getnetpath.c
148
errno = EINVAL;
lib/libc/rpc/getnetpath.c
201
errno = EINVAL;
lib/libc/rpc/getrpcent.c
250
*errnop = errno;
lib/libc/rpc/getrpcent.c
263
*errnop = errno;
lib/libc/rpc/getrpcent.c
431
*errnop = errno;
lib/libc/rpc/getrpcent.c
936
errno = rv;
lib/libc/rpc/getrpcent.c
952
errno = ERANGE;
lib/libc/rpc/getrpcent.c
962
errno = rv;
lib/libc/rpc/rpc_soc.c
144
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/rpc_soc.c
416
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/rpc_soc.c
425
rpc_createerr.cf_error.re_errno = errno;
lib/libc/rpc/rtime.c
108
} while (res < 0 && errno == EINTR);
lib/libc/rpc/rtime.c
111
errno = ETIMEDOUT;
lib/libc/rpc/rtime.c
135
errno = EIO;
lib/libc/rpc/rtime.c
149
save = errno;
lib/libc/rpc/rtime.c
151
errno = save;
lib/libc/rpc/svc_dg.c
182
if (rlen == -1 && errno == EINTR)
lib/libc/rpc/svc_run.c
70
if (errno == EINTR) {
lib/libc/rpc/svc_vc.c
298
if (errno == EINTR)
lib/libc/rpc/svc_vc.c
304
if (errno == EMFILE || errno == ENFILE) {
lib/libc/rpc/svc_vc.c
459
if (errno == EAGAIN)
lib/libc/rpc/svc_vc.c
475
if (errno == EINTR)
lib/libc/rpc/svc_vc.c
519
if (errno != EAGAIN || !cd->nonblock) {
lib/libc/stdio/fclose.c
51
errno = EBADF;
lib/libc/stdio/fdopen.c
60
errno = EINVAL;
lib/libc/stdio/fgetwc.c
113
errno = EILSEQ;
lib/libc/stdio/fgetws.c
61
errno = ENOMEM;
lib/libc/stdio/fgetws.c
66
errno = EINVAL;
lib/libc/stdio/flags.c
85
errno = EINVAL;
lib/libc/stdio/fmemopen.c
115
errno = EINVAL;
lib/libc/stdio/fmemopen.c
210
errno = EINVAL;
lib/libc/stdio/fopencookie.c
130
errno = EINVAL;
lib/libc/stdio/fopencookie.c
141
errno = ENOTSUP;
lib/libc/stdio/fopencookie.c
164
serrno = errno;
lib/libc/stdio/fopencookie.c
166
errno = serrno;
lib/libc/stdio/fpurge.c
54
errno = EBADF;
lib/libc/stdio/fputwc.c
61
errno = ENOMEM;
lib/libc/stdio/freopen.c
103
sverrno = errno;
lib/libc/stdio/freopen.c
106
errno = sverrno;
lib/libc/stdio/freopen.c
153
if (errno == ENFILE || errno == EMFILE) {
lib/libc/stdio/freopen.c
159
sverrno = errno;
lib/libc/stdio/freopen.c
188
errno = sverrno; /* restore in case _close clobbered */
lib/libc/stdio/freopen.c
60
sverrno = errno;
lib/libc/stdio/freopen.c
62
errno = sverrno;
lib/libc/stdio/freopen.c
80
errno = EINVAL;
lib/libc/stdio/freopen.c
84
sverrno = errno;
lib/libc/stdio/freopen.c
87
errno = sverrno;
lib/libc/stdio/freopen.c
94
errno = EINVAL;
lib/libc/stdio/fseek.c
103
errno = ESPIPE; /* historic practice */
lib/libc/stdio/fseek.c
123
errno = ESPIPE;
lib/libc/stdio/fseek.c
127
errno = EOVERFLOW;
lib/libc/stdio/fseek.c
132
errno = EINVAL;
lib/libc/stdio/fseek.c
136
errno = EOVERFLOW;
lib/libc/stdio/fseek.c
145
errno = EINVAL;
lib/libc/stdio/fseek.c
154
errno = EINVAL;
lib/libc/stdio/fseek.c
191
errno = EOVERFLOW;
lib/libc/stdio/fseek.c
196
errno = EINVAL;
lib/libc/stdio/fseek.c
200
errno = EOVERFLOW;
lib/libc/stdio/fseek.c
286
errno = EOVERFLOW;
lib/libc/stdio/fseek.c
54
int serrno = errno;
lib/libc/stdio/fseek.c
64
errno = serrno;
lib/libc/stdio/fseek.c
72
int serrno = errno;
lib/libc/stdio/fseek.c
82
errno = serrno;
lib/libc/stdio/ftell.c
112
errno = EIO;
lib/libc/stdio/ftell.c
125
errno = EOVERFLOW;
lib/libc/stdio/ftell.c
55
errno = EOVERFLOW;
lib/libc/stdio/ftell.c
76
errno = ESPIPE;
lib/libc/stdio/ftell.c
89
errno = ESPIPE; /* historic practice */
lib/libc/stdio/funopen.c
51
errno = EINVAL;
lib/libc/stdio/getdelim.c
118
errno = EINVAL;
lib/libc/stdio/getdelim.c
70
errno = EOVERFLOW;
lib/libc/stdio/mktemp.c
118
errno = EINVAL;
lib/libc/stdio/mktemp.c
122
errno = EINVAL;
lib/libc/stdio/mktemp.c
132
errno = EINVAL;
lib/libc/stdio/mktemp.c
158
errno = ENOTDIR;
lib/libc/stdio/mktemp.c
172
if (errno != EEXIST)
lib/libc/stdio/mktemp.c
177
if (errno != EEXIST)
lib/libc/stdio/mktemp.c
180
return (errno == ENOENT);
lib/libc/stdio/mktemp.c
190
errno = EIO;
lib/libc/stdio/open_memstream.c
136
errno = EINVAL;
lib/libc/stdio/open_memstream.c
146
errno = EOVERFLOW;
lib/libc/stdio/open_memstream.c
177
errno = EINVAL;
lib/libc/stdio/open_memstream.c
185
save_errno = errno;
lib/libc/stdio/open_memstream.c
188
errno = save_errno;
lib/libc/stdio/open_memstream.c
199
save_errno = errno;
lib/libc/stdio/open_memstream.c
203
errno = save_errno;
lib/libc/stdio/open_wmemstream.c
125
errno = EILSEQ;
lib/libc/stdio/open_wmemstream.c
142
errno = EILSEQ;
lib/libc/stdio/open_wmemstream.c
194
errno = EINVAL;
lib/libc/stdio/open_wmemstream.c
204
errno = EOVERFLOW;
lib/libc/stdio/open_wmemstream.c
238
errno = EINVAL;
lib/libc/stdio/open_wmemstream.c
246
save_errno = errno;
lib/libc/stdio/open_wmemstream.c
249
errno = save_errno;
lib/libc/stdio/open_wmemstream.c
261
save_errno = errno;
lib/libc/stdio/open_wmemstream.c
265
errno = save_errno;
lib/libc/stdio/perror.c
61
strerror_r(errno, msgbuf, sizeof(msgbuf));
lib/libc/stdio/refill.c
83
errno = EBADF;
lib/libc/stdio/rewind.c
47
int serrno = errno;
lib/libc/stdio/rewind.c
56
errno = serrno;
lib/libc/stdio/snprintf.c
63
errno = EOVERFLOW;
lib/libc/stdio/snprintf.c
91
errno = EOVERFLOW;
lib/libc/stdio/stdio.c
108
serrno = errno;
lib/libc/stdio/stdio.c
112
errno = serrno;
lib/libc/stdio/stdio.c
134
serrno = errno;
lib/libc/stdio/stdio.c
135
errno = 0;
lib/libc/stdio/stdio.c
137
errret = errno;
lib/libc/stdio/stdio.c
138
if (errno == 0)
lib/libc/stdio/stdio.c
139
errno = serrno;
lib/libc/stdio/stdio.c
155
errno = EINVAL;
lib/libc/stdio/tempnam.c
83
sverrno = errno;
lib/libc/stdio/tempnam.c
85
errno = sverrno;
lib/libc/stdio/tmpfile.c
84
sverrno = errno;
lib/libc/stdio/tmpfile.c
86
errno = sverrno;
lib/libc/stdio/vasprintf.c
56
errno = ENOMEM;
lib/libc/stdio/vasprintf.c
64
errno = ENOMEM;
lib/libc/stdio/vdprintf.c
53
errno = EMFILE;
lib/libc/stdio/vfprintf.c
454
errno = EBADF;
lib/libc/stdio/vfprintf.c
481
errno = EOVERFLOW;
lib/libc/stdio/vfprintf.c
937
errno = EOVERFLOW;
lib/libc/stdio/vfwprintf.c
1000
errno = EOVERFLOW;
lib/libc/stdio/vfwprintf.c
549
errno = EOVERFLOW;
lib/libc/stdio/vsnprintf.c
63
errno = EOVERFLOW;
lib/libc/stdio/vswprintf.c
100
errno = EOVERFLOW;
lib/libc/stdio/vswprintf.c
59
errno = EINVAL;
lib/libc/stdio/vswprintf.c
63
errno = EOVERFLOW;
lib/libc/stdio/vswprintf.c
71
errno = ENOMEM;
lib/libc/stdio/vswprintf.c
78
sverrno = errno;
lib/libc/stdio/vswprintf.c
80
errno = sverrno;
lib/libc/stdio/vswprintf.c
94
errno = EILSEQ;
lib/libc/stdio/wsetup.c
58
errno = EBADF;
lib/libc/stdlib/_strtol.h
139
errno = ERANGE;
lib/libc/stdlib/_strtol.h
149
errno = ERANGE;
lib/libc/stdlib/_strtol.h
62
errno = EINVAL;
lib/libc/stdlib/_strtoul.h
116
errno = ERANGE;
lib/libc/stdlib/_strtoul.h
62
errno = EINVAL;
lib/libc/stdlib/dmalloc.c
650
errno = ENOMEM;
lib/libc/stdlib/dmalloc.c
666
errno = ENOMEM;
lib/libc/stdlib/dmalloc.c
689
errno = ENOMEM;
lib/libc/stdlib/dmalloc.c
709
errno = rc;
lib/libc/stdlib/getenv.c
362
errno = EFAULT;
lib/libc/stdlib/getenv.c
378
errno = EFAULT;
lib/libc/stdlib/getenv.c
391
savedErrno = errno;
lib/libc/stdlib/getenv.c
393
errno = savedErrno;
lib/libc/stdlib/getenv.c
422
errno = EINVAL;
lib/libc/stdlib/getenv.c
560
errno = EFAULT;
lib/libc/stdlib/getenv.c
585
errno = EINVAL;
lib/libc/stdlib/getenv.c
613
errno = EINVAL;
lib/libc/stdlib/getenv.c
666
errno = EINVAL;
lib/libc/stdlib/hcreate.c
115
errno = ENOMEM;
lib/libc/stdlib/hcreate.c
92
errno = EINVAL;
lib/libc/stdlib/heapsort.c
148
errno = EINVAL;
lib/libc/stdlib/merge.c
105
errno = EINVAL;
lib/libc/stdlib/nmalloc.c
1432
int errno_save = errno;
lib/libc/stdlib/nmalloc.c
1440
errno = errno_save;
lib/libc/stdlib/nmalloc.c
797
errno = ENOMEM;
lib/libc/stdlib/nmalloc.c
817
errno = ENOMEM;
lib/libc/stdlib/nmalloc.c
824
errno = ENOMEM;
lib/libc/stdlib/nmalloc.c
847
errno = ENOMEM;
lib/libc/stdlib/nmalloc.c
879
errno = rc;
lib/libc/stdlib/ptsname.c
110
errno = error;
lib/libc/stdlib/ptsname.c
67
if ((error) && (errno != EBADF))
lib/libc/stdlib/ptsname.c
68
errno = EINVAL;
lib/libc/stdlib/radixsort.c
81
errno = EINVAL; \
lib/libc/stdlib/reallocarray.c
34
errno = ENOMEM;
lib/libc/stdlib/realpath.c
113
errno = ENAMETOOLONG;
lib/libc/stdlib/realpath.c
130
errno = ENAMETOOLONG;
lib/libc/stdlib/realpath.c
142
errno = ENAMETOOLONG;
lib/libc/stdlib/realpath.c
174
errno = ENAMETOOLONG;
lib/libc/stdlib/realpath.c
186
errno = ELOOP;
lib/libc/stdlib/realpath.c
217
errno = ENAMETOOLONG;
lib/libc/stdlib/realpath.c
228
errno = ENAMETOOLONG;
lib/libc/stdlib/realpath.c
236
errno = ENOTDIR;
lib/libc/stdlib/realpath.c
61
errno = EINVAL;
lib/libc/stdlib/realpath.c
65
errno = ENOENT;
lib/libc/stdlib/recallocarray.c
41
errno = ENOMEM;
lib/libc/stdlib/recallocarray.c
48
errno = EINVAL;
lib/libc/stdlib/strfmon.c
391
errno = E2BIG;
lib/libc/stdlib/strfmon.c
395
errno = EINVAL;
lib/libc/stdlib/strfmon.c
398
sverrno = errno;
lib/libc/stdlib/strfmon.c
403
errno = sverrno;
lib/libc/stdlib/strsuftoll.c
126
errno = 0;
lib/libc/stdlib/strsuftoll.c
128
if (errno == ERANGE)
lib/libc/stdlib/strsuftoll.c
191
errno = ERANGE;
lib/libc/stdlib/strsuftoll.c
192
snprintf(ebuf, ebuflen, "%s: %s", desc, strerror(errno));
lib/libc/stdlib/strtonum.c
46
ev[0].err = errno;
lib/libc/stdlib/strtonum.c
47
errno = 0;
lib/libc/stdlib/strtonum.c
54
else if ((ll == LLONG_MIN && errno == ERANGE) || ll < minval)
lib/libc/stdlib/strtonum.c
56
else if ((ll == LLONG_MAX && errno == ERANGE) || ll > maxval)
lib/libc/stdlib/strtonum.c
61
errno = ev[error].err;
lib/libc/stdlib/system.c
86
} while (pid == -1 && errno == EINTR);
lib/libc/stdtime/asctime.c
115
errno = EOVERFLOW;
lib/libc/stdtime/asctime.c
90
errno = EINVAL;
lib/libc/stdtime/getdate.c
108
errno = 0;
lib/libc/stdtime/getdate.c
110
if (errno != 0 || ferror(fp)) {
lib/libc/stdtime/getdate.c
111
if (errno == ENOMEM)
lib/libc/stdtime/getdate.c
95
errno = 0;
lib/libc/stdtime/localtime.c
1365
errno = localtime_key_error;
lib/libc/stdtime/localtime.c
1445
errno = gmtime_key_error;
lib/libc/stdtime/localtime.c
1619
errno = EOVERFLOW;
lib/libc/stdtime/localtime.c
1945
errno = EINVAL;
lib/libc/stdtime/strptime.c
487
sverrno = errno;
lib/libc/stdtime/strptime.c
488
errno = 0;
lib/libc/stdtime/strptime.c
490
if (errno == ERANGE || (long)(t = n) != n) {
lib/libc/stdtime/strptime.c
491
errno = sverrno;
lib/libc/stdtime/strptime.c
494
errno = sverrno;
lib/libc/stdtime/timespec_get.c
47
errno = EINVAL;
lib/libc/string/strerror.c
114
errno = saved_errno;
lib/libc/string/strerror.c
132
errno = EINVAL;
lib/libc/string/strerror.c
142
errno = EINVAL;
lib/libc/string/strerror.c
86
int saved_errno = errno;
lib/libc/string/strsignal.c
146
errno = saved_errno;
lib/libc/string/strsignal.c
97
int saved_errno = errno;
lib/libc/string/wcscoll.c
119
errno = EINVAL;
lib/libc/string/wcscoll.c
132
errno = EINVAL;
lib/libc/string/wcscoll.c
160
errno = EINVAL;
lib/libc/string/wcscoll.c
173
errno = EINVAL;
lib/libc/sysvipc/msg.c
109
errno = EINVAL;
lib/libc/sysvipc/msg.c
138
errno = EINVAL;
lib/libc/sysvipc/msg.c
163
errno = EINVAL;
lib/libc/sysvipc/msg.c
179
errno = EINVAL;
lib/libc/sysvipc/msg.c
284
errno = EINVAL;
lib/libc/sysvipc/msg.c
303
errno = EINVAL; /* non-standard errno! */
lib/libc/sysvipc/msg.c
366
errno = EINVAL;
lib/libc/sysvipc/msg.c
393
errno = EINVAL;
lib/libc/sysvipc/msg.c
399
errno = EINVAL;
lib/libc/sysvipc/msg.c
405
errno = EIDRM;
lib/libc/sysvipc/msg.c
436
errno = EAGAIN;
lib/libc/sysvipc/msg.c
447
errno = EINTR;
lib/libc/sysvipc/msg.c
454
errno = EIDRM;
lib/libc/sysvipc/msg.c
459
errno = EIDRM;
lib/libc/sysvipc/msg.c
465
errno = EIDRM;
lib/libc/sysvipc/msg.c
535
errno = EINVAL;
lib/libc/sysvipc/msg.c
609
errno = EINVAL;
lib/libc/sysvipc/msg.c
615
errno = EINVAL;
lib/libc/sysvipc/msg.c
622
errno = EIDRM;
lib/libc/sysvipc/msg.c
639
errno = E2BIG;
lib/libc/sysvipc/msg.c
677
errno = E2BIG;
lib/libc/sysvipc/msg.c
710
errno = ENOMSG;
lib/libc/sysvipc/msg.c
728
errno = EINTR;
lib/libc/sysvipc/msg.c
731
sysv_print("msgrcv: good morning (error=%d)\n", errno);
lib/libc/sysvipc/msg.c
736
errno = EIDRM;
lib/libc/sysvipc/msg.c
741
errno = EIDRM;
lib/libc/sysvipc/msg.c
747
errno = EIDRM;
lib/libc/sysvipc/sem.c
141
errno = EINVAL;
lib/libc/sysvipc/sem.c
167
errno = EINVAL;
lib/libc/sysvipc/sem.c
188
errno = EINVAL;
lib/libc/sysvipc/sem.c
381
errno = EINVAL;
lib/libc/sysvipc/sem.c
394
errno = EINVAL;
lib/libc/sysvipc/sem.c
407
errno = EINVAL;
lib/libc/sysvipc/sem.c
435
errno = EINVAL;
lib/libc/sysvipc/sem.c
448
errno = EINVAL;
lib/libc/sysvipc/sem.c
483
errno = EINVAL;
lib/libc/sysvipc/sem.c
610
errno = EINVAL;
lib/libc/sysvipc/sem.c
620
errno = EIDRM;
lib/libc/sysvipc/sem.c
770
errno = EIDRM;
lib/libc/sysvipc/sem.c
775
errno = EIDRM;
lib/libc/sysvipc/sem.c
785
errno = EIDRM;
lib/libc/sysvipc/sem.c
96
errno = EINVAL;
lib/libc/sysvipc/shm.c
179
errno = -shmid;
lib/libc/sysvipc/shm.c
224
errno = EINVAL;
lib/libc/sysvipc/shm.c
231
errno = EINVAL;
lib/libc/sysvipc/shm.c
252
errno = EINVAL;
lib/libc/sysvipc/shm.c
265
errno = error;
lib/libc/sysvipc/shm.c
316
errno = EINVAL;
lib/libc/sysvipc/shm.c
340
errno = ret;
lib/libc/sysvipc/shm.c
362
errno = EINVAL;
lib/libc/sysvipc/shm.c
369
errno = EINVAL;
lib/libc/sysvipc/shm.c
435
errno = error;
lib/libc/sysvipc/shm.c
466
errno = EINVAL;
lib/libc/sysvipc/shm.c
472
errno = EINVAL;
lib/libc/sysvipc/shm.c
479
errno = EINVAL;
lib/libc/sysvipc/shm.c
509
errno = EACCES;
lib/libc/sysvipc/shm.c
531
errno = EINVAL;
lib/libc/sysvipc/shm.c
537
errno = EINVAL;
lib/libc/sysvipc/shm.c
543
errno = EINVAL;
lib/libc/sysvipc/shm.c
69
errno = EPERM;
lib/libc/sysvipc/sockets.c
148
result = errno;
lib/libc/sysvipc/sockets.c
232
errno = result;
lib/libc/sysvipc/sockets.c
307
} while (n < 0 && errno == EINTR);
lib/libc/sysvipc/sockets.c
89
} while (fd < 0 && errno == EINTR);
lib/libc/sysvipc/utils.c
66
getpid(), lwp_gettid(), errno, fmt);
lib/libc/yp/yplib.c
391
if (_flock(fd, LOCK_EX|LOCK_NB) == -1 && errno == EWOULDBLOCK) {
lib/libcam/camlib.c
342
func_name, strerror(errno));
lib/libcam/camlib.c
390
"%s: %s", func_name, func_name, strerror(errno));
lib/libcam/camlib.c
480
func_name, strerror(errno));
lib/libcam/camlib.c
505
if (errno == ENOENT) {
lib/libcam/camlib.c
513
"%s: %s%s", func_name, func_name, strerror(errno),
lib/libcam/camlib.c
514
(errno == ENOENT) ? tmpstr : "");
lib/libcam/camlib.c
562
strerror(errno));
lib/libcam/camlib.c
593
strerror(errno));
lib/libcam/camlib.c
619
"%s: %s", func_name, func_name, strerror(errno));
lib/libcam/camlib.c
645
"%s: %s", func_name, func_name, strerror(errno));
lib/libcam/camlib.c
659
"%s: %s", func_name, func_name, strerror(errno));
lib/libcam/camlib.c
682
"%s: %s", func_name, func_name, strerror(errno));
lib/libcompat/4.3/rexec.c
151
if (errno != ENOENT)
lib/libcompat/4.3/rexec.c
348
if (errno == ECONNREFUSED && timo <= 16) {
lib/libcompat/4.3/rexec.c
465
if (errno == ECONNREFUSED && timo <= 16) {
lib/libcompat/4.3/rexec.c
52
#define __set_errno(val) errno = (val)
lib/libcrypt/crypt-sha256.c
516
errno = ERANGE;
lib/libcrypt/crypt-sha512.c
559
errno = ERANGE;
lib/libcuse/cuse_lib.c
299
DPRINTF("Freeing memory failed: %d\n", errno);
lib/libcuse/cuse_lib.c
727
DPRINTF("cuse: copy_out() error = %d\n", errno);
lib/libcuse/cuse_lib.c
760
DPRINTF("cuse: copy_in() error = %d\n", errno);
lib/libdevinfo/devinfo.c
161
errno = error;
lib/libdevinfo/devinfo.c
214
if (errno == ENOENT) /* end of list */
lib/libdevinfo/devinfo.c
216
if (errno != EINVAL) /* gen count skip, restart */
lib/libdevinfo/devinfo.c
218
return(errno);
lib/libdevinfo/devinfo.c
299
if (errno == ENOENT) /* end of list */
lib/libdevinfo/devinfo.c
301
if (errno != EINVAL) /* gen count skip, restart */
lib/libdevinfo/devinfo.c
303
return(errno);
lib/libdevinfo/devinfo.c
329
if (errno == ENOENT) /* end of list */
lib/libdevinfo/devinfo.c
331
if (errno != EINVAL) /* gen count skip */
lib/libdevinfo/devinfo.c
334
return(errno);
lib/libdevstat/devstat.c
121
"%s: %s", func_name, func_name, strerror(errno));
lib/libdevstat/devstat.c
148
"%s: %s", func_name, func_name, strerror(errno));
lib/libdevstat/devstat.c
289
if (errno == ENOMEM) {
lib/libdevstat/devstat.c
306
strerror(errno));
lib/libdevstat/devstat.c
313
strerror(errno));
lib/libdevstat/devstat.c
93
"%s: %s", func_name, func_name, strerror(errno));
lib/libdmsg/msg.c
1380
save_errno = errno;
lib/libdmsg/msg.c
1404
save_errno = errno;
lib/libdmsg/msg.c
677
if (errno != EINTR &&
lib/libdmsg/msg.c
678
errno != EINPROGRESS &&
lib/libdmsg/msg.c
679
errno != EAGAIN) {
lib/libdmsg/msg.c
797
if (errno != EINTR &&
lib/libdmsg/msg.c
798
errno != EINPROGRESS &&
lib/libdmsg/msg.c
799
errno != EAGAIN) {
lib/libdmsg/msg.c
935
if (errno != EINTR &&
lib/libdmsg/msg.c
936
errno != EINPROGRESS &&
lib/libdmsg/msg.c
937
errno != EAGAIN) {
lib/libdmsg/subs.c
102
strerror(errno));
lib/libdmsg/subs.c
131
strerror(errno));
lib/libefivar/efivar-dp-xlate.c
195
rv = errno;
lib/libefivar/efivar-dp-xlate.c
202
rv = errno;
lib/libefivar/efivar-dp-xlate.c
599
rv = errno;
lib/libefivar/efivar-dp-xlate.c
604
rv = errno;
lib/libefivar/efivar.c
141
rv = -errno;
lib/libefivar/efivar.c
256
errno = ENOMEM;
lib/libefivar/efivar.c
279
if (rv != 0 && errno == ENOENT) {
lib/libefivar/efivar.c
280
errno = 0;
lib/libevtr/evtr.c
1314
evtr->err = errno;
lib/libevtr/evtr.c
1461
evtr->errmsg = strerror(errno);
lib/libevtr/evtr.c
1480
evtr->err = errno;
lib/libevtr/evtr.c
1490
evtr->err = errno;
lib/libevtr/evtr.c
1501
evtr->err = errno;
lib/libevtr/evtr.c
1581
evtr->err = errno;
lib/libevtr/evtr.c
1582
evtr->errmsg = strerror(errno);
lib/libevtr/evtr.c
1692
evtr->err = errno;
lib/libevtr/evtr.c
1693
evtr->errmsg = strerror(errno);
lib/libevtr/evtr.c
926
evtr->err = errno;
lib/libevtr/evtr.c
927
evtr->errmsg = strerror(errno);
lib/libevtr/ktrfmt.tab.c
1527
errno = 0;
lib/libevtr/ktrfmt.tab.c
1529
if (errno) {
lib/libevtr/ktrfmt.y
181
errno = 0;
lib/libevtr/ktrfmt.y
183
if (errno) {
lib/libevtr/ktrfmt.yy.c
1453
int oerrno = errno;
lib/libevtr/ktrfmt.yy.c
1471
errno = oerrno;
lib/libevtr/ktrfmt.yy.c
665
errno=0; \
lib/libevtr/ktrfmt.yy.c
668
if( errno != EINTR) \
lib/libevtr/ktrfmt.yy.c
673
errno=0; \
lib/libexecinfo/private_libelf.h
1040
LIBELF_SET_ERROR(RESOURCE, errno);
lib/libexecinfo/private_libelf.h
1169
LIBELF_SET_ERROR(RESOURCE, errno);
lib/libexecinfo/private_libelf.h
2818
LIBELF_SET_ERROR(IO, errno);
lib/libexecinfo/private_libelf.h
2863
LIBELF_SET_ERROR(IO, errno);
lib/libexecinfo/private_libelf.h
2940
LIBELF_SET_ERROR(IO, errno);
lib/libfetch/common.c
1325
if (errno == EAGAIN || (errno == EINTR && fetchRestartCalls))
lib/libfetch/common.c
1390
errno = ETIMEDOUT;
lib/libfetch/common.c
1398
errno = 0;
lib/libfetch/common.c
1401
if (errno == EINTR && fetchRestartCalls)
lib/libfetch/common.c
1426
errno = ENOMEM;
lib/libfetch/common.c
1446
errno = ENOMEM;
lib/libfetch/common.c
1498
errno = ETIMEDOUT;
lib/libfetch/common.c
1505
errno = 0;
lib/libfetch/common.c
1509
if (errno == EAGAIN)
lib/libfetch/common.c
1511
if (errno == EINTR && fetchRestartCalls)
lib/libfetch/common.c
1516
errno = 0;
lib/libfetch/common.c
1527
errno = EPIPE;
lib/libfetch/common.c
1532
if (errno == EINTR && fetchRestartCalls)
lib/libfetch/common.c
1624
errno = ENOMEM;
lib/libfetch/common.c
1681
serrno = errno;
lib/libfetch/common.c
1683
errno = serrno;
lib/libfetch/common.c
1703
serrno = errno;
lib/libfetch/common.c
1704
DEBUGF("fdopen(netrcfd): %s", strerror(errno));
lib/libfetch/common.c
1707
errno = serrno;
lib/libfetch/common.c
171
switch (errno) {
lib/libfetch/common.c
1755
serrno = errno;
lib/libfetch/common.c
1758
errno = serrno;
lib/libfetch/common.c
221
snprintf(fetchLastErrString, MAXERRSTRING, "%s", strerror(errno));
lib/libfetch/common.c
324
errno = EINVAL;
lib/libfetch/common.c
341
errno = ENAMETOOLONG;
lib/libfetch/common.c
352
errno = EINVAL;
lib/libfetch/common.c
572
errno = 0;
lib/libfetch/common.c
574
if (*endptr != '\0' || errno != 0 || *port < 0 ||
lib/libfetch/ftp.c
193
errno = ENOMEM;
lib/libfetch/ftp.c
502
errno = EBADF;
lib/libfetch/ftp.c
506
errno = EBADF;
lib/libfetch/ftp.c
510
errno = io->err;
lib/libfetch/ftp.c
522
if (errno != EINTR)
lib/libfetch/ftp.c
523
io->err = errno;
lib/libfetch/ftp.c
535
errno = EBADF;
lib/libfetch/ftp.c
539
errno = EBADF;
lib/libfetch/ftp.c
543
errno = io->err;
lib/libfetch/ftp.c
549
if (errno != EINTR)
lib/libfetch/ftp.c
550
io->err = errno;
lib/libfetch/ftp.c
561
errno = EBADF;
lib/libfetch/ftp.c
564
errno = ESPIPE;
lib/libfetch/ftp.c
576
errno = EBADF;
lib/libfetch/ftp.c
582
errno = EBADF;
lib/libfetch/http.c
1440
errno = EAUTH;
lib/libfetch/http.c
1451
serrno = errno;
lib/libfetch/http.c
1454
errno = serrno;
lib/libfetch/http.c
227
io->error = errno;
lib/libfetch/http.c
253
io->error = errno;
lib/libfetch/http.c
286
if ((errno = io->error) == EINTR)
lib/libfetch/http.c
404
errno = ENOMEM;
lib/libftpio/ftpio.c
217
errno = 0; /* to check for ERANGE */
lib/libftpio/ftpio.c
219
if (*ep != '\0' || errno == ERANGE)
lib/libftpio/ftpio.c
779
ftp->error = errno;
lib/libftpio/ftpio.c
820
ftp->error = errno;
lib/libhammer/snapshot.c
82
pip->head.error = errno;
lib/libhammer/snapshot.c
97
pip->head.error = errno;
lib/libkcore/kcore.c
109
errno = EOPNOTSUPP;
lib/libkcore/kcore.c
115
errno = EINVAL;
lib/libkiconv/kiconv_sysctl.c
44
return (errno);
lib/libkiconv/kiconv_sysctl.c
53
return (errno);
lib/libkiconv/kiconv_sysctl.c
71
return (errno);
lib/libkiconv/kiconv_sysctl.c
78
return (errno);
lib/libkiconv/xlat16_iconv.c
102
errno = E2BIG;
lib/libkiconv/xlat16_iconv.c
427
errno = EINVAL;
lib/libkiconv/xlat16_iconv.c
434
errno = EINVAL;
lib/libkiconv/xlat16_sysctl.c
67
return (errno);
lib/libkinfo/kinfo_net.c
65
error = errno;
lib/libkinfo/kinfo_sched.c
68
error = errno;
lib/libkvm/kvm.c
112
(void)fprintf(stderr, ": %s\n", strerror(errno));
lib/libkvm/kvm.c
119
strerror(errno));
lib/libkvm/kvm.c
131
n, strerror(errno));
lib/libkvm/kvm.c
234
errno = EINVAL;
lib/libkvm/kvm.c
266
(void)strlcpy(errout, strerror(errno), _POSIX2_LINE_MAX);
lib/libkvm/kvm.c
283
errstr, strerror(errno));
lib/libkvm/kvm.c
372
errno = 0;
lib/libkvm/kvm.c
373
if (lseek(kd->vmfd, (off_t)kva, 0) == -1 && errno != 0) {
lib/libkvm/kvm.c
403
errno = 0;
lib/libkvm/kvm.c
404
if (lseek(kd->pmfd, pa, 0) == -1 && errno != 0) {
lib/libkvm/kvm.c
454
errno = 0;
lib/libkvm/kvm.c
455
if (lseek(kd->vmfd, (off_t)kva, 0) == -1 && errno != 0) {
lib/libkvm/kvm.c
494
errno = 0;
lib/libkvm/kvm.c
495
if (lseek(kd->pmfd, (off_t)pa, 0) == -1 && errno != 0) {
lib/libkvm/kvm.c
537
errno = 0;
lib/libkvm/kvm.c
538
if (lseek(kd->vmfd, (off_t)kva, 0) == -1 && errno != 0) {
lib/libkvm/kvm_proc.c
494
} while (st == -1 && errno == ENOMEM);
lib/libkvm/kvm_proc.c
936
errno = 0;
lib/libkvm/kvm_proc.c
937
if (lseek(fd, (off_t)uva, 0) == -1 && errno != 0) {
lib/libnetgraph/debug.c
250
NGLOGX(" [error decoding message: %s]", strerror(errno));
lib/libnetgraph/msg.c
191
errnosv = errno;
lib/libnetgraph/msg.c
220
errnosv = errno;
lib/libnetgraph/msg.c
230
errno = errnosv;
lib/libnetgraph/msg.c
251
errnosv = errno;
lib/libnetgraph/msg.c
271
errno = errnosv;
lib/libnetgraph/msg.c
306
errno = ERANGE;
lib/libnetgraph/msg.c
308
errnosv = errno;
lib/libnetgraph/msg.c
310
errno = errnosv;
lib/libnetgraph/sock.c
104
errnosv = errno;
lib/libnetgraph/sock.c
120
errnosv = errno;
lib/libnetgraph/sock.c
126
errnosv = errno;
lib/libnetgraph/sock.c
143
errnosv = errno;
lib/libnetgraph/sock.c
154
errnosv = errno;
lib/libnetgraph/sock.c
176
errno = errnosv;
lib/libnetgraph/sock.c
222
errnosv = errno;
lib/libnetgraph/sock.c
225
errno = errnosv;
lib/libnetgraph/sock.c
272
errnosv = errno;
lib/libnetgraph/sock.c
275
errno = errnosv;
lib/libnetgraph/sock.c
76
if (errno == EPROTONOSUPPORT) {
lib/libnetgraph/sock.c
78
errnosv = errno;
lib/libnetgraph/sock.c
87
errnosv = errno;
lib/libnetgraph7/debug.c
278
NGLOGX(" [error decoding message: %s]", strerror(errno));
lib/libnetgraph7/msg.c
198
errnosv = errno;
lib/libnetgraph7/msg.c
228
errnosv = errno;
lib/libnetgraph7/msg.c
245
errnosv = errno;
lib/libnetgraph7/msg.c
255
errno = errnosv;
lib/libnetgraph7/msg.c
276
errnosv = errno;
lib/libnetgraph7/msg.c
296
errno = errnosv;
lib/libnetgraph7/msg.c
349
errno = ERANGE;
lib/libnetgraph7/msg.c
351
errnosv = errno;
lib/libnetgraph7/msg.c
353
errno = errnosv;
lib/libnetgraph7/sock.c
104
errnosv = errno;
lib/libnetgraph7/sock.c
120
errnosv = errno;
lib/libnetgraph7/sock.c
126
errnosv = errno;
lib/libnetgraph7/sock.c
143
errnosv = errno;
lib/libnetgraph7/sock.c
154
errnosv = errno;
lib/libnetgraph7/sock.c
176
errno = errnosv;
lib/libnetgraph7/sock.c
222
errnosv = errno;
lib/libnetgraph7/sock.c
225
errno = errnosv;
lib/libnetgraph7/sock.c
290
errnosv = errno;
lib/libnetgraph7/sock.c
293
errno = errnosv;
lib/libnetgraph7/sock.c
76
if (errno == EPROTONOSUPPORT) {
lib/libnetgraph7/sock.c
78
errnosv = errno;
lib/libnetgraph7/sock.c
87
errnosv = 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
543
errno = ENOENT;
lib/libnvmm/libnvmm_x86.c
3344
errno = EINVAL;
lib/libnvmm/libnvmm_x86.c
3367
errno = ENODEV;
lib/libnvmm/libnvmm_x86.c
3385
errno = ENODEV;
lib/libnvmm/libnvmm_x86.c
451
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
478
errno = EINVAL; \
lib/libnvmm/libnvmm_x86.c
533
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
598
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
622
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
655
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
679
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
750
errno = EINVAL;
lib/libpam/modules/pam_exec/pam_exec.c
222
childerr = errno;
lib/libpam/modules/pam_exec/pam_exec.c
231
if (errno == EINTR)
lib/libpam/modules/pam_login_access/login_access.c
98
} else if (errno != ENOENT) {
lib/libposix1e/acl_from_text.c
129
errno = ENOMEM;
lib/libposix1e/acl_from_text.c
136
errno = ENOMEM;
lib/libposix1e/acl_from_text.c
153
errno = EINVAL;
lib/libposix1e/acl_from_text.c
169
errno = EINVAL;
lib/libposix1e/acl_from_text.c
178
errno = EINVAL;
lib/libposix1e/acl_from_text.c
189
errno = EINVAL;
lib/libposix1e/acl_from_text.c
195
errno = EINVAL;
lib/libposix1e/acl_from_text.c
205
errno = EINVAL;
lib/libposix1e/acl_from_text.c
219
errno = EINVAL;
lib/libposix1e/acl_from_text.c
233
errno = EINVAL;
lib/libposix1e/acl_init.c
46
errno = ENOMEM;
lib/libposix1e/acl_set.c
53
errno = error;
lib/libposix1e/acl_set.c
68
errno = error;
lib/libposix1e/acl_set.c
83
errno = error;
lib/libposix1e/acl_support.c
255
errno = ENOMEM;
lib/libposix1e/acl_support.c
268
errno = ENOMEM;
lib/libposix1e/acl_support.c
298
errno = EINVAL;
lib/libposix1e/acl_support.c
307
errno = EINVAL;
lib/libposix1e/acl_support.c
328
errno = ENOMEM;
lib/libposix1e/acl_support.c
333
errno = EINVAL;
lib/libposix1e/acl_support.c
399
errno = ENOMEM;
lib/libposix1e/acl_to_text.c
116
errno = ENOMEM;
lib/libposix1e/acl_to_text.c
144
errno = ENOMEM;
lib/libposix1e/acl_to_text.c
177
errno = ENOMEM;
lib/libposix1e/acl_to_text.c
193
errno = ENOMEM;
lib/libposix1e/acl_to_text.c
209
errno = ENOMEM;
lib/libposix1e/acl_to_text.c
218
errno = EINVAL;
lib/libposix1e/acl_to_text.c
82
errno = ENOMEM;
lib/libposix1e/acl_valid.c
59
errno = error;
lib/libposix1e/acl_valid.c
75
errno = error;
lib/libposix1e/acl_valid.c
92
errno = error;
lib/librt/aio.c
110
ap->_aio_err = errno;
lib/librt/aio.c
130
ap->_aio_err = errno;
lib/librt/aio.c
147
ap->_aio_err = errno;
lib/librt/aio.c
223
errno = EBADF;
lib/libsdp/search.c
172
} while (len < 0 && errno == EINTR);
lib/libsdp/search.c
175
ss->error = errno;
lib/libsdp/search.c
187
} while (len < 0 && errno == EINTR);
lib/libsdp/search.c
190
ss->error = errno;
lib/libsdp/service.c
119
} while (len < 0 && errno == EINTR);
lib/libsdp/service.c
122
ss->error = errno;
lib/libsdp/service.c
179
} while (len < 0 && errno == EINTR);
lib/libsdp/service.c
182
ss->error = errno;
lib/libsdp/service.c
226
} while (len < 0 && errno == EINTR);
lib/libsdp/service.c
229
ss->error = errno;
lib/libsdp/service.c
245
} while (len < 0 && errno == EINTR);
lib/libsdp/service.c
248
ss->error = errno;
lib/libsdp/session.c
102
ss->error = errno;
lib/libsdp/session.c
111
ss->error = errno;
lib/libsdp/session.c
118
ss->error = errno;
lib/libsdp/session.c
124
ss->error = errno;
lib/libsdp/session.c
135
ss->error = errno;
lib/libsdp/session.c
159
ss->error = errno;
lib/libsdp/session.c
171
ss->error = errno;
lib/libsdp/session.c
94
ss->error = errno;
lib/libssh/openbsd-compat/bsd-misc.c
142
errno = ENOSYS;
lib/libssh/openbsd-compat/bsd-misc.c
173
errno = ENOSYS;
lib/libssh/openbsd-compat/bsd-misc.c
204
errno = ENOSYS;
lib/libssh/openbsd-compat/bsd-misc.c
233
saverrno = errno;
lib/libssh/openbsd-compat/bsd-misc.c
236
errno = saverrno;
lib/libssh/openbsd-compat/bsd-misc.c
246
extern int errno;
lib/libssh/openbsd-compat/bsd-misc.c
253
saverrno = errno;
lib/libssh/openbsd-compat/bsd-misc.c
255
errno = saverrno;
lib/libssh/openbsd-compat/bsd-misc.c
352
errno = ESRCH;
lib/libssh/openbsd-compat/bsd-misc.c
373
errno = EOPNOTSUPP;
lib/libssh/openbsd-compat/bsd-misc.c
410
errno = ENOSYS;
lib/libssh/openbsd-compat/fmt_scaled.c
115
errno = EINVAL;
lib/libssh/openbsd-compat/fmt_scaled.c
129
errno = ERANGE;
lib/libssh/openbsd-compat/fmt_scaled.c
134
errno = ERANGE;
lib/libssh/openbsd-compat/fmt_scaled.c
140
errno = ERANGE;
lib/libssh/openbsd-compat/fmt_scaled.c
144
errno = ERANGE;
lib/libssh/openbsd-compat/fmt_scaled.c
149
errno = ERANGE;
lib/libssh/openbsd-compat/fmt_scaled.c
174
errno = EINVAL;
lib/libssh/openbsd-compat/fmt_scaled.c
182
errno = ERANGE;
lib/libssh/openbsd-compat/fmt_scaled.c
212
errno = EINVAL;
lib/libssh/openbsd-compat/fmt_scaled.c
229
errno = ERANGE;
lib/libssh/openbsd-compat/fmt_scaled.c
237
errno = ERANGE;
lib/libssh/openbsd-compat/fmt_scaled.c
303
fprintf(stderr, "%lld invalid (%s)\n", ninput, strerror(errno));
lib/libssh/openbsd-compat/fmt_scaled.c
91
errno = EINVAL;
lib/libssh/openbsd-compat/fmt_scaled.c
98
errno = EINVAL;
lib/libssh/openbsd-compat/glob.c
649
errno = 0;
lib/libssh/openbsd-compat/glob.c
720
errno = 0;
lib/libssh/openbsd-compat/glob.c
727
if (pglob->gl_errfunc(buf, errno) ||
lib/libssh/openbsd-compat/glob.c
747
errno = 0;
lib/libssh/openbsd-compat/glob.c
858
errno = 0;
lib/libssh/openbsd-compat/glob.c
886
errno = 0;
lib/libssh/openbsd-compat/port-net.c
154
__func__, TUN_CTRL_DEV, strerror(errno));
lib/libssh/openbsd-compat/port-net.c
172
tun, strerror(errno));
lib/libssh/openbsd-compat/port-net.c
180
mode, strerror(errno));
lib/libssh/openbsd-compat/port-net.c
249
strerror(errno));
lib/libssh/openbsd-compat/port-net.c
259
strerror(errno));
lib/libssh/openbsd-compat/port-net.c
291
mode, strerror(errno));
lib/libssh/openbsd-compat/port-net.c
58
__func__, fd, strerror(errno));
lib/libssh/openbsd-compat/port-net.c
71
__func__, fd, name, strerror(errno));
lib/libstdbuf/stdbuf.c
73
errno = 0;
lib/libstdbuf/stdbuf.c
75
if (errno == EINVAL || errno == ERANGE || unit == bufmode)
lib/libtcplay/humanize.c
122
errno = EINVAL;
lib/libtcplay/humanize.c
132
errno = EINVAL;
lib/libtcplay/humanize.c
141
errno = EINVAL;
lib/libtcplay/humanize.c
159
errno = ERANGE;
lib/libtcplay/humanize.c
65
errno = ENOMEM;
lib/libtcplay/humanize.c
81
errno = EINVAL;
lib/libtcplay/io.c
140
fd, strerror(errno));
lib/libtcplay/io.c
405
errno = 0;
lib/libtcplay/tcplay_api.c
114
errno = EFAULT;
lib/libtcplay/tcplay_api.c
147
errno = ENOMEM;
lib/libtcplay/tcplay_api.c
152
errno = ENOMEM;
lib/libtcplay/tcplay_api.c
171
errno = EINVAL;
lib/libtcplay/tcplay_api.c
202
errno = ENOMEM; \
lib/libtcplay/tcplay_api.c
228
errno = EFAULT;
lib/libtcplay/tcplay_api.c
370
errno = ENOENT;
lib/libtcplay/tcplay_api.c
381
errno = ENOENT;
lib/libtcplay/tcplay_api.c
392
errno = ENOENT;
lib/libtcplay/tcplay_api.c
403
errno = ENOENT;
lib/libtcplay/tcplay_api.c
414
errno = ENOENT;
lib/libtcplay/tcplay_api.c
640
errno = EFAULT;
lib/libtcplay/tcplay_api.c
651
errno = EINVAL;
lib/libtcplay/tcplay_api.c
659
errno = EINVAL;
lib/libtcplay/tcplay_api.c
667
errno = EINVAL;
lib/libtcplay/tcplay_api.c
675
errno = EINVAL;
lib/libtcplay/tcplay_api.c
685
errno = EINVAL;
lib/libtcplay/tcplay_api.c
695
errno = EINVAL;
lib/libtcplay/tcplay_api.c
703
errno = EINVAL;
lib/libtcplay/tcplay_api.c
729
errno = EFAULT;
lib/libtcplay/tcplay_api.c
736
errno = EINVAL;
lib/libtcplay/tcplay_api.c
759
errno = EFAULT;
lib/libtcplay/tcplay_api.c
767
errno = EFAULT;
lib/libtcplay/tcplay_api.c
778
errno = EFAULT;
lib/libtcplay/tcplay_api.c
789
errno = EFAULT;
lib/libtcplay/tcplay_api.c
92
errno = EFAULT;
lib/libthread_xu/thread/thr_affinity.c
103
ret = errno;
lib/libthread_xu/thread/thr_affinity.c
51
ret = errno;
lib/libthread_xu/thread/thr_affinity.c
59
ret = errno;
lib/libthread_xu/thread/thr_affinity.c
95
ret = errno;
lib/libthread_xu/thread/thr_attr.c
112
return (errno);
lib/libthread_xu/thread/thr_attr.c
339
return (errno);
lib/libthread_xu/thread/thr_exit.c
62
lineno, fname, errno);
lib/libthread_xu/thread/thr_fork.c
179
errsave = errno;
lib/libthread_xu/thread/thr_fork.c
282
errsave = errno;
lib/libthread_xu/thread/thr_fork.c
311
errno = errsave;
lib/libthread_xu/thread/thr_getcpuclockid.c
44
return (errno);
lib/libthread_xu/thread/thr_getprio.c
48
errno = ret;
lib/libthread_xu/thread/thr_info.c
101
result = errno = EINVAL;
lib/libthread_xu/thread/thr_info.c
54
result = errno;
lib/libthread_xu/thread/thr_info.c
60
result = errno;
lib/libthread_xu/thread/thr_info.c
88
result = errno;
lib/libthread_xu/thread/thr_info.c
94
result = errno;
lib/libthread_xu/thread/thr_kern.c
133
int tmp = errno;
lib/libthread_xu/thread/thr_kern.c
135
errno = 0;
lib/libthread_xu/thread/thr_kern.c
138
(errno != 0))
lib/libthread_xu/thread/thr_kern.c
141
(errno != 0))
lib/libthread_xu/thread/thr_kern.c
143
errno = tmp;
lib/libthread_xu/thread/thr_kern.c
148
errno = ENOTSUP;
lib/libthread_xu/thread/thr_mutexattr.c
65
errno = EINVAL;
lib/libthread_xu/thread/thr_mutexattr.c
80
errno = EINVAL;
lib/libthread_xu/thread/thr_mutexattr.c
94
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
176
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
188
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
211
errno = ENOSPC;
lib/libthread_xu/thread/thr_sem.c
227
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
241
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
255
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
265
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
279
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
291
errno = EAGAIN;
lib/libthread_xu/thread/thr_sem.c
303
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
332
errno = retval;
lib/libthread_xu/thread/thr_sem.c
368
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
383
errno = retval;
lib/libthread_xu/thread/thr_sem.c
470
errno = ENOSPC;
lib/libthread_xu/thread/thr_sem.c
533
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
541
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
549
errno = error;
lib/libthread_xu/thread/thr_sem.c
560
errno = EEXIST;
lib/libthread_xu/thread/thr_sem.c
567
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
581
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
584
} else if ((oflag & O_CREAT) && errno == ENOENT) {
lib/libthread_xu/thread/thr_sem.c
594
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
602
errno = ENAMETOOLONG;
lib/libthread_xu/thread/thr_sem.c
610
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
617
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
624
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
632
switch (errno) {
lib/libthread_xu/thread/thr_sem.c
637
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
641
errno = ENOSPC;
lib/libthread_xu/thread/thr_sem.c
644
errno = EACCES;
lib/libthread_xu/thread/thr_sem.c
653
if (errno != EACCES && errno != EMFILE)
lib/libthread_xu/thread/thr_sem.c
654
errno = ENOMEM;
lib/libthread_xu/thread/thr_sem.c
674
if (errno == EEXIST && (oflag & O_EXCL) == 0) {
lib/libthread_xu/thread/thr_sem.c
686
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
710
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
716
errno = EINVAL;
lib/libthread_xu/thread/thr_sem.c
733
errno = error;
lib/libthread_xu/thread/thr_sem.c
740
if (errno != ENAMETOOLONG && errno != ENOENT)
lib/libthread_xu/thread/thr_sem.c
741
errno = EACCES;
lib/libthread_xu/thread/thr_setschedparam.c
64
ret = errno;
lib/libthread_xu/thread/thr_setschedparam.c
85
ret = errno;
lib/libthread_xu/thread/thr_sig.c
158
errno = EINVAL;
lib/libthread_xu/thread/thr_sig.c
189
return (errno);
lib/libthread_xu/thread/thr_sig.c
278
return (errno);
lib/libu4bhid/descr.c
146
errno = ENOMEM;
lib/libusb/libusb10_io.c
143
if ((err == -1) && (errno == EINTR))
lib/libusb/libusb20_ugen20.c
1003
if (errno == EINVAL) {
lib/libusb/libusb20_ugen20.c
1029
if (errno == ENOMEM) {
lib/libusb/libusb20_ugen20.c
1053
if (errno == EINVAL) {
lib/libusb/libusb20_ugen20.c
740
if (errno == EBUSY) {
lib/libusb/libusb20_ugen20.c
924
if (errno == EPERM) {
lib/libusb/libusb20_ugen20.c
976
if (errno == EINVAL) {
lib/libutil/_secure_path.c
52
if (errno == ENOENT) /* special case */
lib/libutil/dehumanize_number.c
100
errno = 0;
lib/libutil/dehumanize_number.c
104
else if (errno == ERANGE && (tmp == LLONG_MAX || tmp == LLONG_MIN))
lib/libutil/dehumanize_number.c
110
errno = ERANGE;
lib/libutil/dehumanize_number.c
61
errno = EINVAL;
lib/libutil/dehumanize_number.c
92
errno = EINVAL;
lib/libutil/efun.c
62
errno = ENAMETOOLONG;
lib/libutil/efun.c
75
errno = ENAMETOOLONG;
lib/libutil/flopen.c
71
serrno = errno;
lib/libutil/flopen.c
73
errno = serrno;
lib/libutil/flopen.c
83
serrno = errno;
lib/libutil/flopen.c
85
errno = serrno;
lib/libutil/flopen.c
96
serrno = errno;
lib/libutil/flopen.c
98
errno = serrno;
lib/libutil/getmntopts.c
124
errx(EX_USAGE, "%s: %s", resolved, strerror(errno));
lib/libutil/gr_util.c
105
if (errno == EWOULDBLOCK) {
lib/libutil/gr_util.c
140
errno = ENAMETOOLONG;
lib/libutil/gr_util.c
196
errno = EINVAL; /* hack */
lib/libutil/gr_util.c
257
errno = EINVAL; /* hack */
lib/libutil/gr_util.c
290
errno = ENOENT;
lib/libutil/gr_util.c
330
serrno = errno;
lib/libutil/gr_util.c
337
errno = serrno;
lib/libutil/gr_util.c
65
errno = ENAMETOOLONG;
lib/libutil/gr_util.c
76
errno = ENAMETOOLONG;
lib/libutil/gr_util.c
81
errno = ENAMETOOLONG;
lib/libutil/login_cap.c
480
errno = ERANGE;
lib/libutil/login_cap.c
506
errno = ERANGE;
lib/libutil/login_cap.c
516
errno = ERANGE;
lib/libutil/login_cap.c
540
errno = 0;
lib/libutil/login_cap.c
553
errno = ERANGE;
lib/libutil/login_cap.c
566
errno = 0;
lib/libutil/login_cap.c
573
if (ep == NULL || ep == res || errno != 0) {
lib/libutil/login_cap.c
577
errno = ERANGE;
lib/libutil/login_cap.c
607
if (errno)
lib/libutil/login_cap.c
647
errno = ERANGE;
lib/libutil/login_cap.c
654
errno = 0;
lib/libutil/login_cap.c
656
if (ep == NULL || ep == res || errno != 0) {
lib/libutil/login_cap.c
659
errno = ERANGE;
lib/libutil/login_cap.c
689
errno = ERANGE;
lib/libutil/login_cap.c
696
errno = 0;
lib/libutil/login_cap.c
703
if (ep == NULL || ep == res || errno != 0) {
lib/libutil/login_cap.c
707
errno = ERANGE;
lib/libutil/login_cap.c
734
if (errno)
lib/libutil/pidfile.c
114
errno = ENAMETOOLONG;
lib/libutil/pidfile.c
127
if (errno == EWOULDBLOCK) {
lib/libutil/pidfile.c
129
errno = EEXIST;
lib/libutil/pidfile.c
135
errno = pidfile_read(pfh->pf_path,
lib/libutil/pidfile.c
137
if (errno != EAGAIN || --count == 0)
lib/libutil/pidfile.c
141
if (errno == EAGAIN)
lib/libutil/pidfile.c
143
if (errno == 0 || errno == EAGAIN)
lib/libutil/pidfile.c
144
errno = EEXIST;
lib/libutil/pidfile.c
156
error = errno;
lib/libutil/pidfile.c
160
errno = error;
lib/libutil/pidfile.c
181
errno = pidfile_verify(pfh);
lib/libutil/pidfile.c
182
if (errno != 0) {
lib/libutil/pidfile.c
194
error = errno;
lib/libutil/pidfile.c
196
errno = error;
lib/libutil/pidfile.c
202
error = errno;
lib/libutil/pidfile.c
204
errno = error;
lib/libutil/pidfile.c
218
errno = error;
lib/libutil/pidfile.c
223
error = errno;
lib/libutil/pidfile.c
226
errno = error;
lib/libutil/pidfile.c
239
errno = error;
lib/libutil/pidfile.c
244
error = errno;
lib/libutil/pidfile.c
247
error = errno;
lib/libutil/pidfile.c
254
errno = error;
lib/libutil/pidfile.c
272
errno = EDOOFUS;
lib/libutil/pidfile.c
62
return (errno);
lib/libutil/pidfile.c
76
return (errno);
lib/libutil/pidfile.c
79
error = errno; /* Remember errno in case close() wants to change it. */
lib/libutil/pw_util.c
109
errno = ENAMETOOLONG;
lib/libutil/pw_util.c
114
errno = ENAMETOOLONG;
lib/libutil/pw_util.c
178
if (errno == EWOULDBLOCK) {
lib/libutil/pw_util.c
220
errno = ENAMETOOLONG;
lib/libutil/pw_util.c
271
errno = 0;
lib/libutil/pw_util.c
311
errno = 0;
lib/libutil/pw_util.c
313
_exit(errno);
lib/libutil/pw_util.c
320
if (errno == EINTR)
lib/libutil/pw_util.c
356
serrno = errno;
lib/libutil/pw_util.c
369
errno = serrno;
lib/libutil/pw_util.c
462
errno = EINVAL; /* hack */
lib/libutil/pw_util.c
524
errno = EINVAL; /* hack */
lib/libutil/pw_util.c
557
errno = ENOENT;
lib/libutil/pw_util.c
98
errno = ENAMETOOLONG;
lib/libutil/snprintb.c
258
errno = EINVAL;
lib/libutil/sockaddr_snprintf.c
164
errno = EAFNOSUPPORT;
lib/libutil/uucplock.c
122
errno = err;
lib/libutil/uucplock.c
193
(void)snprintf(errbuf, sizeof(errbuf), fmt, strerror(errno));
lib/libutil/uucplock.c
220
*err = bytes_read ? errno : EINVAL;
lib/libutil/uucplock.c
52
#define GORET(level, val) { err = errno; uuerr = (val); \
lib/libutil/uucplock.c
83
if (errno != EEXIST)
lib/libutil/uucplock.c
98
if (kill(pid_old, 0) == 0 || errno != ESRCH)
lib/libypclnt/ypclnt_connect.c
58
"%s", strerror(errno));
lib/libypclnt/ypclnt_passwd.c
161
ypclnt_error(ypclnt, __func__, "%s", strerror(errno));
lib/libypclnt/ypclnt_passwd.c
254
ypclnt_error(ypclnt, __func__, "%s", strerror(errno));
libexec/bootpd/bootpd.c
229
errno = 0;
libexec/bootpd/bootpd.c
515
if (errno != EINTR) {
libexec/bootpd/bootpgw/bootpgw.c
199
errno = 0;
libexec/bootpd/bootpgw/bootpgw.c
445
if (errno != EINTR) {
libexec/bootpd/report.c
123
return strerror(errno);
libexec/bootpd/rtmsg.c
143
report(LOG_WARNING, "rtmget: %s", strerror(errno));
libexec/bootpd/rtmsg.c
193
errno = 0;
libexec/bootpd/rtmsg.c
235
if ((errno != ESRCH) && !(errno == EEXIST && cmd == RTM_ADD)){
libexec/bootpd/rtmsg.c
237
strerror(errno));
libexec/bootpd/rtmsg.c
246
strerror(errno));
libexec/bootpd/rtmsg.c
87
report(LOG_ERR, "socket %s", strerror(errno));
libexec/bootpd/tools/bootptest/bootptest.c
297
if (errno == EACCES)
libexec/comsat/comsat.c
182
dsyslog(LOG_ERR, "%s: %s", tty, strerror(errno));
libexec/comsat/comsat.c
95
if (errno != EINTR)
libexec/comsat/comsat.c
97
errno = 0;
libexec/dma/conf.c
160
if (errno == ENOENT)
libexec/dma/dma-mbox-create.c
113
errno = 0;
libexec/dma/dma-mbox-create.c
122
errno = 0;
libexec/dma/dma-mbox-create.c
128
errno = 0;
libexec/dma/dma-mbox-create.c
60
int oerrno = errno;
libexec/dma/dma-mbox-create.c
71
errno = oerrno;
libexec/dma/dma-mbox-create.c
73
syslog(LOG_ERR, errno ? "%s: %m" : "%s", outs);
libexec/dma/dma-mbox-create.c
75
syslog(LOG_ERR, errno ? "%m" : "unknown error");
libexec/dma/dma-mbox-create.c
97
errno = 0;
libexec/dma/dma.c
131
errno = EINVAL;
libexec/dma/dma.c
147
if (errno == ENOENT)
libexec/dma/dma.c
442
errno = 0;
libexec/dma/dma.c
445
if (errno == 0)
libexec/dma/dns.c
177
errno = ENOENT;
libexec/dma/local.c
155
int e = errno;
libexec/dma/local.c
93
e = errno;
libexec/dma/net.c
159
strlcpy(neterr, strerror(errno), sizeof(neterr));
libexec/dma/net.c
473
snprintf(errmsg, sizeof(errmsg), "can not seek: %s", strerror(errno));
libexec/dma/spool.c
207
errno = EINVAL;
libexec/dma/spool.c
318
errno = EINVAL;
libexec/dma/spool.c
381
if (errno == EWOULDBLOCK)
libexec/dma/util.c
162
int oerrno = errno;
libexec/dma/util.c
173
errno = oerrno;
libexec/dma/util.c
318
save_errno = errno;
libexec/dma/util.c
320
errno = save_errno;
libexec/fingerd/fingerd.c
104
logerr("getpeername: %s", strerror(errno));
libexec/fingerd/fingerd.c
119
logerr("malloc: %s", strerror(errno));
libexec/fingerd/fingerd.c
124
logerr("strdup: %s", strerror(errno));
libexec/fingerd/fingerd.c
165
logerr("pipe: %s", strerror(errno));
libexec/fingerd/fingerd.c
183
logerr("fork: %s", strerror(errno));
libexec/fingerd/fingerd.c
187
logerr("fdopen: %s", strerror(errno));
libexec/ftpd/ftpd.c
1636
if (errno != 0) {
libexec/ftpd/ftpd.c
1827
if (errno != EADDRINUSE || tries > 10)
libexec/ftpd/ftpd.c
1852
t = errno;
libexec/ftpd/ftpd.c
1855
errno = t;
libexec/ftpd/ftpd.c
1947
hostbuf, portbuf, strerror(errno));
libexec/ftpd/ftpd.c
1955
conerrno = errno;
libexec/ftpd/ftpd.c
2085
if (errno != EINTR &&
libexec/ftpd/ftpd.c
2727
oerrno = errno;
libexec/ftpd/ftpd.c
2731
errno = oerrno;
libexec/ftpd/ftpd.c
3072
if (errno != EEXIST) {
libexec/ftpd/ftpd.c
3088
reply(code, "%s: %s.", string, strerror(errno));
libexec/ftpd/ftpd.c
3119
errno = ENOENT;
libexec/ftpd/ftpd.c
3271
strcpy(wd, strerror(errno));
libexec/ftpd/ftpd.c
3349
syslog(LOG_ERR, "%s", strerror(errno));
libexec/ftpd/ftpd.c
406
if (errno == EEXIST) {
libexec/ftpd/ftpd.c
459
if (nfds < 0 && errno != EINTR)
libexec/ftpd/popen.c
183
while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR)
libexec/ftpd/site_md5.c
75
saved_errno = errno;
libexec/ftpd/site_md5.c
77
errno = saved_errno;
libexec/getty/main.c
417
saved_errno = errno;
libexec/makekey/makekey.c
69
errno = EFTYPE;
libexec/pppoed/pppoed.c
139
if (errno == ENOENT)
libexec/pppoed/pppoed.c
144
epath, strerror(errno));
libexec/pppoed/pppoed.c
209
epath, strerror(errno));
libexec/pppoed/pppoed.c
247
spath, strerror(errno));
libexec/pppoed/pppoed.c
278
_exit(errno);
libexec/pppoed/pppoed.c
453
errno = ret;
libexec/pppoed/pppoed.c
454
if (errno)
libexec/pppoed/pppoed.c
469
fprintf(stderr, "kldload: %s: %s\n", module[f], strerror(errno));
libexec/pppoed/pppoed.c
483
snprintf(nfmt, sizeof nfmt, "%s: %s", fmt, strerror(errno));
libexec/rbootd/rbootd.c
228
if (errno == EINTR)
libexec/rbootd/rmpproto.c
357
rpl->r_brpl.rmp_retcode = (errno == ENOENT)? RMP_E_NOFILE:
libexec/rbootd/rmpproto.c
358
(errno == EMFILE || errno == ENFILE)? RMP_E_BUSY:
libexec/rpc.rusersd/rusers_proc.c
136
printf("%s: %s\n", ttyname, strerror(errno));
libexec/rtld-elf/libmap.c
122
rtld_strerror(errno));
libexec/rtld-elf/libmap.c
129
rtld_strerror(errno));
libexec/rtld-elf/libmap.c
137
rtld_strerror(errno));
libexec/rtld-elf/map_object.c
207
path, rtld_strerror(errno));
libexec/rtld-elf/map_object.c
227
rtld_strerror(errno));
libexec/rtld-elf/map_object.c
244
rtld_strerror(errno));
libexec/rtld-elf/map_object.c
268
rtld_strerror(errno));
libexec/rtld-elf/map_object.c
343
_rtld_error("%s: read error: %s", path, rtld_strerror(errno));
libexec/rtld-elf/rtld.c
2617
rtld_strerror(errno));
libexec/rtld-elf/rtld.c
2694
obj->path, rtld_strerror(errno));
libexec/rtld-elf/rtld.c
658
dbg("exec_sys_unregister failed %d\n", errno);
libexec/rtld-elf/rtld.c
659
exit(errno);
libexec/rtld-elf/rtld.c
679
dbg("exec_sys_register failed %d\n", errno);
libexec/rtld-elf/rtld.c
680
exit(errno);
libexec/rtld-elf/rtld.c
956
_rtld_error("utsname failed: %d", errno);
libexec/talkd/talkd.c
118
int save_errno = errno;
libexec/talkd/talkd.c
123
errno = save_errno;
libexec/talkd/talkd.c
99
if (cc < 0 && errno != EINTR)
libexec/telnetd/telnetd.c
1011
if (ncc < 0 && errno == EWOULDBLOCK)
libexec/telnetd/telnetd.c
1034
if (pcc < 0 && (errno == EWOULDBLOCK ||
libexec/telnetd/telnetd.c
1036
errno == EAGAIN ||
libexec/telnetd/telnetd.c
1038
errno == EIO)) {
libexec/telnetd/telnetd.c
328
errx(1, "tcp/%s: %s\n", service, strerror(errno));
libexec/telnetd/telnetd.c
381
&& (errno != ENOPROTOOPT) )
libexec/telnetd/telnetd.c
935
if (errno == EINTR) {
libexec/telnetd/telnetd.c
995
if ((ncc == -1) && (errno == EINVAL)) {
libexec/telnetd/utility.c
103
} while ((value == -1) && (errno == EINTR));
libexec/telnetd/utility.c
127
if (errno == EWOULDBLOCK || errno == EINTR)
libexec/telnetd/utility.c
290
if (errno == EWOULDBLOCK || errno == EINTR)
libexec/telnetd/utility.c
345
(void) snprintf(buf, sizeof(buf), "%s: %s", msg, strerror(errno));
libexec/tftpd/tftpd.c
503
return (errno == ENOENT ? ENOTFOUND : EACCESS);
libexec/tftpd/tftpd.c
556
return (errno + 100);
libexec/tftpd/tftpd.c
559
return errno+100;
libexec/tftpd/tftpd.c
593
nak(errno + 100);
libexec/tftpd/tftpd.c
706
if (size < 0) nak(errno + 100);
libexec/utmp_update/utmp_update.c
101
logerr(errno, "Can't allocate %zu", len+1);
libexec/utmp_update/utmp_update.c
130
logerr(errno, "Cannot stat `%s'", tty);
libexec/utmp_update/utmp_update.c
137
logerr(errno, "Can't access `%s'", tty);
libexec/utmp_update/utmp_update.c
147
logerr(errno, "Cannot open `%s'", tty);
libexec/utmp_update/utmp_update.c
160
logerr(errno, "Can't setuid %ld", (long)euid);
libexec/utmp_update/utmp_update.c
162
logerr(errno, "Cannot update utmpx entry");
libexec/utmp_update/utmp_update.c
93
logerr(errno, "Can't setuid %ld", (long)ruid);
libexec/ypxfr/yp_dbwrite.c
73
switch (errno) {
libexec/ypxfr/ypxfr_main.c
572
strerror(errno));
libexec/ypxfr/ypxfr_main.c
78
yp_error("failed to unlink %s",strerror(errno));
libexec/ypxfr/ypxfrd_getmap.c
127
yp_error("couldn't open %s: %s", tmpname, strerror(errno));
libexec/ypxfr/ypxfrd_getmap.c
60
yp_error("write failed: %s", strerror(errno));
sbin/badsect/badsect.c
104
errno = ENAMETOOLONG;
sbin/badsect/badsect.c
96
errno = ENAMETOOLONG;
sbin/camcontrol/modeedit.c
121
errno = code; \
sbin/camcontrol/modeedit.c
687
if (errno == ENOENT) {
sbin/camcontrol/modeedit.c
691
} else if (errno == EINVAL) {
sbin/camcontrol/modeedit.c
695
} else if (errno == ERANGE) {
sbin/camcontrol/modeedit.c
698
} else if (errno == EPERM) {
sbin/camcontrol/modeedit.c
823
if (errno == ENOENT) {
sbin/camcontrol/modeedit.c
827
} else if (errno == ESRCH) {
sbin/camcontrol/modeedit.c
876
if (load_format(pagedb_path, 0) != 0 && verbose && errno == ENOENT) {
sbin/ccdconfig/ccdconfig.c
252
errno = 0; /* to check for ERANGE */
sbin/ccdconfig/ccdconfig.c
254
if ((errno == ERANGE) || (ileave < 0) || (*cp2 != '\0')) {
sbin/ccdconfig/ccdconfig.c
389
return (errno);
sbin/ccdconfig/ccdconfig.c
404
return (errno);
sbin/ccdconfig/ccdconfig.c
410
return (errno);
sbin/ccdconfig/ccdconfig.c
664
errno = 0; /* to check for ERANGE */
sbin/ccdconfig/ccdconfig.c
666
if ((errno == ERANGE) || (*cp != '\0'))
sbin/ccdconfig/ccdconfig.c
672
errno = 0; /* to check for ERANGE */
sbin/ccdconfig/ccdconfig.c
674
if ((errno == ERANGE) || (*cp != '\0'))
sbin/comcontrol/comcontrol.c
75
if (errno != ENOTTY) {
sbin/comcontrol/comcontrol.c
82
if (errno != ENOTTY) {
sbin/devd/devd.cc
1015
if (errno == EINTR)
sbin/devd/devd.cc
1035
if (errno != EINTR)
sbin/devd/devd.cc
257
} while (pid == -1 && errno == EINTR);
sbin/devd/devd.cc
498
if (errno == EEXIST)
sbin/devfsctl/devfsctl.c
154
tokens[1], strerror(errno));
sbin/devfsctl/devfsctl.c
726
tokens[0], strerror(errno));
sbin/dhclient/bpf.c
76
if (errno == EBUSY)
sbin/dhclient/dhclient.c
174
} while (n == -1 && errno == EINTR);
sbin/dhclient/dhclient.c
2240
if (errno != EINTR)
sbin/dhclient/dhclient.c
2272
if (errno == ENOENT)
sbin/dhclient/dispatch.c
160
if (errno == EAGAIN || errno == EINTR) {
sbin/dhclient/dispatch.c
195
strerror(errno));
sbin/dhclient/dispatch.c
290
if (errno != EINVAL && errno != ENOTTY)
sbin/dhclient/errwarn.c
176
int saved_errno = errno;
sbin/dhclient/privsep.c
63
} while (n == -1 && (errno == EAGAIN || errno == EINTR));
sbin/dhclient/privsep.c
87
} while (n == -1 && (errno == EINTR || errno == EAGAIN));
sbin/diskinfo/diskinfo.c
75
if (errno != ENXIO || quietMode == 0)
sbin/diskinfo/diskinfo.c
76
printf("%-16s %s\n", av[i], strerror(errno));
sbin/diskinfo/diskinfo.c
81
printf("%-16s %s\n", av[i], strerror(errno));
sbin/disklabel32/disklabel.c
396
errno != ENODEV && errno != ENOTTY) {
sbin/disklabel32/disklabel.c
447
switch (errno) {
sbin/disklabel32/disklabel.c
751
if (errno == EPROCLIM) {
sbin/disklabel32/disklabel.c
755
if (errno != EAGAIN) {
sbin/disklabel64/disklabel64.c
423
errno != ENODEV && errno != ENOTTY) {
sbin/disklabel64/disklabel64.c
478
switch (errno) {
sbin/disklabel64/disklabel64.c
801
if (errno == EPROCLIM) {
sbin/disklabel64/disklabel64.c
805
if (errno != EAGAIN) {
sbin/dump/dumprmt.c
293
errno = atoi(code + 1);
sbin/dump/itime.c
167
quit("cannot rewrite %s: %s\n", dumpdates, strerror(errno));
sbin/dump/itime.c
176
quit("fseek: %s\n", strerror(errno));
sbin/dump/itime.c
202
quit("%s: %s\n", dumpdates, strerror(errno));
sbin/dump/itime.c
204
quit("ftruncate (%s): %s\n", dumpdates, strerror(errno));
sbin/dump/itime.c
218
quit("%s: %s\n", dumpdates, strerror(errno));
sbin/dump/itime.c
72
if (errno != ENOENT) {
sbin/dump/itime.c
74
strerror(errno));
sbin/dump/itime.c
83
strerror(errno));
sbin/dump/itime.c
89
dumpdates, strerror(errno));
sbin/dump/optr.c
274
quit("%s\n", strerror(errno));
sbin/dump/optr.c
295
_PATH_FSTAB, strerror(errno));
sbin/dump/optr.c
305
quit("%s\n", strerror(errno));
sbin/dump/optr.c
78
quit("fopen on %s fails: %s\n", _PATH_TTY, strerror(errno));
sbin/dump/tape.c
231
quit("error writing command pipe: %s\n", strerror(errno));
sbin/dump/tape.c
687
i, strerror(errno));
sbin/dump/tape.c
745
quit("slave couldn't reopen disk: %s\n", strerror(errno));
sbin/dump/tape.c
814
if (wrote < 0 && errno == ENOSPC) {
sbin/dump/tape.c
841
quit("error reading command pipe: %s\n", strerror(errno));
sbin/dump/traverse.c
577
disk, strerror(errno), blkno, size);
sbin/dump/traverse.c
603
disk, strerror(errno), blkno, dev_bsize);
sbin/fdisk/fdisk.c
252
if (errno != 0)
sbin/fdisk/fdisk.c
768
printf("Trim error %s\n", strerror(errno));
sbin/fdisk/fdisk.c
783
if (errno == ENOENT)
sbin/fdisk/fdisk.c
793
if (errno == ENXIO)
sbin/fdisk/fdisk.c
817
errno = 0;
sbin/fsck/fsutil.c
141
pfatal("%s (%s)", s, strerror(errno));
sbin/fsck/main.c
364
mntbuf->f_mntonname, strerror(errno));
sbin/fsck/preen.c
289
printf("Can't stat %s: %s\n", newname, strerror(errno));
sbin/fsck/setup.c
101
printf("Can't open %s: %s\n", dev, strerror(errno));
sbin/fsck/setup.c
91
printf("Can't stat %s: %s\n", dev, strerror(errno));
sbin/fsck_hammer2/destroy.c
424
errno = 0;
sbin/fsck_hammer2/destroy.c
426
if (errno == ERANGE && src_inode == ULLONG_MAX) {
sbin/fsck_hammer2/destroy.c
435
errno = 0;
sbin/fsck_hammer2/destroy.c
437
if (errno == ERANGE && dst_inode == ULLONG_MAX) {
sbin/fsck_hammer2/fsck_hammer2.c
149
errno = 0;
sbin/fsck_hammer2/fsck_hammer2.c
151
if (errno == ERANGE &&
sbin/fsirand/fsirand.c
142
(n < SBSIZE) ? "short read" : strerror(errno));
sbin/fsirand/fsirand.c
174
: strerror(errno));
sbin/fsirand/fsirand.c
219
(n < SBSIZE) ? "short write" : strerror(errno));
sbin/fsirand/fsirand.c
236
: strerror(errno));
sbin/fsirand/fsirand.c
248
(n < ibufsize) ? "short read" : strerror(errno));
sbin/fsirand/fsirand.c
274
strerror(errno));
sbin/gpt/gpt.c
342
if (errno == 0) /* partial read */
sbin/gpt/gpt.c
343
errno = E2BIG;
sbin/gpt/gpt.c
605
errno = 0;
sbin/gpt/gpt.c
625
errno = EINVAL;
sbin/gpt/gpt.c
638
errno = ENODEV;
sbin/hammer/cmd_abort.c
79
if (errno == EWOULDBLOCK) {
sbin/hammer/cmd_cleanup.c
180
printf(" unable to access directory: %s\n", strerror(errno));
sbin/hammer/cmd_cleanup.c
184
printf(" not a HAMMER filesystem: %s\n", strerror(errno));
sbin/hammer/cmd_cleanup.c
298
snapshots_path, strerror(errno));
sbin/hammer/cmd_cleanup.c
344
if (stat(npath, &st) < 0 && errno == ENOENT) {
sbin/hammer/cmd_cleanup.c
345
if (stat(snapshots_path, &st) < 0 && errno == ENOENT) {
sbin/hammer/cmd_cleanup.c
367
} else if (stat(npath, &st) < 0 && errno == ENOENT) {
sbin/hammer/cmd_cleanup.c
377
if (errno == EWOULDBLOCK)
sbin/hammer/cmd_cleanup.c
380
printf(" can not lock %s: %s\n", config_path, strerror(errno));
sbin/hammer/cmd_cleanup.c
695
strerror(errno));
sbin/hammer/cmd_cleanup.c
850
ncheck_path, strerror(errno));
sbin/hammer/cmd_cleanup.c
995
strerror(errno));
sbin/hammer/cmd_dedup.c
492
if (errno == EOPNOTSUPP)
sbin/hammer/cmd_dedup.c
827
fprintf(stderr, "Get-data failed: %s\n", strerror(errno));
sbin/hammer/cmd_history.c
105
printf("%s\n", strerror(errno));
sbin/hammer/cmd_history.c
139
printf(" error: %s\n", strerror(errno));
sbin/hammer/cmd_history.c
161
errno = 0; /* clear */
sbin/hammer/cmd_history.c
163
if (test_strtoll(errno, offset)) {
sbin/hammer/cmd_history.c
171
errno = 0; /* clear */
sbin/hammer/cmd_history.c
173
if (test_strtol(errno, length)) {
sbin/hammer/cmd_history.c
90
printf("%s\n", strerror(errno));
sbin/hammer/cmd_mirror.c
293
filesystem, strerror(errno));
sbin/hammer/cmd_mirror.c
456
filesystem, strerror(errno));
sbin/hammer/cmd_mirror.c
459
filesystem, strerror(errno));
sbin/hammer/cmd_pfs.c
314
if (errno != ENOENT) {
sbin/hammer/cmd_pfs.c
337
printf("failed: %s\n", strerror(errno));
sbin/hammer/cmd_pfs.c
343
strerror(errno));
sbin/hammer/cmd_pfs.c
421
pfs.pfs_id, strerror(errno));
sbin/hammer/cmd_rebalance.c
91
filesystem, strerror(errno));
sbin/hammer/cmd_reblock.c
120
printf("Reblock %s failed: %s\n", filesystem, strerror(errno));
sbin/hammer/cmd_recover.c
154
if (errno != EEXIST) {
sbin/hammer/cmd_recover.c
479
path1, strerror(errno));
sbin/hammer/cmd_show.c
891
errno = 0; /* clear */
sbin/hammer/cmd_show.c
893
if (errno == ERANGE && retval == ULONG_MAX) {
sbin/hammer/cmd_show.c
906
errno = 0; /* clear */
sbin/hammer/cmd_show.c
908
if (errno == ERANGE && retval == ULLONG_MAX) {
sbin/hammer/cmd_softprune.c
217
scan->filesystem, strerror(errno));
sbin/hammer/cmd_softprune.c
357
"meta-data snaps: %s\n", strerror(errno));
sbin/hammer/cmd_volume.c
135
if ((errno == ENOTEMPTY) && (retried++ == 0)) {
sbin/hammer/cycle.c
61
CyclePath, strerror(errno));
sbin/hammer/cycle.c
86
CyclePath, strerror(errno));
sbin/hammer2/cmd_debug.c
1327
fprintf(stderr, "%s: %s\n", path, strerror(errno));
sbin/hammer2/cmd_debug.c
439
if (errno)
sbin/hammer2/cmd_debug.c
441
errno = 0;
sbin/hammer2/cmd_debug.c
446
if (errno || show_tab < 0 || show_tab > 8)
sbin/hammer2/cmd_debug.c
448
errno = 0;
sbin/hammer2/cmd_debug.c
453
if (errno || show_depth < 0)
sbin/hammer2/cmd_debug.c
455
errno = 0;
sbin/hammer2/cmd_debug.c
460
if (errno)
sbin/hammer2/cmd_debug.c
462
errno = 0;
sbin/hammer2/cmd_debug.c
467
if (errno)
sbin/hammer2/cmd_debug.c
469
errno = 0;
sbin/hammer2/cmd_destroy.c
112
printf("%s\n", strerror(errno));
sbin/hammer2/cmd_destroy.c
55
printf("%s\n", strerror(errno));
sbin/hammer2/cmd_destroy.c
62
printf("%s\n", strerror(errno));
sbin/hammer2/cmd_emergency.c
58
printf("Cannot change emerg mode: %s\n", strerror(errno));
sbin/hammer2/cmd_growfs.c
63
sel_path, strerror(errno));
sbin/hammer2/cmd_info.c
237
if (pid < 0 && errno == ECHILD)
sbin/hammer2/cmd_pfs.c
189
if (errno == EEXIST) {
sbin/hammer2/cmd_pfs.c
200
name, strerror(errno));
sbin/hammer2/cmd_pfs.c
264
av[i], strerror(errno));
sbin/hammer2/cmd_service.c
1025
fprintf(stderr, "hammer2: fork(): %s\n", strerror(errno));
sbin/hammer2/cmd_service.c
160
strerror(errno));
sbin/hammer2/cmd_service.c
262
if (errno == EINTR)
sbin/hammer2/cmd_service.c
775
if (errno != ENOMEM)
sbin/hammer2/cmd_service.c
994
strerror(errno));
sbin/hammer2/cmd_setcheck.c
111
path_str, strerror(errno));
sbin/hammer2/cmd_setcheck.c
122
path_str, strerror(errno));
sbin/hammer2/cmd_setcheck.c
85
printf("%s: %s\n", *paths, strerror(errno));
sbin/hammer2/cmd_setcomp.c
120
printf("%s: %s\n", *paths, strerror(errno));
sbin/hammer2/cmd_setcomp.c
147
path_str, strerror(errno));
sbin/hammer2/cmd_setcomp.c
158
path_str, strerror(errno));
sbin/hammer2/cmd_setcomp.c
226
fprintf(stderr, "ERROR before setting the mode: %s\n", strerror(errno));
sbin/hammer2/cmd_setcomp.c
238
if (errno != EINVAL) {
sbin/hammer2/cmd_setcomp.c
239
fprintf(stderr, "ERROR after trying to set the mode: %s\n", strerror(errno));
sbin/hammer2/cmd_setcomp.c
254
strerror(errno));
sbin/hammer2/cmd_setcomp.c
264
errno = 0;
sbin/hammer2/cmd_setcomp.c
276
strerror(errno));
sbin/hammer2/cmd_setcomp.c
292
if (errno != EINVAL) {
sbin/hammer2/cmd_setcomp.c
295
strerror(errno));
sbin/hammer2/cmd_setcomp.c
301
errno = 0; //we must set errno to 0 before readdir()
sbin/hammer2/cmd_setcomp.c
305
if (errno != 0) {
sbin/hammer2/cmd_setcomp.c
306
fprintf(stderr, "ERROR during iteration: %s\n", strerror(errno));
sbin/hammer2/cmd_stat.c
65
fprintf(stderr, "%s: %s\n", av[i], strerror(errno));
sbin/hammer2/cmd_stat.c
70
fprintf(stderr, "%s: %s\n", av[i], strerror(errno));
sbin/hammer2/ondisk.c
122
path, i, strerror(errno));
sbin/hammer2/ondisk.c
127
path, i, strerror(errno));
sbin/hammer2/subs.c
73
sel_path, strerror(errno));
sbin/ifconfig/ifbridge.c
63
errno = 0;
sbin/ifconfig/ifbridge.c
65
if (cp[0] == '\0' || endptr[0] != '\0' || errno == ERANGE)
sbin/ifconfig/ifconfig.c
1273
} else if (errno == ENOMSG) {
sbin/ifconfig/ifconfig.c
1275
} else if (errno == ENAMETOOLONG) {
sbin/ifconfig/ifconfig.c
1358
switch (errno) {
sbin/ifconfig/ifconfig.c
638
if (errno == EINVAL || errno == ENOTTY)
sbin/ifconfig/ifconfig.c
813
(uafp != NULL || errno != EAFNOSUPPORT ||
sbin/ifconfig/ifconfig.c
905
if (errno == EADDRNOTAVAIL && doalias >= 0) {
sbin/ifconfig/ifgroup.c
137
if (errno == EINVAL || errno == ENOTTY || errno == ENOENT)
sbin/ifconfig/ifgroup.c
59
if (ioctl(s, SIOCAIFGROUP, &ifgr) == -1 && errno != EEXIST)
sbin/ifconfig/ifgroup.c
77
if (ioctl(s, SIOCDIFGROUP, &ifgr) == -1 && errno != ENOENT)
sbin/ifconfig/ifgroup.c
92
if (errno == EINVAL || errno == ENOTTY)
sbin/ifconfig/ifieee80211.c
4156
if (errno == EINVAL) {
sbin/ifconfig/ifieee80211.c
757
errno = 0;
sbin/ifconfig/ifieee80211.c
759
if (val[0] == '\0' || val == eptr || errno == ERANGE ||
sbin/ifconfig/ifieee80211.c
763
errno == ERANGE ? " (out of range)" : "");
sbin/ifconfig/iflagg.c
44
if (ioctl(s, SIOCSLAGGPORT, &rp) && errno != EEXIST) {
sbin/ifconfig/iflagg.c
46
IfName, val, strerror(errno));
sbin/ifconfig/ifwg.c
397
if (errno == EINVAL || errno == ENOTTY)
sbin/init/init.c
1054
if (errno == ENXIO) {
sbin/init/init.c
1550
if (kill(-1, death_sigs[i]) == -1 && errno == ESRCH)
sbin/init/init.c
1558
while (clang == 0 && errno != ECHILD);
sbin/init/init.c
1560
if (errno == ECHILD)
sbin/init/init.c
1595
if (stat(_PATH_RUNDOWN, &sb) == -1 && errno == ENOENT)
sbin/init/init.c
1671
if (errno == EINTR)
sbin/init/init.c
497
strerror(errno));
sbin/init/init.c
538
if (errno != ENOENT)
sbin/init/init.c
576
curlevel, newlevel, strerror(errno));
sbin/init/init.c
750
if (errno == EINTR)
sbin/init/init.c
837
if (errno == EINTR)
sbin/init/init.c
884
emergency("session database close: %s", strerror(errno));
sbin/init/init.c
886
emergency("session database open: %s", strerror(errno));
sbin/init/init.c
908
emergency("insert %d: %s", sp->se_process, strerror(errno));
sbin/init/init.c
924
emergency("delete %d: %s", sp->se_process, strerror(errno));
sbin/ip6fw/ip6fw.c
1352
int savederrno = errno;
sbin/ip6fw/ip6fw.c
1355
errno = savederrno;
sbin/ip6fw/ip6fw.c
455
if ((i < 0 && errno != EINVAL) || nalloc > maxbytes)
sbin/ipfw/ipfw2.c
3796
if (opt == IP_FW_TBL_ADD && errno == EEXIST) {
sbin/ipfw/ipfw2.c
3799
} else if (opt == IP_FW_TBL_DEL && errno == ESRCH) {
sbin/ipfw/ipfw2.c
3842
if (errno == E2BIG) {
sbin/ipfw/ipfw2.c
4225
int savederrno = errno;
sbin/ipfw/ipfw2.c
4228
errno = savederrno;
sbin/ipfw3/ipfw3.c
1175
int savederrno = errno;
sbin/ipfw3/ipfw3.c
1178
errno = savederrno;
sbin/iscontrol/fsm.c
142
errno, strerror(errno));
sbin/iscontrol/fsm.c
147
sv_errno = errno;
sbin/iscontrol/fsm.c
159
errno, strerror(errno));
sbin/iscontrol/fsm.c
167
errno, strerror(errno));
sbin/iscontrol/fsm.c
171
errno, strerror(errno));
sbin/iscontrol/fsm.c
178
timeout.tv_sec, errno, strerror(errno));
sbin/iscontrol/fsm.c
193
val, errno, strerror(errno));
sbin/iscontrol/fsm.c
355
syslog(LOG_WARNING, "ISCSIGETCAM failed: %d", errno);
sbin/jscan/dump_output.c
51
if (errno == EINTR)
sbin/jscan/dump_output.c
53
if (errno == EAGAIN) {
sbin/jscan/jfile.c
619
fprintf(stderr, "jwrite: failed %s\n", strerror(errno));
sbin/jscan/jfile.c
781
ttl = -errno;
sbin/jscan/jfile.c
795
ttl = -errno;
sbin/jscan/jscan.c
241
input_prefix, strerror(errno));
sbin/jscan/jscan.c
433
fprintf(stderr, "fork(): %s\n", strerror(errno));
sbin/kldconfig/kldconfig.c
111
errno = ENOMEM;
sbin/kldconfig/kldconfig.c
129
errno = ENOMEM;
sbin/kldconfig/kldconfig.c
184
errno = ENOMEM;
sbin/kldconfig/kldconfig.c
249
errno = ENOMEM;
sbin/kldconfig/kldconfig.c
267
errno = ENOMEM;
sbin/kldconfig/kldconfig.c
342
errno = ENOMEM;
sbin/kldconfig/kldconfig.c
379
errno = ENOMEM;
sbin/kldconfig/kldconfig.c
405
errno = ENOMEM;
sbin/kldload/kldload.c
102
switch (errno) {
sbin/kldload/kldload.c
98
if (check_loaded != 0 && errno == EEXIST) {
sbin/ldconfig/elfhints.c
199
if (errno == ENOENT && !must_exist)
sbin/mount/mount.c
106
if (errno != EEXIST) {
sbin/mount/mount.c
456
if (errno == ENOENT) {
sbin/mount_cd9660/mount_cd9660.c
327
errno = 0;
sbin/mount_cd9660/mount_cd9660.c
329
if (errno != 0 || *ep != '\0' || val <= 0 || val > (long)ALLPERMS)
sbin/mount_hammer2/mount_hammer2.c
112
usage("mount %s: %s", mountpt, strerror(errno));
sbin/mount_hammer2/mount_hammer2.c
182
if (errno == ERANGE) {
sbin/mount_hammer2/mount_hammer2.c
186
} else if (errno == ENOENT) {
sbin/mount_hammer2/mount_hammer2.c
189
} else if (errno == ENXIO) {
sbin/mount_ufs/mount.c
276
pid > 0 && kill(pid, SIGHUP) == -1 && errno != ESRCH)
sbin/mount_ufs/mount.c
413
if (errno == ENOENT) {
sbin/mount_ufs/mount_ufs.c
135
switch (errno) {
sbin/mountctl/mountctl.c
255
fprintf(stderr, "unable to create %s: %s\n", wopt, strerror(errno));
sbin/mountctl/mountctl.c
513
fprintf(stderr, "%s:%s failed to add, error %s\n", mountpt, joinfo.id, strerror(errno));
sbin/mountctl/mountctl.c
540
fprintf(stderr, "%s:%s restart failed, error %s\n", mountpt, joinfo.id, strerror(errno));
sbin/mountctl/mountctl.c
558
fprintf(stderr, "%s:%s deletion failed, error %s\n", mountpt, joinfo.id, strerror(errno));
sbin/mountd/mountd.c
2029
if (r < 0 && errno == EOPNOTSUPP) {
sbin/mountd/mountd.c
2042
if (errno == EPERM) {
sbin/mountd/mountd.c
2051
if (errno == EINVAL)
sbin/mountd/mountd.c
2384
if (errno == ENOENT)
sbin/mountd/mountd.c
267
if (errno == EEXIST)
sbin/mountd/mountd.c
371
errno != ENOENT) {
sbin/mountd/mountd.c
447
if (errno == EINTR)
sbin/mountd/mountd.c
513
if (errno == EPROTONOSUPPORT &&
sbin/mountd/mountd.c
840
bad = errno;
sbin/natd/natd.c
357
if (errno == EINTR)
sbin/natd/natd.c
468
if (errno != EINTR)
sbin/natd/natd.c
566
if (errno == EMSGSIZE) {
sbin/natd/natd.c
572
} else if (errno == EACCES && logIpfwDenied) {
sbin/newfs/fscopy.c
265
if (mkdir(path, 0700) < 0 && errno != EEXIST) {
sbin/newfs/newfs.c
452
fatal("%s: %s", special, strerror(errno));
sbin/newfs/newfs.c
457
fatal("%s: getmntinfo: %s", special, strerror(errno));
sbin/newfs/newfs.c
489
fatal("%s: %s", special, strerror(errno));
sbin/newfs/newfs.c
491
fatal("%s: %s", special, strerror(errno));
sbin/newfs/newfs.c
680
fatal("%s: %s", argv[1], strerror(errno));
sbin/newfs_msdos/newfs_msdos.c
199
errno = 0;
sbin/newfs_msdos/newfs_msdos.c
201
if (errno || !*arg || *s || x < lo || x > hi)
sbin/newfs_msdos/newfs_msdos.c
215
errno = 0;
sbin/newfs_msdos/newfs_msdos.c
218
if (errno || x < 0 || (s[0] && s[1]) )
sbin/newfs_msdos/newfs_msdos.c
62
errno = 0;
sbin/newfs_msdos/newfs_msdos.c
64
if (b == eb || *eb || errno)
sbin/nfsd/nfsd.c
205
if (errno != EPROTONOSUPPORT)
sbin/nfsd/nfsd.c
653
if (errno == EINTR)
sbin/nfsd/nfsd.c
665
if (errno == ECONNABORTED ||
sbin/nfsd/nfsd.c
666
errno == EINTR)
sbin/nfsd/nfsd.c
688
if (errno == ECONNABORTED ||
sbin/nfsd/nfsd.c
689
errno == EINTR)
sbin/nvmectl/nvmectl.c
112
strerror(errno));
sbin/nvmectl/nvmectl.c
157
fprintf(stderr, "ioctl failed: %s\n", strerror(errno));
sbin/nvmectl/nvmectl.c
254
fprintf(stderr, "ioctl failed: %s\n", strerror(errno));
sbin/ping/ping.c
231
sockerrno = errno;
sbin/ping/ping.c
264
errno = EPERM;
sbin/ping/ping.c
276
errno = EPERM;
sbin/ping/ping.c
290
errno = EPERM;
sbin/ping/ping.c
304
errno = EPERM;
sbin/ping/ping.c
328
errno = EPERM;
sbin/ping/ping.c
342
errno = EPERM;
sbin/ping/ping.c
550
errno = sockerrno;
sbin/ping/ping.c
773
if (errno == EINTR)
sbin/ping/ping.c
913
if (options & F_FLOOD && errno == ENOBUFS) {
sbin/ping6/ping6.c
353
errno = 0;
sbin/ping6/ping6.c
357
if (errno || !*optarg || *e ||
sbin/ping6/ping6.c
376
errno = EPERM;
sbin/ping6/ping6.c
425
errno = EPERM;
sbin/ping6/ping6.c
955
if (errno != EINTR) {
sbin/ping6/ping6.c
980
if (errno != EINTR) {
sbin/quotacheck/quotacheck.c
306
if (errno == ENOENT)
sbin/quotacheck/quotacheck.c
324
errno == EOPNOTSUPP && !warned && vflag) {
sbin/rconfig/server.c
101
if (errno != EINTR)
sbin/rconfig/server.c
117
fprintf(stderr, "%s: socket: %s\n", host, strerror(errno));
sbin/rconfig/server.c
121
fprintf(stderr, "%s: bind: %s\n", host, strerror(errno));
sbin/rconfig/server.c
128
while (wait(NULL) > 0 || errno != EINTR)
sbin/rconfig/server.c
254
if (errno == EINTR)
sbin/rconfig/server.c
84
fprintf(stderr, "%s: socket: %s\n", host, strerror(errno));
sbin/rconfig/server.c
89
fprintf(stderr, "%s: bind: %s\n", host, strerror(errno));
sbin/rconfig/server.c
93
fprintf(stderr, "%s: listen: %s\n", host, strerror(errno));
sbin/rconfig/subs.c
104
asprintf(bufp, "udp_transaction: socket: %s", strerror(errno));
sbin/rconfig/subs.c
110
asprintf(bufp, "udp_transaction: bind: %s", strerror(errno));
sbin/rconfig/subs.c
134
if (errno == EINTR && --nretry > 0)
sbin/rconfig/subs.c
148
asprintf(bufp, "udp_transaction: sendto: %s", strerror(errno));
sbin/rconfig/subs.c
171
asprintf(bufp, "tcp_transaction: socket: %s", strerror(errno));
sbin/rconfig/subs.c
176
asprintf(bufp, "tcp_transaction: connect: %s", strerror(errno));
sbin/rconfig/subs.c
245
asprintf(bufp, "tcp_transaction: read: %s", strerror(errno));
sbin/reboot/reboot.c
100
errno = EPERM;
sbin/reboot/reboot.c
174
if (errno == ESRCH)
sbin/reboot/reboot.c
190
sverrno = errno;
sbin/restore/dirs.c
184
strerror(errno));
sbin/restore/dirs.c
589
fprintf(stderr, "fopen: %s\n", strerror(errno));
sbin/restore/dirs.c
645
fprintf(stderr, "cannot create file: %s\n", strerror(errno));
sbin/restore/dirs.c
656
fprintf(stderr, "read: %s\n", strerror(errno));
sbin/restore/dirs.c
663
fprintf(stderr, "write: %s\n", strerror(errno));
sbin/restore/symtab.c
445
fprintf(stderr, "fopen: %s\n", strerror(errno));
sbin/restore/symtab.c
507
fprintf(stderr, "fwrite: %s\n", strerror(errno));
sbin/restore/symtab.c
541
fprintf(stderr, "open: %s\n", strerror(errno));
sbin/restore/symtab.c
545
fprintf(stderr, "stat: %s\n", strerror(errno));
sbin/restore/symtab.c
554
fprintf(stderr, "read: %s\n", strerror(errno));
sbin/restore/tape.c
137
_PATH_TTY, strerror(errno));
sbin/restore/tape.c
141
_PATH_DEVNULL, strerror(errno));
sbin/restore/tape.c
194
fprintf(stderr, "%s: %s\n", magtape, strerror(errno));
sbin/restore/tape.c
228
fprintf(stderr, "cannot stat .: %s\n", strerror(errno));
sbin/restore/tape.c
501
fprintf(stderr, "ioctl MTFSF: %s\n", strerror(errno));
sbin/restore/tape.c
590
name, strerror(errno));
sbin/restore/tape.c
612
name, strerror(errno));
sbin/restore/tape.c
634
name, strerror(errno));
sbin/restore/tape.c
745
(uintmax_t)curfile.ino, curfile.name, strerror(errno));
sbin/restore/tape.c
760
(uintmax_t)curfile.ino, curfile.name, strerror(errno));
sbin/restore/tape.c
921
"continuation failed: %s\n", strerror(errno));
sbin/restore/tape.c
966
fprintf(stderr, "tape read error: %s\n", strerror(errno));
sbin/restore/utilities.c
121
from, to, strerror(errno));
sbin/restore/utilities.c
140
fprintf(stderr, "warning: %s: %s\n", cp, strerror(errno));
sbin/restore/utilities.c
162
fprintf(stderr, "warning: %s: %s\n", cp, strerror(errno));
sbin/restore/utilities.c
182
fprintf(stderr, "warning: %s: %s\n", cp, strerror(errno));
sbin/restore/utilities.c
203
new, existing, strerror(errno));
sbin/restore/utilities.c
224
new, existing, strerror(errno));
sbin/restore/utilities.c
246
name, strerror(errno));
sbin/restore/utilities.c
268
name, strerror(errno));
sbin/route/route.c
1290
error = errno;
sbin/route/route.c
1294
error, ctime(&now), strerror(errno));
sbin/route/route.c
1321
errno = 0;
sbin/route/route.c
1631
errno = rtm->rtm_errno;
sbin/route/route.c
1632
warn("message indicates error %d", errno);
sbin/route/route.c
851
errno = 0;
sbin/route/route.c
854
if (errno != ENETUNREACH && errno != ESRCH)
sbin/route/route.c
870
oerrno = errno;
sbin/routed/defs.h
502
#define LOGERR(msg) msglog(msg ": %s", strerror(errno))
sbin/routed/defs.h
504
#define BADERR(dump,msg) logbad(dump,msg ": %s", strerror(errno))
sbin/routed/if.c
495
&& errno != EADDRNOTAVAIL
sbin/routed/if.c
696
if (errno != ENOMEM && errno != EFAULT)
sbin/routed/input.c
70
if (cc < 0 && errno != EWOULDBLOCK)
sbin/routed/main.c
283
logbad(1, "fcntl(rt_sock) O_NONBLOCK: %s", strerror(errno));
sbin/routed/main.c
486
if (n < 0 && errno != EINTR && errno != EAGAIN)
sbin/routed/main.c
578
name, strerror(errno));
sbin/routed/main.c
582
name, strerror(errno));
sbin/routed/main.c
587
name, strerror(errno));
sbin/routed/main.c
594
name, rbuf, strerror(errno));
sbin/routed/main.c
604
name, rbuf, strerror(errno));
sbin/routed/main.c
633
BADERR(errno != EADDRINUSE, "bind(rip_sock)");
sbin/routed/output.c
160
serrno = errno;
sbin/routed/output.c
163
errno = serrno;
sbin/routed/output.c
188
serrno = errno;
sbin/routed/output.c
194
strerror(errno));
sbin/routed/output.c
195
errno = serrno;
sbin/routed/rdisc.c
764
strerror(errno));
sbin/routed/rdisc.c
958
if (cc < 0 && errno != EWOULDBLOCK)
sbin/routed/rtquery/rtquery.c
315
if (errno != EADDRINUSE
sbin/routed/rtquery/rtquery.c
438
if (errno == EINTR)
sbin/routed/table.c
1050
if (errno != ENOMEM && errno != EFAULT)
sbin/routed/table.c
1145
if (cc < 0 && errno != EWOULDBLOCK)
sbin/routed/table.c
716
if (errno == ESRCH
sbin/routed/table.c
725
msglog("write(rt_sock)" PAT ": %s", ARGS, strerror(errno));
sbin/routed/trace.c
340
fn, strerror(errno));
sbin/savecore/savecore.c
152
errno = 0;
sbin/savecore/savecore.c
154
if (ret == 0 && (errno == EINVAL || errno == ERANGE))
sbin/shutdown/shutdown.c
431
errno = 0;
sbin/shutdown/shutdown.c
433
if (offset < 0 || offset == LONG_MAX || errno != 0)
sbin/startslip/startslip.c
517
if (errno != EINTR)
sbin/svc/execute.c
105
strerror(errno));
sbin/svc/execute.c
120
fprintf(cmd->fp, "fork failed: %s\n", strerror(errno));
sbin/svc/execute.c
740
logfile, strerror(errno));
sbin/svc/execute.c
796
if (n == 0 || (n < 0 && errno != EINTR))
sbin/svc/execute.c
80
strerror(errno));
sbin/svc/execute.c
828
cmd->grent.gr_name, strerror(errno));
sbin/svc/execute.c
843
fprintf(cmd->fp, "): %s\n", strerror(errno));
sbin/svc/execute.c
861
strerror(errno));
sbin/svc/execute.c
868
strerror(errno));
sbin/svc/execute.c
882
fprintf(cmd->fp, "gethostname() failed: %s\n", strerror(errno));
sbin/svc/execute.c
897
strerror(errno));
sbin/svc/execute.c
910
strerror(errno));
sbin/svc/execute.c
936
path, strerror(errno));
sbin/svc/execute.c
946
path, strerror(errno));
sbin/svc/remote.c
242
if (errno == EINTR)
sbin/svc/subs.c
116
if (errno == EWOULDBLOCK) {
sbin/svc/subs.c
123
strerror(errno));
sbin/svc/svc.c
134
strerror(errno));
sbin/svc/svc.c
162
strerror(errno));
sbin/svc/svc.c
188
sub, strerror(errno));
sbin/swapon/swapon.c
370
switch(errno) {
sbin/sysctl/sysctl.c
199
if (errno == ENOENT) {
sbin/sysctl/sysctl.c
318
switch (errno) {
sbin/sysctl/sysctl.c
740
err(1, "sysctl fmt %d %zu %d", i, j, errno);
sbin/sysctl/sysctl.c
778
err(1, "sysctl name %d %zu %d", i, j, errno);
sbin/sysctl/sysctl.c
999
if (errno == ENOENT)
sbin/udevd/udevd.c
178
if (errno == ENOMEM) {
sbin/udevd/udevd.c
439
if (errno == EINTR) {
sbin/udevd/udevd_client.c
80
syslog(LOG_ERR, "uh, oh, accept failed with %d", errno);
sbin/udevd/udevd_monitor.c
206
if ((ret == 0) || ((ret < 0) && (errno != EAGAIN)))
sbin/vinum/commands.c
112
fprintf(stderr, "Can't open %s: %s\n", file, strerror(errno));
sbin/vinum/commands.c
116
printf("Can't configure: %s (%d)\n", strerror(errno), errno);
sbin/vinum/commands.c
1449
fprintf(stderr, "Can't get daemon options: %s (%d)\n", strerror(errno), errno);
sbin/vinum/commands.c
1457
fprintf(stderr, "Can't set daemon options: %s (%d)\n", strerror(errno), errno);
sbin/vinum/commands.c
1472
fprintf(stderr, "Can't get daemon options: %s (%d)\n", strerror(errno), errno);
sbin/vinum/commands.c
1492
fprintf(stderr, "Can't save configuration: %s (%d)\n", strerror(errno), errno);
sbin/vinum/commands.c
1593
printf("Can't configure: %s (%d)\n", strerror(errno), errno);
sbin/vinum/commands.c
1713
printf("Can't configure: %s (%d)\n", strerror(errno), errno);
sbin/vinum/commands.c
1730
strerror(errno));
sbin/vinum/commands.c
1861
printf("Can't configure: %s (%d)\n", strerror(errno), errno);
sbin/vinum/commands.c
1878
strerror(errno));
sbin/vinum/commands.c
189
fprintf(stderr, "Can't configure: %s (%d)\n", strerror(errno), errno);
sbin/vinum/commands.c
2009
printf("Can't configure: %s (%d)\n", strerror(errno), errno);
sbin/vinum/commands.c
2026
strerror(errno));
sbin/vinum/commands.c
2171
printf("Can't configure: %s (%d)\n", strerror(errno), errno);
sbin/vinum/commands.c
2189
strerror(errno));
sbin/vinum/commands.c
2336
fprintf(stderr, "Can't set read policy: %s (%d)\n", strerror(errno), errno);
sbin/vinum/commands.c
294
if (errno == EBUSY)
sbin/vinum/commands.c
371
fprintf(stderr, "can't open plex %s: %s\n", filename, strerror(errno));
sbin/vinum/commands.c
378
printf("Couldn't fork: %s", strerror(errno));
sbin/vinum/commands.c
397
&& (errno == ECHILD)) /* all gone */
sbin/vinum/commands.c
438
printf("couldn't fork for subdisk %d: %s", sdno, strerror(errno));
sbin/vinum/commands.c
455
strerror(errno));
sbin/vinum/commands.c
91
fprintf(stderr, "Can't open %s: %s\n", argv[0], strerror(errno));
sbin/vinum/list.c
1051
fprintf(stderr, "Can't open %s: %s\n", argv[0], strerror(errno));
sbin/vinum/list.c
1303
if (errno != ENOENT)
sbin/vinum/list.c
1304
fprintf(stderr, "Can't open %s: %s (%d)\n", partname, strerror(errno), errno);
sbin/vinum/list.c
1308
fprintf(stderr, "Can't get label from %s: %s (%d)\n", partname, strerror(errno), errno);
sbin/vinum/list.c
1334
if (errno != ENOENT)
sbin/vinum/list.c
1335
fprintf(stderr, "Can't open %s: %s (%d)\n", partname, strerror(errno), errno);
sbin/vinum/list.c
1339
fprintf(stderr, "Can't get label from %s: %s (%d)\n", partname, strerror(errno), errno);
sbin/vinum/list.c
1384
strerror(errno),
sbin/vinum/list.c
1385
errno);
sbin/vinum/list.c
1390
if (errno != EINVAL)
sbin/vinum/list.c
1394
strerror(errno),
sbin/vinum/list.c
1395
errno);
sbin/vinum/list.c
1424
strerror(errno),
sbin/vinum/list.c
1425
errno);
sbin/vinum/list.c
206
strerror(errno));
sbin/vinum/list.c
619
if (errno == ESRCH) /* no process */
sbin/vinum/list.c
699
if (errno == ESRCH) /* no process */
sbin/vinum/v.c
130
} else if ((errno != ENOENT) /* not "not there", */
sbin/vinum/v.c
131
&&(errno != EROFS)) { /* and not read-only file system */
sbin/vinum/v.c
135
strerror(errno),
sbin/vinum/v.c
136
errno);
sbin/vinum/v.c
147
if (errno == ENODEV) { /* not configured, */
sbin/vinum/v.c
173
} else if (errno == ENOENT) /* we don't have our node, */
sbin/vinum/v.c
208
fprintf(stderr, "Can't read input: %s (%d)\n", strerror(errno), errno);
sbin/vinum/v.c
430
strerror(errno));
sbin/vinum/v.c
443
strerror(errno));
sbin/vinum/v.c
460
strerror(errno));
sbin/vinum/v.c
473
strerror(errno));
sbin/vinum/v.c
486
strerror(errno));
sbin/vinum/v.c
550
fprintf(stderr, "Can't create %s: %s\n", VINUM_SUPERDEV_NAME, strerror(errno));
sbin/vinum/v.c
555
fprintf(stderr, "Can't create %s: %s\n", VINUM_WRONGSUPERDEV_NAME, strerror(errno));
sbin/vinum/v.c
562
fprintf(stderr, "Can't create %s: %s\n", VINUM_DAEMON_DEV_NAME, strerror(errno));
sbin/vinum/v.c
607
fprintf(stderr, "Can't create %s: %s\n", filename, strerror(errno));
sbin/vinum/v.c
612
fprintf(stderr, "Can't create %s: %s\n", filename, strerror(errno));
sbin/vinum/v.c
618
fprintf(stderr, "Can't create %s: %s\n", filename, strerror(errno));
sbin/vinum/v.c
644
fprintf(stderr, "Can't create %s: %s\n", filename, strerror(errno));
sbin/vinum/v.c
653
fprintf(stderr, "Can't create %s: %s\n", filename, strerror(errno));
sbin/vinum/v.c
658
fprintf(stderr, "Can't create %s: %s\n", filename, strerror(errno));
sbin/vinum/v.c
683
fprintf(stderr, "Can't create %s: %s\n", filename, strerror(errno));
sbin/vinum/v.c
800
fprintf(stderr, "Can't continue reviving %s: %s\n", sd.name, strerror(errno));
sbin/vinum/v.c
839
fprintf(stderr, "Can't start daemon: %s (%d)\n", strerror(errno), errno);
sbin/vinum/v.c
846
syslog(LOG_ERR | LOG_KERN, "%s", strerror(errno));
sbin/vinum/v.c
864
fprintf(stderr, "Can't get time: %s\n", strerror(errno));
share/examples/find_interface/find_interface.c
100
} while(rv < 0 && errno == EADDRINUSE);
share/examples/find_interface/find_interface.c
92
} while(rv < 0 && errno == EADDRINUSE);
share/examples/scsi_target/scsi_target.c
240
} while (targ_fd < 0 && errno == EBUSY);
share/examples/scsi_target/scsi_target.c
380
if (errno == EINTR) {
share/examples/ses/srcs/chpmon.c
122
v[dev], strerror(errno));
share/examples/ses/srcs/chpmon.c
85
v[dev], strerror(errno));
share/examples/ses/srcs/chpmon.c
94
v[dev], strerror(errno));
share/examples/ses/srcs/sesd.c
102
v[dev], strerror(errno));
share/examples/sunrpc/dir/dir_proc.c
28
res.errno = errno;
share/examples/sunrpc/dir/dir_proc.c
52
res.errno = 0;
share/examples/sunrpc/dir/dir_proc.c
9
extern int errno;
share/examples/sunrpc/dir/rls.c
64
if (result->errno != 0) {
share/examples/sunrpc/dir/rls.c
69
errno = result->errno;
share/examples/sunrpc/dir/rls.c
9
extern int errno;
stand/boot/common/load_elf.c
110
return(errno);
stand/boot/common/load_elf_obj.c
100
return(errno);
stand/boot/common/ls.c
158
"open '%s' failed: %s", path, strerror(errno));
stand/boot/common/ls.c
163
"stat failed: %s", strerror(errno));
stand/boot/common/module.c
215
"can't open '%s': %s", name, strerror(errno));
stand/boot/common/module.c
228
name, strerror(errno));
stand/boot/common/module.c
411
"can't open '%s': %s", name, strerror(errno));
stand/boot/common/module.c
433
"error reading '%s': %s", name, strerror(errno));
stand/boot/efi/libefi/errno.c
36
int errno;
stand/boot/efi/libefi/errno.c
40
errno = EPERM;
stand/boot/efi/libefi/errno.c
44
errno = EOVERFLOW;
stand/boot/efi/libefi/errno.c
49
errno = EIO;
stand/boot/efi/libefi/errno.c
53
errno = EINVAL;
stand/boot/efi/libefi/errno.c
57
errno = ESTALE;
stand/boot/efi/libefi/errno.c
61
errno = ENXIO;
stand/boot/efi/libefi/errno.c
65
errno = ENOENT;
stand/boot/efi/libefi/errno.c
69
errno = ENOMEM;
stand/boot/efi/libefi/errno.c
73
errno = ENODEV;
stand/boot/efi/libefi/errno.c
77
errno = ENOSPC;
stand/boot/efi/libefi/errno.c
81
errno = EACCES;
stand/boot/efi/libefi/errno.c
85
errno = 0;
stand/boot/efi/libefi/errno.c
89
errno = EDOOFUS;
stand/boot/efi/libefi/errno.c
93
return (errno);
stand/boot/efi/loader/copy.c
108
errno = ENOMEM;
stand/boot/efi/loader/copy.c
121
errno = ENOMEM;
stand/boot/efi/loader/copy.c
134
errno = ENOMEM;
stand/boot/pc32/btxld/btxld.c
501
errno = 0;
stand/boot/pc32/btxld/btxld.c
503
if (errno || !*arg || *s || x > MAXU32)
stand/boot/pc32/btxld/btxld.c
517
errno = 0;
stand/boot/pc32/btxld/btxld.c
519
if (errno || !*arg || *s || x < 0 || x > hi)
stand/boot/pc32/libi386/i386_copy.c
46
errno = EFBIG;
stand/boot/pc32/libi386/i386_copy.c
58
errno = EFBIG;
stand/lib/arp.c
174
errno = 0; /* XXX */
stand/lib/bootp.c
322
errno = 0;
stand/lib/bootparam.c
285
errno = EBADRPC;
stand/lib/bzipfs.c
243
errno = EIO;
stand/lib/bzipfs.c
272
errno = EOFFSET;
stand/lib/close.c
74
errno = EBADF;
stand/lib/close.c
89
errno = err1;
stand/lib/close.c
93
errno = err2;
stand/lib/dosfs.c
159
if ((err = !(fs->buf = malloc(SECSIZ)) ? errno : 0) ||
stand/lib/fstat.c
43
errno = EBADF;
stand/lib/fstat.c
49
errno = EOPNOTSUPP;
stand/lib/fstat.c
53
errno = (f->f_ops->fo_stat)(f, sb);
stand/lib/globals.c
32
int errno; /* our old friend */
stand/lib/gzipfs.c
278
errno = EIO;
stand/lib/gzipfs.c
307
errno = EOFFSET;
stand/lib/hammer1.c
596
errno = ENOENT;
stand/lib/hammer1.c
715
errno = ENOENT;
stand/lib/hammer1.c
886
errno = ENODEV;
stand/lib/hammer2.c
836
errno = ENOENT;
stand/lib/hammer2.c
845
errno = ENOENT;
stand/lib/ioctl.c
72
errno = EBADF;
stand/lib/ioctl.c
76
errno = (f->f_dev->dv_ioctl)(f, cmd, arg);
stand/lib/ioctl.c
77
if (errno)
stand/lib/ioctl.c
81
errno = EIO;
stand/lib/lseek.c
117
errno = EINVAL;
stand/lib/lseek.c
74
errno = EBADF;
stand/lib/lseek.c
91
errno = EOFFSET;
stand/lib/net.c
116
if (cc != -1 || errno != 0)
stand/lib/net.c
90
errno = ETIMEDOUT;
stand/lib/netif.c
263
errno = EBADF;
stand/lib/netif.c
280
errno = EMFILE;
stand/lib/netif.c
292
errno = EINVAL;
stand/lib/netif.c
304
errno = EBADF;
stand/lib/nfs.c
165
n_long errno;
stand/lib/nfs.c
198
return (errno);
stand/lib/nfs.c
202
if (repl->errno)
stand/lib/nfs.c
203
return (ntohl(repl->errno));
stand/lib/nfs.c
233
n_long errno;
stand/lib/nfs.c
270
return (errno); /* XXX - from rpc_call */
stand/lib/nfs.c
273
if (repl->errno) {
stand/lib/nfs.c
275
return (ntohl(repl->errno));
stand/lib/nfs.c
309
return (errno);
stand/lib/nfs.c
314
if (rdata.d.errno)
stand/lib/nfs.c
315
return (ntohl(rdata.d.errno));
stand/lib/nfs.c
367
errno = EBADRPC;
stand/lib/nfs.c
370
if (repl->errno) {
stand/lib/nfs.c
371
errno = ntohl(repl->errno);
stand/lib/nfs.c
378
errno = EBADRPC;
stand/lib/nfs.c
613
printf("nfs_read: read: %s", strerror(errno));
stand/lib/nfs.c
615
return (errno); /* XXX - from nfs_readdata */
stand/lib/nfs.c
87
n_long errno;
stand/lib/nfs.c
95
n_long errno;
stand/lib/nullfs.c
100
errno = EIO;
stand/lib/nullfs.c
107
errno = EIO;
stand/lib/nullfs.c
114
errno = EIO;
stand/lib/nullfs.c
73
errno = EIO;
stand/lib/nullfs.c
86
errno = EIO;
stand/lib/nullfs.c
93
errno = EIO;
stand/lib/open.c
138
errno = error;
stand/lib/open.c
95
errno = EMFILE;
stand/lib/pager.c
139
printf("can't open '%s': %s\n", fname, strerror(errno));
stand/lib/rarp.c
161
errno = 0; /* XXX */
stand/lib/read.c
114
if ((errno = (f->f_ops->fo_read)(f, dest, resid, &cresid)))
stand/lib/read.c
120
if ((errno = (f->f_ops->fo_read)(f, f->f_rabuf, SOPEN_RASIZE, &cresid)))
stand/lib/read.c
77
errno = EBADF;
stand/lib/read.c
82
errno = (f->f_dev->dv_strategy)(f->f_devdata, F_READ,
stand/lib/read.c
84
if (errno)
stand/lib/readdir.c
40
errno = EBADF;
stand/lib/readdir.c
44
errno = EIO;
stand/lib/readdir.c
47
errno = (f->f_ops->fo_readdir)(f, &dir);
stand/lib/readdir.c
48
if (errno)
stand/lib/rpc.c
198
errno = EBADRPC;
stand/lib/rpc.c
216
errno = EBADRPC;
stand/lib/rpc.c
222
errno = EBADRPC;
stand/lib/rpc.c
242
errno = 0;
stand/lib/rpc.c
274
errno = ntohl(reply->rp_u.rpu_errno);
stand/lib/rpc.c
275
printf("recvrpc: reject, astat=%d, errno=%d\n", x, errno);
stand/lib/rpc.c
432
printf("getport: %s", strerror(errno));
stand/lib/rpc.c
433
errno = EBADRPC;
stand/lib/sbrk.c
65
errno = ENOMEM;
stand/lib/splitfs.c
181
return (errno);
stand/lib/splitfs.c
194
return (errno);
stand/lib/splitfs.c
201
if ((sf->curfd == -1) && (errno != ENOENT))
stand/lib/splitfs.c
202
return (errno);
stand/lib/splitfs.c
255
errno = splitfs_read(f, tmp, min(seek_by, SEEK_BUF), &resid);
stand/lib/splitfs.c
257
if ((errno != 0) || (nread == 0))
stand/lib/splitfs.c
262
if (errno != 0)
stand/lib/stand.h
153
extern int errno;
stand/lib/strtol.c
118
errno = ERANGE;
stand/lib/strtoul.c
109
errno = ERANGE;
stand/lib/strtoul.c
112
errno = EINVAL;
stand/lib/tftp.c
127
errno = 0;
stand/lib/tftp.c
143
errno = 0;
stand/lib/tftp.c
175
errno = EIO;
stand/lib/tftp.c
180
errno = tftperrors[ntohs(t->th_code)];
stand/lib/tftp.c
224
return (errno);
stand/lib/tftp.c
262
return (errno);
stand/lib/tftp.c
438
errno = EOFFSET;
stand/lib/write.c
74
errno = EBADF;
stand/lib/write.c
79
errno = (f->f_dev->dv_strategy)(f->f_devdata, F_WRITE,
stand/lib/write.c
81
if (errno)
stand/lib/write.c
87
if ((errno = (f->f_ops->fo_write)(f, dest, bcount, &resid)))
sys/dev/disk/isp/isp_target.c
1131
isp_acknak_abts(ispsoftc_t *isp, void *arg, int errno)
sys/dev/disk/isp/isp_target.c
1177
if (errno == 0) {
sys/dev/disk/isp/isp_target.c
1189
switch (errno) {
sys/dev/virtual/vkernel/net/if_vke.c
797
"failed: %s\n", unit, strerror(errno));
sys/dev/virtual/vkernel/net/if_vke.c
803
"failed: %s\n", unit, strerror(errno));
sys/kern/subr_sbuf.c
709
errno = s->s_error;
sys/libprop/prop_array.c
885
save_errno = errno;
sys/libprop/prop_array.c
888
errno = save_errno;
sys/libprop/prop_data.c
570
errno = 0;
sys/libprop/prop_data.c
574
if (len == ULONG_MAX && errno == ERANGE)
sys/libprop/prop_dictionary.c
1394
save_errno = errno;
sys/libprop/prop_dictionary.c
1397
errno = save_errno;
sys/libprop/prop_kern.c
106
errno = rv; /* pass up error value in errno */
sys/libprop/prop_kern.c
121
return errno;
sys/libprop/prop_kern.c
136
error = errno;
sys/libprop/prop_kern.c
156
errno = rv; /* pass up error value in errno */
sys/libprop/prop_kern.c
173
errno = rv; /* pass up error value in errno */
sys/libprop/prop_kern.c
231
errno = rv; /* pass up error value in errno */
sys/libprop/prop_kern.c
246
return errno;
sys/libprop/prop_kern.c
262
errno = rv; /* pass up error value in errno */
sys/libprop/prop_kern.c
277
return errno;
sys/libprop/prop_kern.c
293
return errno;
sys/libprop/prop_kern.c
298
errno = rv; /* pass up error value in errno */
sys/libprop/prop_kern.c
316
return errno;
sys/libprop/prop_kern.c
321
errno = rv; /* pass up error value in errno */
sys/libprop/prop_kern.c
342
errno = error;
sys/libprop/prop_kern.c
347
error = errno;
sys/libprop/prop_kern.c
359
errno = error; /* pass up error value in errno */
sys/libprop/prop_kern.c
80
errno = rv; /* pass up error value in errno */
sys/libprop/prop_kern.c
94
return errno;
sys/libprop/prop_number.c
516
errno = 0;
sys/libprop/prop_number.c
520
if (pnv->pnv_unsigned == UINT64_MAX && errno == ERANGE)
sys/libprop/prop_number.c
538
errno = 0;
sys/libprop/prop_number.c
543
errno == ERANGE)
sys/libprop/prop_object.c
854
errno = EFBIG;
sys/libprop/prop_object.c
864
errno = ENAMETOOLONG;
sys/libprop/prop_object.c
890
save_errno = errno;
sys/libprop/prop_object.c
894
errno = save_errno;
sys/net/netmap/netmap_user.h
179
errno = 0; /* name not recognised */
sys/net/netmap/netmap_user.h
186
errno = ENOMEM;
sys/net/netmap/netmap_user.h
235
errno = EINVAL;
sys/net/zlib.c
77
extern int errno;
sys/platform/vkernel64/platform/console.c
338
while (tcsetattr(0, TCSAFLUSH, &init_tio) != 0 && errno == EINTR)
sys/platform/vkernel64/platform/console.c
414
if (n < 0 && errno == EINTR)
sys/platform/vkernel64/platform/console.c
416
panic("vconsgetc: EOF on console %jd %d", (intmax_t)n, errno);
sys/platform/vkernel64/platform/init.c
1021
if (errno != EEXIST) {
sys/platform/vkernel64/platform/init.c
1055
warnc(errno, "Unable to find a free tap(4)");
sys/platform/vkernel64/platform/init.c
1392
if (errno == EWOULDBLOCK) {
sys/platform/vkernel64/platform/init.c
225
if (errno == ECHILD)
sys/platform/vkernel64/x86_64/exception.c
117
save = errno;
sys/platform/vkernel64/x86_64/exception.c
136
errno = save;
sys/platform/vkernel64/x86_64/exception.c
150
save = errno;
sys/platform/vkernel64/x86_64/exception.c
162
errno = save;
sys/platform/vkernel64/x86_64/exception.c
173
save = errno;
sys/platform/vkernel64/x86_64/exception.c
185
errno = save;
sys/platform/vkernel64/x86_64/exception.c
194
save = errno;
sys/platform/vkernel64/x86_64/exception.c
197
errno = save;
sys/platform/vkernel64/x86_64/exception.c
208
save = errno;
sys/platform/vkernel64/x86_64/exception.c
214
errno = save;
sys/platform/vkernel64/x86_64/exception.c
268
save = errno;
sys/platform/vkernel64/x86_64/exception.c
271
errno = save;
sys/platform/vkernel64/x86_64/exception.c
282
save = errno;
sys/platform/vkernel64/x86_64/exception.c
289
errno = save;
sys/platform/vkernel64/x86_64/exception.c
82
save = errno;
sys/platform/vkernel64/x86_64/exception.c
94
errno = save;
sys/platform/vkernel64/x86_64/trap.c
1426
if (errno == EFAULT) {
sys/platform/vkernel64/x86_64/trap.c
1429
if (errno != EINTR)
sys/platform/vkernel64/x86_64/trap.c
1430
panic("vmspace_ctl failed error %d", errno);
sys/sys/errno.h
45
extern __thread int errno;
sys/sys/errno.h
58
return (&errno);
sys/vfs/dirfs/dirfs_subr.c
198
return errno;
sys/vfs/dirfs/dirfs_subr.c
204
error = errno;
sys/vfs/dirfs/dirfs_subr.c
348
return errno;
sys/vfs/dirfs/dirfs_subr.c
604
error = errno;
sys/vfs/dirfs/dirfs_subr.c
662
error = errno;
sys/vfs/dirfs/dirfs_subr.c
700
error = errno;
sys/vfs/dirfs/dirfs_subr.c
720
error = errno;
sys/vfs/dirfs/dirfs_subr.c
738
error = errno;
sys/vfs/dirfs/dirfs_subr.c
787
error = errno;
sys/vfs/dirfs/dirfs_vfsops.c
149
error = errno;
sys/vfs/dirfs/dirfs_vfsops.c
263
return errno;
sys/vfs/dirfs/dirfs_vfsops.c
298
return errno;
sys/vfs/dirfs/dirfs_vfsops.c
317
return errno;
sys/vfs/dirfs/dirfs_vnops.c
1065
error = errno;
sys/vfs/dirfs/dirfs_vnops.c
1070
error = errno;
sys/vfs/dirfs/dirfs_vnops.c
1140
error = errno;
sys/vfs/dirfs/dirfs_vnops.c
1192
error = errno;
sys/vfs/dirfs/dirfs_vnops.c
1197
error = errno;
sys/vfs/dirfs/dirfs_vnops.c
1266
if (errno == EINVAL)
sys/vfs/dirfs/dirfs_vnops.c
1268
error = errno;
sys/vfs/dirfs/dirfs_vnops.c
1331
error = errno;
sys/vfs/dirfs/dirfs_vnops.c
1336
error = errno;
sys/vfs/dirfs/dirfs_vnops.c
833
if (error < 0 && errno != EINTR) {
sys/vfs/dirfs/dirfs_vnops.c
836
errno, dnp, dnp->dn_fd, bio->bio_offset, bp->b_bcount,
sys/vfs/dirfs/dirfs_vnops.c
838
bp->b_error = errno;
sys/vfs/dirfs/dirfs_vnops.c
919
error = errno;
sys/vfs/dirfs/dirfs_vnops.c
983
error = errno;
test/debug/fdpassing.c
102
printf("sendfd: failed %s\n", strerror(errno));
test/debug/fdpassing.c
138
printf("recvmsg: failed %s\n", strerror(errno));
test/debug/kwrite.c
36
errno = 0;
test/debug/kwrite.c
40
if (errno != 0)
test/debug/kwrite.c
50
if (errno != 0)
test/debug/kwrite.c
78
errno = 0;
test/debug/kwrite.c
82
if (errno != 0 || v < 0 || v > 256) {
test/debug/kwrite.c
83
if (errno == 0) errno = ERANGE;
test/debug/posixlock.c
100
printf("%s\n", strerror(errno));
test/debug/posixlock.c
108
printf("%s\n", strerror(errno));
test/debug/posixlock.c
116
printf("%s\n", strerror(errno));
test/debug/posixlock.c
93
printf("%s\n", strerror(errno));
test/debug/revoke.c
24
av[i], strerror(errno));
test/debug/umtx.c
175
if (errno == EAGAIN && --timo == 0) {
test/illumos/oclo/oclo.c
140
int e = errno;
test/illumos/oclo/oclo.c
89
if (error != 0 && errno != ESRCH)
test/illumos/oclo/oclo_errors.c
125
e = errno;
test/illumos/oclo/oclo_errors.c
49
} else if (errno != EINVAL) {
test/illumos/oclo/oclo_errors.c
50
e = errno;
test/illumos/oclo/oclo_errors.c
65
return (oclo_check(desc, "duplicated", fd, errno));
test/illumos/oclo/oclo_errors.c
72
return (oclo_check(desc, "duplicated", fd, errno));
test/illumos/oclo/oclo_errors.c
82
return (oclo_check(desc, "piped", ret, errno));
test/illumos/oclo/oclo_errors.c
90
return (oclo_check(desc, "created", fd, errno));
test/illumos/oclo/ocloexec_verify.c
125
errno = 0;
test/illumos/oclo/ocloexec_verify.c
128
if (errno != 0 || *endptr != '\0' ||
test/illumos/oclo/ocloexec_verify.c
58
int e = errno;
test/interbench/interbench.c
1110
if (errno != ENOENT)
test/interbench/interbench.c
1439
if (errno == ECHILD)
test/interbench/interbench.c
1624
if (errno != EPERM)
test/interbench/interbench.c
1655
if (errno != ENOENT)
test/interbench/interbench.c
1671
if (errno != EACCES) /* No write access is not terminal */
test/interbench/interbench.c
168
if (errno != EPERM)
test/interbench/interbench.c
1689
if (errno != EACCES)
test/interbench/interbench.c
222
if (errno != EPERM)
test/interbench/interbench.c
299
if (errno == EINTR) {
test/interbench/interbench.c
321
if (errno == EINTR)
test/interbench/interbench.c
331
if (errno == EINTR)
test/interbench/interbench.c
343
if (errno == EINTR)
test/interbench/interbench.c
345
if (errno != EAGAIN)
test/interbench/interbench.c
358
if (errno == EINTR)
test/interbench/interbench.c
372
if (errno == EINTR)
test/libpthread/sem_d.c
70
assert(EPERM == errno);
test/libpthread/sem_d.c
83
assert(EAGAIN == errno);
test/libpthread/sem_d.c
92
assert(ENOSYS == errno);
test/libpthread/sem_d.c
95
assert(ENOSYS == errno);
test/libpthread/sem_d.c
98
assert(ENOSYS == errno);
test/libpthread/sigsuspend_d.c
134
errno);
test/libpthread/sigsuspend_d.c
145
errno);
test/libpthread/sigsuspend_d.c
214
fprintf (stderr, "Unable to create thread, errno %d.\n", errno);
test/libpthread/sigsuspend_d.c
72
if ((status == 0) || (errno != EINTR)) {
test/libpthread/sigsuspend_d.c
75
errno, status);
test/libpthread/sigwait_d.c
104
errno);
test/libpthread/sigwait_d.c
64
errno);
test/libpthread/sigwait_d.c
94
errno);
test/mcast/mcast.c
103
fprintf(stderr, "setsockopt IP IF failed: %d\n", errno);
test/mcast/mcast.c
114
fprintf(stderr, "sendto failed: %d\n", errno);
test/mcast/mcast.c
82
fprintf(stderr, "socket failed: %d\n", errno);
test/mcast/mcast.c
87
fprintf(stderr, "bind failed: %d\n", errno);
test/mcast/mcast.c
96
fprintf(stderr, "setsockopt IP MEMSHIP failed: %d\n", errno);
test/socket/accept/nonblock/accept_nblock.c
115
int error = errno;
test/socket/accept4/cloexec/accept4_cloexec.c
97
error = errno;
test/socket/accept4/nonblock/accept4_nblock.c
103
int error = errno;
test/socket/checkfd/checkfd.c
24
int error = errno;
test/socket/socket/nonblock/socket_nblock.c
79
error = errno;
test/socket/socketpair/nonblock/sockpair_nblock.c
44
error = errno;
test/socket/socketpair/nonblock/sockpair_nblock.c
56
error = errno;
test/stress/fsstress/fsstress.c
1039
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
1058
if (rval || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
1099
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
1121
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
1173
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
1246
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
1270
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
1289
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
1308
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
1386
e = fd < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
1398
procid, opno, f.path, errno);
test/stress/fsstress/fsstress.c
1409
e = ioctl(fd, XFS_IOC_ALLOCSP64, &fl) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
1480
e = attr_remove_path(&f, aname, ATTR_DONTFOLLOW) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
1511
errno : 0;
test/stress/fsstress/fsstress.c
1599
e = ioctl(fd, XFS_IOC_FSBULKSTAT_SINGLE, &bsr) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
1623
e = lchown_path(&f, u, -1) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
1668
e = fd < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
1680
e1 = errno;
test/stress/fsstress/fsstress.c
1714
printf("cannot set O_DIRECT: %s\n", strerror(errno));
test/stress/fsstress/fsstress.c
1749
e = fd < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
1761
procid, opno, f.path, errno);
test/stress/fsstress/fsstress.c
1785
procid, opno, f.path, errno);
test/stress/fsstress/fsstress.c
1803
e = read(fd, buf, len) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
1835
e = fd < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
1850
procid, opno, f.path, errno);
test/stress/fsstress/fsstress.c
1865
procid, opno, f.path, errno);
test/stress/fsstress/fsstress.c
1886
e = write(fd, buf, len) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
1912
e = fd < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
1921
e = fdatasync(fd) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
1949
e = fd < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
1961
procid, opno, f.path, errno);
test/stress/fsstress/fsstress.c
1972
e = ioctl(fd, XFS_IOC_FREESP64, &fl) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
1998
e = fd < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2007
e = fsync(fd) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2079
e = link_path(&f, &l) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2117
e = mkdir_path(&f, 0777) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2153
e = mknod_path(&f, S_IFCHR|0444, 0) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2183
e = fd < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2195
procid, opno, f.path, errno);
test/stress/fsstress/fsstress.c
2213
e = read(fd, buf, len) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2237
e = readlink_path(&f, buf, PATH_MAX) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2284
e = rename_path(&f, &newf) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2322
e = fd < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2334
procid, opno, f.path, errno);
test/stress/fsstress/fsstress.c
2345
e = ioctl(fd, XFS_IOC_RESVSP64, &fl) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2370
e = rmdir_path(&f) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2394
e = lstat64_path(&f, &stb) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2438
e = symlink_path(val, &f) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2474
e = stat64_path(&f, &stb) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2486
e = truncate64_path(&f, off) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2510
e = unlink_path(&f) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2540
e = fd < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2552
procid, opno, f.path, errno);
test/stress/fsstress/fsstress.c
2563
e = ioctl(fd, XFS_IOC_UNRESVSP64, &fl) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2594
e = fd < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
2606
procid, opno, f.path, errno);
test/stress/fsstress/fsstress.c
2618
e = write(fd, buf, len) < 0 ? errno : 0;
test/stress/fsstress/fsstress.c
469
fprintf(stderr, "Bad ej clear on %d (%d).\n", fd, errno);
test/stress/fsstress/fsstress.c
526
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
546
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
566
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
602
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
869
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
891
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
943
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
979
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsstress/fsstress.c
998
if (rval >= 0 || errno != ENAMETOOLONG)
test/stress/fsx/fsx.c
170
vwarnc(errno, fmt, ap);
test/stress/fsx/fsx.c
194
prt("%s%s%s\n", prefix, prefix ? ": " : "", strerror(errno));
test/stress/stress2/lib/main.c
186
if (errno != EEXIST)
test/stress/stress2/lib/main.c
191
if (errno != EEXIST)
test/stress/stress2/lib/main.c
61
if (errno != ESRCH)
test/stress/stress2/lib/resources.c
243
if (errno == ENOSPC && (flags & MNT_SOFTDEP) && (flags & MNT_QUOTA) == 0 &&
test/stress/stress2/lib/resources.c
271
int code = errno;
test/stress/stress2/lib/resources.c
283
int code = errno;
test/stress/stress2/testcases/creat/creat.c
122
if (errno != EINTR) {
test/stress/stress2/testcases/fts/fts.c
97
if (errno != 0 && errno != ENOENT)
test/stress/stress2/testcases/link/link.c
120
if (errno != EINTR) {
test/stress/stress2/testcases/link/link.c
130
if (errno != EINTR) {
test/stress/stress2/testcases/openat/doat.c
147
dir_exist = (errno == EEXIST);
test/stress/stress2/testcases/openat/doat.c
148
if (error && errno != EEXIST) {
test/stress/stress2/testcases/openat/doat.c
154
file_exist = (errno != ENOENT);
test/stress/stress2/testcases/openat/doat.c
186
link_exist = (errno == EEXIST);
test/stress/stress2/testcases/openat/doat.c
187
if (error && errno != EEXIST) {
test/stress/stress2/testcases/openat/doat.c
674
if (tests[i].tests[j].result == errno)
test/stress/stress2/testcases/shm/shm.c
103
if (shmctl(shmid, IPC_RMID, NULL) == -1 && errno != EINVAL)
test/stress/stress2/testcases/shm/shm.c
106
if (semctl(semid, 0, IPC_RMID, 0) == -1 && errno != EINVAL)
test/stress/stress2/testcases/shm/shm.c
115
if (errno != EINTR && errno != EIDRM && errno != EINVAL)
test/stress/stress2/testcases/shm/shm.c
126
if (errno != EINTR && errno != EIDRM && errno != EINVAL)
test/stress/stress2/testcases/shm/shm.c
67
if (errno == ENOSPC) {
test/stress/stress2/testcases/shm/shm.c
81
if (errno == ENOSPC) {
test/stress/stress2/testcases/socket/socket.c
80
if (errno == EPIPE)
test/stress/stress2/testcases/symlink/symlink.c
116
if (errno != EINTR) {
test/stress/stress2/testcases/tcp/tcp.c
140
if (errno == EPIPE)
test/stress/stress2/testcases/udp/udp.c
102
if (n == -1 && errno == ENOBUFS)
test/stress/stress2/testcases/udp/udp.c
104
if (n == -1 && errno == ECONNREFUSED)
test/stress/stress2/tools/fstool.c
49
op, arg, sys_errlist[errno], file, line);
test/stress/stress2/tools/fstool.c
69
if (errno != EINTR) {
test/stress/t_mlock.c
43
strerror(errno));
test/stress/t_mlock.c
60
strerror(errno));
test/stress/tuxload.c
181
error = errno;
test/stress/tuxload.c
187
error = errno;
test/stress/webstress/webstress.c
178
while (wait(NULL) >= 0 || errno == EINTR)
test/stress/webstress/webstress.c
267
hostname, strerror(errno));
test/sysperf/exec1.c
85
while (wait3(&status, 0, NULL) >= 0 || errno == EINTR)
test/sysperf/lockmgr1.c
48
while (wait3(&status, 0, NULL) >= 0 || errno == EINTR)
test/sysperf/lockmgr2.c
61
while (wait3(&status, 0, NULL) >= 0 || errno == EINTR)
test/sysperf/lockmgr3.c
63
while (wait3(&status, 0, NULL) >= 0 || errno == EINTR)
test/sysperf/loop900k.c
72
while (wait3(NULL, 0, NULL) >= 0 || errno == EINTR)
test/sysperf/pipe900k.c
100
while (wait3(NULL, 0, NULL) >= 0 || errno == EINTR)
test/sysperf/randread.c
88
fprintf(stderr, "open %s: %s\n", av[1], strerror(errno));
test/sysperf/read1.c
48
if (errno == EROFS) {
test/sysperf/sleep900k.c
72
while (wait3(NULL, 0, NULL) >= 0 || errno == EINTR)
test/sysperf/syscall1.c
46
while (wait3(&status, 0, NULL) >= 0 || errno == EINTR)
test/sysperf/syscall2.c
93
while (wait3(NULL, 0, NULL) > 0 || errno == EINTR)
test/sysperf/umtx1.c
42
while (wait3(&status, 0, NULL) <= 0 || errno == EINTR)
test/testcases/io/pselect_1/pselect_1.c
92
assert(errno == EINTR);
test/testcases/io/select_1/select_1.c
90
assert(errno == EINTR);
test/testcases/io/select_2/select_2.c
16
printf ("Error %d opening temp file\n", errno);
test/testcases/libnvmm/h_io_assist.c
131
err(errno, "nvmm_vcpu_setstate");
test/testcases/libnvmm/h_io_assist.c
143
err(errno, "mmap");
test/testcases/libnvmm/h_io_assist.c
147
err(errno, "mmap");
test/testcases/libnvmm/h_io_assist.c
150
err(errno, "nvmm_hva_map");
test/testcases/libnvmm/h_io_assist.c
152
err(errno, "nvmm_hva_map");
test/testcases/libnvmm/h_io_assist.c
156
err(errno, "nvmm_gpa_map");
test/testcases/libnvmm/h_io_assist.c
160
err(errno, "nvmm_gpa_map");
test/testcases/libnvmm/h_io_assist.c
165
err(errno, "mmap");
test/testcases/libnvmm/h_io_assist.c
169
err(errno, "mmap");
test/testcases/libnvmm/h_io_assist.c
173
err(errno, "mmap");
test/testcases/libnvmm/h_io_assist.c
177
err(errno, "mmap");
test/testcases/libnvmm/h_io_assist.c
180
err(errno, "nvmm_hva_map");
test/testcases/libnvmm/h_io_assist.c
182
err(errno, "nvmm_hva_map");
test/testcases/libnvmm/h_io_assist.c
184
err(errno, "nvmm_hva_map");
test/testcases/libnvmm/h_io_assist.c
186
err(errno, "nvmm_hva_map");
test/testcases/libnvmm/h_io_assist.c
191
err(errno, "nvmm_gpa_map");
test/testcases/libnvmm/h_io_assist.c
195
err(errno, "nvmm_gpa_map");
test/testcases/libnvmm/h_io_assist.c
199
err(errno, "nvmm_gpa_map");
test/testcases/libnvmm/h_io_assist.c
203
err(errno, "nvmm_gpa_map");
test/testcases/libnvmm/h_io_assist.c
245
err(errno, "nvmm_assist_io");
test/testcases/libnvmm/h_io_assist.c
258
err(errno, "nvmm_vcpu_run");
test/testcases/libnvmm/h_io_assist.c
387
err(errno, "nvmm_init");
test/testcases/libnvmm/h_io_assist.c
389
err(errno, "nvmm_machine_create");
test/testcases/libnvmm/h_io_assist.c
391
err(errno, "nvmm_vcpu_create");
test/testcases/libnvmm/h_mem_assist.c
105
err(errno, "nvmm_vcpu_run");
test/testcases/libnvmm/h_mem_assist.c
237
err(errno, "nvmm_vcpu_getstate");
test/testcases/libnvmm/h_mem_assist.c
283
err(errno, "nvmm_vcpu_setstate");
test/testcases/libnvmm/h_mem_assist.c
295
err(errno, "mmap");
test/testcases/libnvmm/h_mem_assist.c
298
err(errno, "nvmm_hva_map");
test/testcases/libnvmm/h_mem_assist.c
302
err(errno, "nvmm_gpa_map");
test/testcases/libnvmm/h_mem_assist.c
307
err(errno, "mmap");
test/testcases/libnvmm/h_mem_assist.c
311
err(errno, "mmap");
test/testcases/libnvmm/h_mem_assist.c
315
err(errno, "mmap");
test/testcases/libnvmm/h_mem_assist.c
319
err(errno, "mmap");
test/testcases/libnvmm/h_mem_assist.c
322
err(errno, "nvmm_hva_map");
test/testcases/libnvmm/h_mem_assist.c
324
err(errno, "nvmm_hva_map");
test/testcases/libnvmm/h_mem_assist.c
326
err(errno, "nvmm_hva_map");
test/testcases/libnvmm/h_mem_assist.c
328
err(errno, "nvmm_hva_map");
test/testcases/libnvmm/h_mem_assist.c
333
err(errno, "nvmm_gpa_map");
test/testcases/libnvmm/h_mem_assist.c
337
err(errno, "nvmm_gpa_map");
test/testcases/libnvmm/h_mem_assist.c
341
err(errno, "nvmm_gpa_map");
test/testcases/libnvmm/h_mem_assist.c
345
err(errno, "nvmm_gpa_map");
test/testcases/libnvmm/h_mem_assist.c
375
err(errno, "nvmm_machine_create");
test/testcases/libnvmm/h_mem_assist.c
377
err(errno, "nvmm_vcpu_create");
test/testcases/libnvmm/h_mem_assist.c
387
err(errno, "nvmm_vcpu_destroy");
test/testcases/libnvmm/h_mem_assist.c
389
err(errno, "nvmm_machine_destroy");
test/testcases/libnvmm/h_mem_assist.c
423
err(errno, "nvmm_vcpu_getstate");
test/testcases/libnvmm/h_mem_assist.c
430
err(errno, "nvmm_vcpu_setstate");
test/testcases/libnvmm/h_mem_assist.c
441
err(errno, "mmap");
test/testcases/libnvmm/h_mem_assist.c
444
err(errno, "nvmm_hva_map");
test/testcases/libnvmm/h_mem_assist.c
448
err(errno, "nvmm_gpa_map");
test/testcases/libnvmm/h_mem_assist.c
463
err(errno, "nvmm_machine_create");
test/testcases/libnvmm/h_mem_assist.c
465
err(errno, "nvmm_vcpu_create");
test/testcases/libnvmm/h_mem_assist.c
475
err(errno, "nvmm_vcpu_destroy");
test/testcases/libnvmm/h_mem_assist.c
477
err(errno, "nvmm_machine_destroy");
test/testcases/libnvmm/h_mem_assist.c
485
err(errno, "nvmm_init");
test/testcases/libnvmm/h_mem_assist.c
92
err(errno, "nvmm_assist_mem");
test/testcases/posixipc/common/common.c
132
alarm_errno = errno;
test/testcases/posixipc/common/common.c
179
errno = alarm_errno;
test/testcases/posixipc/common/common.c
252
return (CSTAT(1, errno));
test/testcases/posixipc/common/common.c
254
return (CSTAT(2, errno));
test/testcases/posixipc/common/common.c
256
return (CSTAT(3, errno));
test/testcases/posixipc/common/common.c
273
if (errno != error) {
test/testcases/posixipc/common/common.c
306
if (errno != error) {
test/testcases/posixipc/common/common.c
307
fprintf(stderr, "sem_open: %s\n", strerror(errno));
test/testcases/posixipc/common/common.c
326
if (errno != error) {
test/testcases/posixipc/common/common.c
345
if (errno != error) {
test/testcases/posixipc/common/common.c
362
if (errno != error) {
test/testcases/posixipc/common/common.c
380
if (errno != error) {
test/testcases/posixipc/trywait_locked/trywait_locked.c
17
if (errno != EAGAIN) {
test/testcases/posixipc/wait_two_proc/wait_two_proc.c
28
errno = CSTAT_ERROR(stat);
test/testcases/threads/umtx_errno/umtx_errno.c
27
if (errno != 0)
test/udp/conn2send/udp_conn2send.c
74
int error = errno;
tools/regression/lib/libc/gen/test-wordexp.c
50
serrno = errno;
tools/regression/lib/libc/gen/test-wordexp.c
53
errno = serrno;
tools/regression/p1003_1b/fifo.c
103
exit(errno);
tools/regression/p1003_1b/fifo.c
116
err(errno, "mmap");
tools/regression/p1003_1b/fifo.c
159
exit(errno);
tools/regression/p1003_1b/fifo.c
209
exit(errno);
tools/regression/p1003_1b/memlock.c
48
errno = 0;
tools/regression/p1003_1b/memlock.c
50
if (errno != 0) {
tools/regression/p1003_1b/memlock.c
66
e = errno;
tools/regression/p1003_1b/memlock.c
70
e = errno;
tools/regression/p1003_1b/prutil.c
16
err(errno, text);
tools/regression/p1003_1b/prutil.c
44
errno = 0;
tools/regression/p1003_1b/sched.c
100
exit(errno);
tools/regression/p1003_1b/sched.c
125
errno = 0;
tools/regression/p1003_1b/sched.c
127
if (errno != 0) {
tools/regression/p1003_1b/sched.c
220
q(__LINE__, errno, "tmpnam " NAM);
tools/regression/p1003_1b/sched.c
65
errno = 0;
tools/regression/p1003_1b/sched.c
67
if ( (smin = sched_get_priority_min(sched)) == -1 && errno)
tools/regression/p1003_1b/sched.c
70
if ( (smax = sched_get_priority_max(sched)) == -1 && errno)
tools/regression/p1003_1b/sched.c
91
errno = 0;
tools/regression/p1003_1b/yield.c
101
err(errno, "sched_setscheduler");
tools/regression/p1003_1b/yield.c
154
err(errno, "sched_yield");
tools/regression/p1003_1b/yield.c
191
err(errno, "sched_yield");
tools/regression/p1003_1b/yield.c
74
errno = 0;
tools/regression/p1003_1b/yield.c
77
if (set.sched_priority == -1 && errno) {
tools/regression/p1003_1b/yield.c
79
exit(errno);
tools/regression/p1003_1b/yield.c
96
err(errno, "mmap");
tools/regression/priv/test_acct.c
27
return errno;
tools/regression/priv/test_acct.c
31
return errno;
tools/regression/sockets/sigpipe/sigpipe.c
112
if (errno == EPIPE)
tools/regression/sockets/sigpipe/sigpipe.c
96
if (errno == EPIPE)
tools/tools/ath/athpoke/athpoke.c
109
errno = 0;
tools/tools/ath/athprom/athprom.c
137
if (off == 0 && errno == EINVAL)
tools/tools/ath/athprom/athprom.c
144
if (val == 0 && errno == EINVAL)
tools/tools/ath/athprom/athprom.c
82
if (fd == NULL && errno == ENOENT) {
tools/tools/net80211/stumbler/stumbler.c
314
if(errno != EBUSY)
tools/tools/net80211/w00t/assoc/assoc.c
106
if (errno == EMSGSIZE)
tools/tools/net80211/w00t/libw00t/w00t.c
100
if(errno != EBUSY)
tools/tools/net80211/wesside/wesside/wesside.c
2173
printf("Can't open tap: %s\n", strerror(errno));
tools/tools/net80211/wesside/wesside/wesside.c
438
if(errno != EBUSY) {
tools/tools/net80211/wesside/wesside/wesside.c
926
if (errno != ENOENT) {
tools/tools/net80211/wesside/wesside/wesside.c
981
strerror(errno));
tools/tools/net80211/wlaninject/wlaninject.c
98
else if (errno != EBUSY)
tools/tools/netrate/accept_connect/kq_connect_client/kq_connect_client.c
255
int error = errno;
tools/tools/netrate/kq_sendrecv/kq_recvserv/kq_recvserv.c
353
if (n == 0 || errno != EAGAIN)
tools/tools/netrate/kq_sendrecv/kq_sendcli/kq_sendcli.c
547
if (errno == EAGAIN) {
tools/tools/netrate/kq_sendrecv/kq_sendcli/kq_sendcli.c
569
if (errno == EAGAIN) {
tools/tools/netrate/kq_sendrecv/kq_sendcli/kq_sendcli.c
707
if (errno == EAGAIN) {
tools/tools/netrate/kq_sendrecv/kq_sendcli/kq_sendcli.c
798
if (n == 0 || (n < 0 && errno == EAGAIN))
tools/tools/netrate/kq_sendrecv/kq_sendcli/kq_sendcli.c
805
if (errno != EAGAIN) {
tools/tools/netrate/kq_sendrecv/kq_sendcli/kq_sendcli.c
806
conn->c_err = errno;
tools/tools/usbtest/usb_control_ep_test.c
404
"timeout to 1 (error=%d) \n", errno);
tools/tools/usbtest/usbtest.c
184
"to %d (error=%d)\n", template, errno);
tools/tools/usbtest/usbtest.c
208
"to %d (error=%d)\n", mode, errno);
tools/tools/usbtest/usbtest.c
215
"to %d (error=%d)\n", pattern_interval, errno);
tools/tools/usbtest/usbtest.c
224
"(error=%d)\n", errno);
tools/tools/usbtest/usbtest.c
231
"to '%s' (error=%d)\n", pattern, errno);
tools/tools/usbtest/usbtest.c
329
" to %d (error=%d) \n", mode, errno);
tools/tools/usbtest/usbtest.c
336
"to %d (error=%d)\n", interval, errno);
tools/tools/usbtest/usbtest.c
343
"to '%s' (error=%d)\n", pattern, errno);
tools/tools/usbtest/usbtest.c
419
"to %d (error=%d)\n", mode, errno);
tools/tools/usbtest/usbtest.c
426
"to %d (error=%d)\n", cursor_interval, errno);
tools/tools/usbtest/usbtest.c
433
"to %d (error=%d)\n", button_interval, errno);
tools/tools/usbtest/usbtest.c
440
"to %d (error=%d)\n", cursor_radius, errno);
tools/tools/usbtest/usbtest.c
537
"to %d (error=%d)\n", mode, errno);
tools/tools/usbtest/usbtest.c
544
"to %d (error=%d)\n", pattern_interval, errno);
tools/tools/usbtest/usbtest.c
553
"(error=%d)\n", errno);
tools/tools/usbtest/usbtest.c
560
"to '%s' (error=%d)\n", pattern, errno);
tools/tools/usbtest/usbtest.c
702
"to %d (error=%d)\n", force_fs, errno);
usr.bin/at/at.c
172
if (errno != ERANGE)
usr.bin/at/at.c
273
if (errno != ENOENT)
usr.bin/at/at.c
722
errno = 0;
usr.bin/at/at.c
724
ep == argv[i] || *ep != '\0' || errno)
usr.bin/at/panic.c
66
int serrno = errno;
usr.bin/at/panic.c
74
errno = serrno;
usr.bin/at/perm.c
108
else if (errno == ENOENT)
usr.bin/at/perm.c
121
else if (errno != ENOENT)
usr.bin/backlight/backlight.c
151
device_name, strerror(errno));
usr.bin/bc/bc.y
1067
int status, save_errno = errno;
usr.bin/bc/bc.y
1072
if (errno == EINTR)
usr.bin/bc/bc.y
1082
errno = save_errno;
usr.bin/bc/tty.c
34
while ((ret = tcsetattr(0, TCSADRAIN, t)) == -1 && errno == EINTR)
usr.bin/bc/tty.c
44
while ((ret = tcgetattr(0, t) == -1) && errno == EINTR)
usr.bin/bc/tty.c
53
int save_errno = errno;
usr.bin/bc/tty.c
65
errno = save_errno;
usr.bin/brandelf/brandelf.c
75
if (errno == ERANGE || type < 0 || type > 255) {
usr.bin/calendar/utils.h
237
errno = 0;
usr.bin/calendar/utils.h
239
if (errno == EDOM)
usr.bin/chat/chat.c
1082
if (errno == EINTR || errno == EWOULDBLOCK)
usr.bin/chat/chat.c
1439
str = strerror(errno);
usr.bin/checkpt/checkpt.c
76
fprintf(stderr, "thaw failed error %d %s\n", errno, strerror(errno));
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
183
if (errno)
usr.bin/chpass/field.c
108
errno = 0;
usr.bin/chpass/field.c
110
if (*np || (id == (uid_t)ULONG_MAX && errno == ERANGE)) {
usr.bin/chpass/field.c
138
errno = 0;
usr.bin/chpass/field.c
140
if (*np || (id == (uid_t)ULONG_MAX && errno == ERANGE)) {
usr.bin/chpass/field.c
235
if (errno == ENOENT)
usr.bin/cmp/cmp.c
112
} else if ((fd1 = open(file1, oflag, 0)) < 0 && errno != EMLINK) {
usr.bin/cmp/cmp.c
125
} else if ((fd2 = open(file2, oflag, 0)) < 0 && errno != EMLINK) {
usr.bin/compress/compress.c
357
if (errno != EPERM)
usr.bin/compress/compress.c
361
if (chmod(name, fs->st_mode) && errno != EOPNOTSUPP)
usr.bin/compress/compress.c
364
if (chflags(name, fs->st_flags) && errno != EOPNOTSUPP)
usr.bin/compress/zopen.c
479
errno = EFTYPE;
usr.bin/compress/zopen.c
487
errno = EFTYPE;
usr.bin/compress/zopen.c
685
errno = EINVAL;
usr.bin/crunch/crunchide/exec_elf64.c
105
rv == -1 ? strerror(errno) : "short write");
usr.bin/crunch/crunchide/exec_elf64.c
88
rv == -1 ? strerror(errno) : "short read");
usr.bin/csplit/csplit.c
117
errno = 0;
usr.bin/csplit/csplit.c
119
if (sufflen <= 0 || *ep != '\0' || errno != 0)
usr.bin/csplit/csplit.c
176
errno = 0;
usr.bin/csplit/csplit.c
178
if (reps < 0 || *ep != '}' || errno != 0)
usr.bin/csplit/csplit.c
372
errno = 0;
usr.bin/csplit/csplit.c
374
if (*ep != '\0' || errno != 0)
usr.bin/csplit/csplit.c
442
errno = 0;
usr.bin/csplit/csplit.c
444
if (tgtline <= 0 || errno != 0 || *ep != '\0')
usr.bin/dc/dc.c
96
errno = EISDIR;
usr.bin/dfregress/kernel.c
106
strerror(errno));
usr.bin/dfregress/kernel.c
118
strerror(errno));
usr.bin/dfregress/kernel.c
137
strerror(errno));
usr.bin/dfregress/kernel.c
72
strerror(errno));
usr.bin/dfregress/kernel.c
83
strerror(errno));
usr.bin/dfregress/kernel.c
94
strerror(errno));
usr.bin/dfregress/runlist.c
132
testcase_dir_only, strerror(errno));
usr.bin/dfregress/userland.c
100
"%s\n", strerror(errno));
usr.bin/dfregress/userland.c
109
"binary %s: %s\n", binary, strerror(errno));
usr.bin/dfregress/userland.c
129
"set up timer: %s", strerror(errno));
usr.bin/dfregress/userland.c
138
if (errno == EINTR) {
usr.bin/dfregress/userland.c
144
} else if (errno == ECHILD) {
usr.bin/dfregress/userland.c
151
"wait4(): %s", strerror(errno));
usr.bin/dfregress/userland.c
198
strerror(errno));
usr.bin/dfregress/userland.c
247
fprintf(stderr, "ERR: NOT RUN: %s", strerror(errno));
usr.bin/dfregress/userland.c
91
"%s\n", strerror(errno));
usr.bin/diff/diffdir.c
176
if (!(Nflag || Pflag) || errno != ENOENT) {
usr.bin/diff/diffdir.c
186
if (!Nflag || errno != ENOENT) {
usr.bin/diff/diffdir.c
84
if (errno == ENOENT && (Nflag || Pflag)) {
usr.bin/diff/diffdir.c
96
if (errno == ENOENT && Nflag) {
usr.bin/dsynth/build.c
1613
errno == EINTR) {
usr.bin/dsynth/build.c
1679
errno == EINTR);
usr.bin/dsynth/build.c
2485
strerror(errno));
usr.bin/dsynth/build.c
2497
strerror(errno));
usr.bin/dsynth/build.c
2501
printf("tcgetattr failed: %s\n", strerror(errno));
usr.bin/dsynth/build.c
2615
work->index, pkg->logfile, strerror(errno));
usr.bin/dsynth/build.c
2626
pkg->logfile, strerror(errno));
usr.bin/dsynth/build.c
2750
if (wpid < 0 && errno != EINTR) {
usr.bin/dsynth/build.c
2839
strerror(errno), fstat(fdlog, &st));
usr.bin/dsynth/build.c
3031
if (errno != EINTR && errno != EAGAIN)
usr.bin/dsynth/bulk.c
304
if (r < 0 && errno == EINTR)
usr.bin/dsynth/bulk.c
326
if (r < 0 && errno == EINTR)
usr.bin/dsynth/mount.c
429
switch(errno) {
usr.bin/dsynth/mount.c
436
buf, strerror(errno));
usr.bin/dsynth/subs.c
335
if (errno == EINTR)
usr.bin/dsynth/subs.c
357
if (errno == EINTR)
usr.bin/dsynth/subs.c
624
if (errno == EINTR)
usr.bin/dsynth/subs.c
689
if (errno != EAGAIN) { /* something messed up */
usr.bin/dsynth/subs.c
690
fprintf(stderr, "ERRNO %d\n", errno);
usr.bin/dsynth/subs.c
81
fprintf(stderr, ": %s", strerror(errno));
usr.bin/du/du.c
135
errno = 0;
usr.bin/du/du.c
137
if (errno == ERANGE || depth < 0) {
usr.bin/du/du.c
295
if (errno)
usr.bin/env/env.c
120
err(errno == ENOENT ? 127 : 126, "%s", *argv);
usr.bin/env/envopts.c
128
errno = ENOENT;
usr.bin/fetch/fetch.c
1151
if (errno == ENOENT) {
usr.bin/fetch/fetch.c
577
if (r == -1 && errno != ENOENT) {
usr.bin/fetch/fetch.c
789
if (ferror(f) && errno == EINTR && !sigint)
usr.bin/fetch/fetch.c
798
if (ferror(of) && errno == EINTR && !sigint)
usr.bin/fetch/fetch.c
808
sigalrm = ferror(f) && errno == ETIMEDOUT;
usr.bin/find/find.c
232
if (errno && (!ignore_readdir_race || errno != ENOENT))
usr.bin/find/function.c
390
if (rmdir(entry->fts_accpath) < 0 && errno != ENOTEMPTY)
usr.bin/finger/util.c
357
if (errno != ENOENT) {
usr.bin/gcore/elfcore.c
464
if ((mapsize != -1 || errno != EFBIG) && mapsize != bufsize) {
usr.bin/gcore/gcore.c
155
binfile, cnt > 0 ? strerror(EIO) : strerror(errno));
usr.bin/getaddrinfo/getaddrinfo.c
192
errno = 0;
usr.bin/getaddrinfo/getaddrinfo.c
196
if ((errno == ERANGE) && ((value == LONG_MAX) || (value == LONG_MIN)))
usr.bin/getaddrinfo/getaddrinfo.c
234
errno = 0;
usr.bin/getaddrinfo/getaddrinfo.c
238
if ((errno == ERANGE) && ((value == LONG_MAX) || (value == LONG_MIN)))
usr.bin/getconf/getconf.c
143
savederr = errno;
usr.bin/getconf/getconf.c
144
errno = 0;
usr.bin/getconf/getconf.c
147
if (errno)
usr.bin/getconf/getconf.c
157
errno = savederr;
usr.bin/getconf/getconf.c
165
errno = 0;
usr.bin/getconf/getconf.c
167
if (value == -1 && errno != 0)
usr.bin/getconf/getconf.c
180
errno = 0;
usr.bin/getconf/getconf.c
182
if (value == -1 && errno != 0)
usr.bin/getent/getent.c
147
errno = 0;
usr.bin/getent/getent.c
149
if (num == ULONG_MAX && errno == ERANGE)
usr.bin/gzip/gzip.c
1049
if (errno != EPERM)
usr.bin/gzip/gzip.c
1738
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
281
errno = EINVAL;
usr.bin/hesinfo/hesinfo.c
60
if (errno == ENOEXEC)
usr.bin/hesinfo/hesinfo.c
74
if (errno == ENOENT)
usr.bin/hesinfo/hesinfo.c
93
if (errno == ENOENT)
usr.bin/hexdump/odsyntax.c
132
errno = 0;
usr.bin/hexdump/odsyntax.c
140
if (errno != 0 || skip < 0 || strlen(end) > 1)
usr.bin/hexdump/odsyntax.c
329
errno = 0;
usr.bin/hexdump/odsyntax.c
331
if (errno != 0 || isize == 0)
usr.bin/hexdump/odsyntax.c
393
errno = 0;
usr.bin/hexdump/odsyntax.c
395
if (errno != 0 || isize == 0)
usr.bin/iconv/iconv.c
101
if (ret == (size_t)-1 && errno != E2BIG) {
usr.bin/iconv/iconv.c
102
if (errno != EINVAL || in == inbuf)
usr.bin/ioprio/ioprio.c
60
errno = 0;
usr.bin/ioprio/ioprio.c
62
if (ep == optarg || *ep != '\0' || errno ||
usr.bin/ioprio/ioprio.c
76
errno = 0;
usr.bin/ioprio/ioprio.c
80
err(errno == ENOENT || errno == ENOTDIR ? 127 : 126, "%s", *argv);
usr.bin/kcollect/kcollect.c
621
switch (errno) {
usr.bin/kcollect/kcollect.c
626
datafile, errno);
usr.bin/kcollect/kcollect.c
632
datafile, errno);
usr.bin/kcollect/kcollect.c
646
datafile, errno);
usr.bin/kcollect/kcollect.c
669
switch (errno) {
usr.bin/kcollect/kcollect.c
674
datafile, errno);
usr.bin/kcollect/kcollect.c
680
datafile, errno);
usr.bin/kcollect/kcollect.c
733
datafile, errno);
usr.bin/kcollect/kcollect.c
828
datafile, errno);
usr.bin/killall/killall.c
325
} while (st == -1 && errno == ENOMEM);
usr.bin/ktrace/ktrace.c
135
if (unlink(tracefile) == -1 && errno != ENOENT)
usr.bin/limits/limits.c
543
errno = 0;
usr.bin/limits/limits.c
547
if (e == NULL || e == s || errno)
usr.bin/limits/limits.c
581
errno = 0;
usr.bin/limits/limits.c
585
if (e == NULL || e == s || errno)
usr.bin/localedef/localedef.c
119
errf(strerror(errno));
usr.bin/localedef/localedef.c
131
errf(strerror(errno));
usr.bin/localedef/localedef.c
135
errf(strerror(errno));
usr.bin/localedef/localedef.c
181
strerror(errno));
usr.bin/localedef/localedef.c
195
errf(strerror(errno));
usr.bin/localedef/localedef.c
201
errf(strerror(errno));
usr.bin/localedef/localedef.c
216
errf(strerror(errno));
usr.bin/localedef/localedef.c
331
if ((errno != ENOENT) ||
usr.bin/localedef/localedef.c
333
errf(strerror(errno));
usr.bin/lock/lock.c
225
if (tcgetattr(0, &ntty) && (errno != EINTR))
usr.bin/lockf/lockf.c
161
if (errno == EAGAIN || errno == EINTR)
usr.bin/lockf/lockf.c
219
if (errno == ENOENT || errno == EINTR)
usr.bin/login/login.c
449
if (errno != EOPNOTSUPP && errno != EROFS)
usr.bin/login/login.c
453
if (errno != EROFS)
usr.bin/login/login_fbtab.c
133
if (chflags(path, 0) && errno != ENOENT && errno != EOPNOTSUPP)
usr.bin/login/login_fbtab.c
135
if (chmod(path, mask) && errno != ENOENT)
usr.bin/login/login_fbtab.c
137
if (chown(path, uid, gid) && errno != ENOENT)
usr.bin/m4/eval.c
846
if (errno == EINVAL && mimic_gnu)
usr.bin/m4/gnum4.c
638
} while (cc > 0 || (cc == -1 && errno == EINTR));
usr.bin/m4/manual_tokenizer.c
1366
int oerrno = errno;
usr.bin/m4/manual_tokenizer.c
1384
errno = oerrno;
usr.bin/m4/manual_tokenizer.c
1812
errno = 0;
usr.bin/m4/manual_tokenizer.c
1814
if (((l == LONG_MAX || l == LONG_MIN) && errno == ERANGE) ||
usr.bin/m4/manual_tokenizer.c
615
errno=0; \
usr.bin/m4/manual_tokenizer.c
618
if( errno != EINTR) \
usr.bin/m4/manual_tokenizer.c
623
errno=0; \
usr.bin/mail/fio.c
261
errno = EISDIR;
usr.bin/mail/lex.c
76
if (!isedit && errno == ENOENT)
usr.bin/mail/lex.c
90
errno = S_ISDIR(stb.st_mode) ? EISDIR : EINVAL;
usr.bin/mkfifo/mkfifo.c
79
errno = 0;
usr.bin/mkfifo/mkfifo.c
81
if (errno != 0)
usr.bin/mkstr/mkstr.c
101
errno = ENAMETOOLONG;
usr.bin/mkstr/mkstr.c
109
errno = ENAMETOOLONG;
usr.bin/msgs/msgs.c
244
err(errno, "%s", fname);
usr.bin/msgs/msgs.c
269
err(errno, "%s", _PATH_MSGS);
usr.bin/msgs/msgs.c
318
err(errno, "%s", fname);
usr.bin/msgs/msgs.c
331
err(errno, "%s", fname);
usr.bin/msgs/msgs.c
337
err(errno, "%s", fname);
usr.bin/msgs/msgs.c
410
err(errno, "%s", fname);
usr.bin/netstat/inet.c
132
if (errno != ENOENT)
usr.bin/netstat/inet.c
897
if (errno != ENOENT)
usr.bin/netstat/inet6.c
994
if (errno != ENOENT)
usr.bin/netstat/unix.c
75
if (errno != ENOENT)
usr.bin/nice/nice.c
67
errno = 0;
usr.bin/nice/nice.c
69
if (ep == optarg || *ep != '\0' || errno ||
usr.bin/nice/nice.c
83
errno = 0;
usr.bin/nice/nice.c
85
if (errno)
usr.bin/nice/nice.c
90
err(errno == ENOENT || errno == ENOTDIR ? 127 : 126, "%s", *argv);
usr.bin/nl/nl.c
173
errno = 0;
usr.bin/nl/nl.c
176
((val == LONG_MIN || val == LONG_MAX) && errno != 0))
usr.bin/nl/nl.c
182
errno = 0;
usr.bin/nl/nl.c
185
(uval == ULONG_MAX && errno != 0))
usr.bin/nl/nl.c
205
errno = 0;
usr.bin/nl/nl.c
208
((val == LONG_MIN || val == LONG_MAX) && errno != 0))
usr.bin/nl/nl.c
214
errno = 0;
usr.bin/nl/nl.c
217
((val == LONG_MIN || val == LONG_MAX) && errno != 0))
usr.bin/nohup/nohup.c
80
exit_status = (errno == ENOENT) ? EXIT_NOTFOUND : EXIT_NOEXEC;
usr.bin/patch/mkpath.c
65
if (errno != ENOENT || (mkdir(path, 0777) &&
usr.bin/patch/mkpath.c
66
errno != EEXIST)) {
usr.bin/patch/util.c
155
if (errno != EXDEV || copy_file(orig, bakname) < 0)
usr.bin/patch/util.c
256
int errnum = errno;
usr.bin/patch/util.c
76
strerror(errno));
usr.bin/patch/util.c
84
if (errno != EXDEV || copy_file(from, to) < 0) {
usr.bin/patch/util.c
86
to, from, strerror(errno));
usr.bin/pathchk/pathchk.c
118
errno = 0;
usr.bin/pathchk/pathchk.c
120
if (namemax == -1 && errno != 0)
usr.bin/pathchk/pathchk.c
138
if (!pflag && stat(pathd, &sb) == -1 && errno != ENOENT) {
usr.bin/pathchk/pathchk.c
154
errno = 0;
usr.bin/pathchk/pathchk.c
157
if (namemax == -1 && errno != 0)
usr.bin/pathchk/pathchk.c
166
errno = 0;
usr.bin/pathchk/pathchk.c
168
if (pathmax == -1 && errno != 0)
usr.bin/perror/perror.c
50
errno = 0;
usr.bin/perror/perror.c
54
if (errno != 0)
usr.bin/pkill/pkill.c
646
if (errno != ESRCH)
usr.bin/pkill/pkill.c
722
if (errno == ENOENT)
usr.bin/pkill/pkill.c
768
if (errno == ENOENT)
usr.bin/pkill/pkill.c
821
if (errno != EWOULDBLOCK) {
usr.bin/pr/pr.c
1279
strerror(errno));
usr.bin/pr/pr.c
1304
strerror(errno));
usr.bin/pr/pr.c
1318
argv[eoptind], strerror(errno));
usr.bin/pr/pr.c
1336
strerror(errno));
usr.bin/pr/pr.c
1347
argv[eoptind], strerror(errno));
usr.bin/pr/pr.c
1541
(void)fprintf(err, "pr: write failure, %s\n", strerror(errno));
usr.bin/printf/printf.c
589
errno = 0;
usr.bin/printf/printf.c
602
if (errno == ERANGE) {
usr.bin/printf/printf.c
625
errno = 0;
usr.bin/printf/printf.c
637
if (errno == ERANGE) {
usr.bin/pwait/pwait.c
101
errno = 0;
usr.bin/pwait/pwait.c
103
if (pid < 0 || *end != '\0' || errno != 0) {
usr.bin/renice/renice.c
122
errno = 0;
usr.bin/renice/renice.c
124
if (oldprio == -1 && errno) {
usr.bin/renice/renice.c
149
errno = 0;
usr.bin/renice/renice.c
151
if (v < INT_MIN || v > INT_MAX || errno == ERANGE) {
usr.bin/rfcomm_sppd/rfcomm_sppd.c
263
if (errno == EINTR)
usr.bin/rfcomm_sppd/rfcomm_sppd.c
345
if (rfcomm_channel_lookup(laddr, raddr, s->class, &channel, &errno) < 0)
usr.bin/rfcomm_sppd/rfcomm_sppd.c
434
if (ss == NULL || (errno = sdp_error(ss)) != 0)
usr.bin/rfcomm_sppd/rfcomm_sppd.c
439
errno = sdp_error(ss);
usr.bin/rfcomm_sppd/rfcomm_sppd.c
465
if (errno != EINTR) {
usr.bin/script/script.c
219
if (n < 0 && errno != EINTR)
usr.bin/sdiff/edit.c
63
if (errno != EINTR)
usr.bin/sdiff/edit.c
66
errno = EINTR;
usr.bin/sdiff/edit.c
71
saved_errno = errno;
usr.bin/sdiff/edit.c
76
errno = saved_errno;
usr.bin/sdiff/sdiff.c
169
if (errno == ENOENT && strcmp(source_file, "-") == 0)
usr.bin/sdpquery/search.c
600
if (xs == NULL || (errno = sdp_error(xs)) != 0)
usr.bin/sed/compile.c
377
errno = 0;
usr.bin/sed/compile.c
379
if (*endptr != '\0' || errno != 0)
usr.bin/sed/compile.c
710
errno = 0;
usr.bin/sed/compile.c
712
if (errno == ERANGE || nval > INT_MAX)
usr.bin/sed/process.c
581
errx(1, "%s: %s", outfname, strerror(errno ? errno : EIO));
usr.bin/sed/process.c
662
errx(1, "%s: %s", outfname, strerror(errno ? errno : EIO));
usr.bin/seq/seq.c
364
errno = 0;
usr.bin/seq/seq.c
367
if (errno == ERANGE)
usr.bin/setcaps/setcaps.c
131
which, strerror(errno));
usr.bin/shlock/shlock.c
128
if (errno != EEXIST)
usr.bin/shlock/shlock.c
132
if (unlink(tmpf) && errno != ENOENT) {
usr.bin/shlock/shlock.c
153
if (errno != EEXIST) {
usr.bin/shlock/shlock.c
198
switch (errno) {
usr.bin/shlock/shlock.c
241
errno = 0;
usr.bin/shlock/shlock.c
243
if ((*endptr != '\0' && *endptr != '\n') || errno ||
usr.bin/shlock/shlock.c
254
switch (errno) {
usr.bin/shlock/shlock.c
73
errno = 0;
usr.bin/shlock/shlock.c
75
if (*endptr != '\0' || errno ||
usr.bin/sockstat/sockstat.c
213
if (errno == ENOENT)
usr.bin/sockstat/sockstat.c
220
if (errno == ENOENT)
usr.bin/sort/bwstring.c
116
errno = 0;
usr.bin/sort/bwstring.c
118
if (errno == EILSEQ) {
usr.bin/sort/bwstring.c
119
errno = 0;
usr.bin/sort/bwstring.c
121
if (errno != 0) {
usr.bin/sort/coll.c
1143
errno = 0;
usr.bin/sort/coll.c
1145
err1 = errno;
usr.bin/sort/coll.c
1160
errno = 0;
usr.bin/sort/coll.c
1162
err2 = errno;
usr.bin/sort/coll.c
1202
errno = 0;
usr.bin/sort/coll.c
1204
err1 = errno;
usr.bin/sort/coll.c
1208
errno = 0;
usr.bin/sort/coll.c
1210
err2 = errno;
usr.bin/sort/file.c
1573
if (errno == EAGAIN) {
usr.bin/sort/radixsort.c
626
if (errno == EAGAIN) {
usr.bin/sort/sort.c
1144
errno = EINVAL;
usr.bin/sort/sort.c
1221
errno = 0;
usr.bin/sort/sort.c
1223
if (errno != 0)
usr.bin/sort/sort.c
416
errno = 0;
usr.bin/sort/sort.c
419
if (errno != 0) {
usr.bin/sort/sort.c
678
errno = 0;
usr.bin/sort/sort.c
680
if (errno != 0)
usr.bin/sort/sort.c
687
errno = 0;
usr.bin/sort/sort.c
689
if (errno != 0)
usr.bin/sort/sort.c
705
errno = 0;
usr.bin/sort/sort.c
707
if (errno != 0)
usr.bin/sort/sort.c
710
errno = 0;
usr.bin/sort/sort.c
712
if (errno != 0)
usr.bin/sort/sort.c
833
errno = 0;
usr.bin/sort/sort.c
835
if (errno != 0)
usr.bin/sort/sort.c
845
errno = 0;
usr.bin/sort/sort.c
847
if (errno != 0)
usr.bin/stat/stat.c
354
errno = EINVAL;
usr.bin/stat/stat.c
367
errno == ENOENT &&
usr.bin/stat/stat.c
369
errno = ENOENT;
usr.bin/su/su.c
212
if (getauid(&auid) < 0 && errno != ENOSYS) {
usr.bin/su/su.c
213
syslog(LOG_AUTH | LOG_ERR, "getauid: %s", strerror(errno));
usr.bin/su/su.c
237
errno = 0;
usr.bin/su/su.c
239
if (errno)
usr.bin/systat/altqs.c
398
(size_t)0) != 0) && (errno != ENOENT))
usr.bin/systat/ifstat.c
389
(size_t)0) != 0) && (errno != ENOENT))
usr.bin/systat/mbufs.c
185
printw("sysctl: mbstat: %s", strerror(errno));
usr.bin/systat/mbufs.c
189
printw("sysctl: mbtypes: %s", strerror(errno));
usr.bin/systat/netstat.c
179
if (errno != ENOENT)
usr.bin/systat/sensors.c
112
if (errno != ENOENT)
usr.bin/systat/sensors.c
155
if (errno != ENOENT)
usr.bin/systat/vmstat.c
927
error("Can't get kernel info: %s\n", strerror(errno));
usr.bin/tabs/tabs.c
105
errno = 0;
usr.bin/tabs/tabs.c
107
if (errno != 0 || *end != '\0' || inc < 0)
usr.bin/tabs/tabs.c
210
errno = 0;
usr.bin/tabs/tabs.c
212
if (errno != 0 || *end != '\0' || stop <= 0)
usr.bin/tabs/tabs.c
96
errno = 0;
usr.bin/tabs/tabs.c
98
if (errno != 0 || *end != '\0' || margin < 0)
usr.bin/tail/forward.c
369
if (errno != ENOENT)
usr.bin/tail/forward.c
420
if (n < 0 && errno != EINTR)
usr.bin/tail/tail.c
169
if (!Fflag || errno != ENOENT)
usr.bin/tail/tail.c
210
errno == ESPIPE) {
usr.bin/tail/tail.c
211
errno = 0;
usr.bin/talk/ctl_transact.c
71
if (errno == EINTR)
usr.bin/talk/ctl_transact.c
78
if (errno == EINTR)
usr.bin/talk/ctl_transact.c
91
if (errno == EINTR)
usr.bin/talk/get_iface.c
68
} while(rv < 0 && errno == EADDRINUSE);
usr.bin/talk/get_iface.c
78
} while(rv < 0 && errno == EADDRINUSE);
usr.bin/talk/invite.c
90
if (errno == EINTR)
usr.bin/talk/io.c
142
string, strerror(errno), errno);
usr.bin/talk/io.c
98
if (errno == EINTR) {
usr.bin/talk/look_up.c
78
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
140
while (errno == EINVAL && (maxblk -= 1024)) {
usr.bin/tcopy/tcopy.c
229
while (errno == EINVAL && (inmaxblk -= 1024)) {
usr.bin/tcopy/tcopy.c
239
while (errno == EINVAL && (outmaxblk -= 1024)) {
usr.bin/telnet/commands.c
2190
fprintf(stderr, "%s: %s\n", src_addr, strerror(errno));
usr.bin/telnet/commands.c
2255
fprintf(stderr, "%s: %s\n", hostname, strerror(errno));
usr.bin/telnet/commands.c
2341
&& (errno != ENOPROTOOPT))
usr.bin/telnet/commands.c
2896
strerror(errno));
usr.bin/telnet/network.c
147
if (errno != ENOBUFS && errno != EWOULDBLOCK) {
usr.bin/telnet/network.c
85
} while ((value == -1) && (errno == EINTR));
usr.bin/telnet/sys_bsd.c
1037
if ((c == -1) && (errno == EINVAL)) {
usr.bin/telnet/sys_bsd.c
1087
if (c < 0 && errno == EWOULDBLOCK) {
usr.bin/telnet/sys_bsd.c
1106
if (c < 0 && errno == EIO)
usr.bin/telnet/sys_bsd.c
1108
if (c < 0 && errno == EWOULDBLOCK) {
usr.bin/telnet/sys_bsd.c
124
errno = 0;
usr.bin/telnet/sys_bsd.c
968
if (errno == EINTR) {
usr.bin/telnet/sys_bsd.c
972
printf("sleep(5) from telnet, after select: %s\r\n", strerror(errno));
usr.bin/tftp/tftp.c
118
nak(errno + 100, (struct sockaddr *)&peer);
usr.bin/tftp/tftp.c
302
nak(errno + 100, (struct sockaddr *)&peer);
usr.bin/time/time.c
121
err(errno == ENOENT ? 127 : 126, "%s", *argv);
usr.bin/timeout/timeout.c
363
_exit(errno == ENOENT ? EXIT_CMD_NOENT : EXIT_CMD_ERROR);
usr.bin/timeout/timeout.c
396
if (errno != EINTR)
usr.bin/tip/cmds.c
524
strerror(errno) );
usr.bin/tip/tip.c
580
if (errno == EIO)
usr.bin/tip/tip.c
582
if (errno == ENODEV)
usr.bin/tip/tipout.c
131
if (cnt < 0 && errno == EIO) {
usr.bin/tip/tipout.c
135
} else if (cnt == 0 && errno == ENOENT) {
usr.bin/top/commands.c
457
ERROR(str, errno);
usr.bin/top/commands.c
530
ERROR(str, errno);
usr.bin/top/commands.c
78
extern int errno;
usr.bin/touch/touch.c
157
if (errno != ENOENT) {
usr.bin/truncate/truncate.c
108
if (errno != ENOENT) {
usr.bin/truncate/truncate.c
122
errno = EFBIG;
usr.bin/truss/main.c
155
errno = 2;
usr.bin/truss/main.c
232
if (errno == EPERM)
usr.bin/truss/main.c
272
if (kill(trussinfo->pid, 0) == -1 && errno == ESRCH)
usr.bin/truss/setup.c
105
} while(fd == -1 && errno == EAGAIN);
usr.bin/truss/setup.c
138
} while(fd == -1 && errno == EAGAIN);
usr.bin/tset/term.c
112
errx(1, "termcap: %s", strerror(errno ? errno : ENOENT));
usr.bin/undo/undo.c
582
*errorp = errno;
usr.bin/undo/undo.c
603
*errorp = errno;
usr.bin/undo/undo.c
618
*errorp = errno;
usr.bin/unzip/unzip.c
109
fprintf(stderr, ": %s\n", strerror(errno));
usr.bin/unzip/unzip.c
143
fprintf(stderr, ": %s\n", strerror(errno));
usr.bin/unzip/unzip.c
211
errno = ENOMEM;
usr.bin/unzip/unzip.c
235
errno = ENOMEM;
usr.bin/unzip/unzip.c
271
errno = ENOMEM;
usr.bin/unzip/unzip.c
335
if (mkdir(path, mode) != 0 && errno != EEXIST)
usr.bin/uudecode/uudecode.c
203
errno = 0;
usr.bin/uudecode/uudecode.c
205
if (!errno)
usr.bin/uudecode/uudecode.c
264
if (unlink(outfile) == 0 || errno == ENOENT)
usr.bin/uudecode/uudecode.c
280
} else if (errno != ENOENT) {
usr.bin/vis/vis.c
182
if (c == WEOF && errno == EILSEQ) {
usr.bin/vis/vis.c
193
if (cerr || (rachar == WEOF && errno == EILSEQ)) {
usr.bin/vknet/vknet.c
154
if (p < 0 && errno != EINTR)
usr.bin/vknet/vknet.c
296
if (tap_fd >= 0 || errno == ENOENT) {
usr.bin/vknet/vknet.c
407
if (errno != EEXIST) {
usr.bin/vknet/vknet.c
428
if (errno != EEXIST) {
usr.bin/wall/ttymsg.c
118
if (errno == EWOULDBLOCK) {
usr.bin/wall/ttymsg.c
128
"fork: %s", strerror(errno));
usr.bin/wall/ttymsg.c
149
if (errno == ENODEV || errno == EIO)
usr.bin/wall/ttymsg.c
155
"%s: %s", device, strerror(errno));
usr.bin/wall/ttymsg.c
86
if (errno == EBUSY || errno == EACCES)
usr.bin/wall/ttymsg.c
89
strerror(errno));
usr.bin/wc/wc.c
267
errno = EILSEQ;
usr.bin/whereis/whereis.c
317
if (errno != ENOENT)
usr.bin/window/ttoutput.c
67
if (errno != EWOULDBLOCK) {
usr.bin/window/wwchild.c
50
olderrno = errno;
usr.bin/window/wwchild.c
62
errno = olderrno;
usr.bin/window/wwerror.c
47
return strerror(errno);
usr.bin/xargs/xargs.c
627
childerr = errno;
usr.bin/xargs/xargs.c
647
errno = ECHILD;
usr.bin/xargs/xargs.c
682
errno = childerr;
usr.bin/xargs/xargs.c
684
cause_exit = errno == ENOENT ? 127 : 126;
usr.bin/xargs/xargs.c
705
if (pid == -1 && errno != ECHILD)
usr.bin/xinstall/xinstall.c
1025
serrno = errno;
usr.bin/xinstall/xinstall.c
1027
errno = nw > 0 ? EIO : serrno;
usr.bin/xinstall/xinstall.c
1035
serrno = errno;
usr.bin/xinstall/xinstall.c
1037
errno = nw > 0 ? EIO : serrno;
usr.bin/xinstall/xinstall.c
1042
serrno = errno;
usr.bin/xinstall/xinstall.c
1044
errno = serrno;
usr.bin/xinstall/xinstall.c
1062
serrno = errno;
usr.bin/xinstall/xinstall.c
1064
errno = serrno;
usr.bin/xinstall/xinstall.c
1074
serrno = errno;
usr.bin/xinstall/xinstall.c
1093
if (res < 0 && errno == EEXIST) {
usr.bin/xinstall/xinstall.c
1117
if (errno != ENOENT ||
usr.bin/xinstall/xinstall.c
288
errno = ENOTDIR;
usr.bin/xinstall/xinstall.c
316
errno = EFTYPE;
usr.bin/xinstall/xinstall.c
337
errno = 0;
usr.bin/xinstall/xinstall.c
339
if (errno || *ep != '\0')
usr.bin/xinstall/xinstall.c
470
if ((dolink & LN_HARD) || errno != EXDEV)
usr.bin/xinstall/xinstall.c
607
errno = EFTYPE;
usr.bin/xinstall/xinstall.c
642
errno = EFTYPE;
usr.bin/xinstall/xinstall.c
712
serrno = errno;
usr.bin/xinstall/xinstall.c
714
errno = serrno;
usr.bin/xinstall/xinstall.c
757
serrno = errno;
usr.bin/xinstall/xinstall.c
759
errno = serrno;
usr.bin/xinstall/xinstall.c
767
serrno = errno;
usr.bin/xinstall/xinstall.c
769
errno = serrno;
usr.bin/xinstall/xinstall.c
790
serrno = errno;
usr.bin/xinstall/xinstall.c
792
errno = serrno;
usr.bin/xinstall/xinstall.c
814
serrno = errno;
usr.bin/xinstall/xinstall.c
816
errno = serrno;
usr.bin/xinstall/xinstall.c
823
serrno = errno;
usr.bin/xinstall/xinstall.c
825
errno = serrno;
usr.bin/xinstall/xinstall.c
852
if (errno == EOPNOTSUPP)
usr.bin/xinstall/xinstall.c
855
serrno = errno;
usr.bin/xinstall/xinstall.c
857
errno = serrno;
usr.sbin/arp/arp.c
169
if (errno == ENXIO)
usr.sbin/arp/arp.c
628
errno = 0;
usr.sbin/arp/arp.c
673
if (errno != ESRCH || (cmd != RTM_DELETE && cmd != RTM_CHANGE)) {
usr.sbin/asf/asf.c
107
strerror(errno),
usr.sbin/asf/asf.c
108
errno);
usr.sbin/asf/asf.c
116
strerror(errno),
usr.sbin/asf/asf.c
117
errno);
usr.sbin/asf/asf.c
127
strerror(errno),
usr.sbin/asf/asf.c
128
errno);
usr.sbin/asf/asf.c
142
strerror(errno),
usr.sbin/asf/asf.c
143
errno);
usr.sbin/asf/asf.c
148
if (ftsent == NULL && errno != 0) {
usr.sbin/asf/asf.c
152
strerror(errno),
usr.sbin/asf/asf.c
153
errno);
usr.sbin/asf/asf.c
240
strerror(errno),
usr.sbin/asf/asf.c
241
errno);
usr.sbin/asf/asf.c
278
strerror(errno),
usr.sbin/asf/asf.c
279
errno);
usr.sbin/authpf/authpf.c
208
strerror(errno));
usr.sbin/authpf/authpf.c
214
save_errno = errno;
usr.sbin/authpf/authpf.c
261
syslog(LOG_INFO, "setgroups: %s", strerror(errno));
usr.sbin/authpf/authpf.c
268
syslog(LOG_INFO, "setresuid: %s", strerror(errno));
usr.sbin/authpf/authpf.c
448
if (errno == ENOENT) {
usr.sbin/authpf/authpf.c
462
PATH_ALLOWFILE, strerror(errno));
usr.sbin/authpf/authpf.c
528
if (errno == ENOENT) {
usr.sbin/authpf/authpf.c
541
tmp, strerror(errno));
usr.sbin/authpf/authpf.c
581
if (errno == EINVAL)
usr.sbin/authpf/authpf.c
596
errno = 0;
usr.sbin/authpf/authpf.c
602
if (!prs.name[0] || errno ||
usr.sbin/authpf/authpf.c
605
if (kill(pid, 0) && errno != EPERM) {
usr.sbin/authpf/authpf.c
752
errno != ESRCH) {
usr.sbin/authpf/authpf.c
755
strerror(errno));
usr.sbin/autofs/automountd.c
474
if (errno == EEXIST) {
usr.sbin/autofs/automountd.c
483
if (autofs_fd < 0 && errno == ENOENT) {
usr.sbin/autofs/automountd.c
484
saved_errno = errno;
usr.sbin/autofs/automountd.c
489
errno = saved_errno;
usr.sbin/autofs/automountd.c
514
if (errno == EINTR) {
usr.sbin/autofs/autounmountd.c
159
if (errno == EBUSY) {
usr.sbin/autofs/autounmountd.c
170
mountpoint, strerror(errno));
usr.sbin/autofs/autounmountd.c
249
if (errno == EINTR)
usr.sbin/autofs/autounmountd.c
306
if (errno == EEXIST) {
usr.sbin/autofs/common.c
137
if (error != 0 && errno != EEXIST) {
usr.sbin/autofs/log.c
152
log_common(LOG_CRIT, errno, fmt, ap);
usr.sbin/autofs/log.c
176
log_common(LOG_WARNING, errno, fmt, ap);
usr.sbin/autofs/popen.c
172
} while (pid == -1 && errno == EINTR);
usr.sbin/boot0cfg/boot0cfg.c
406
errno = 0;
usr.sbin/boot0cfg/boot0cfg.c
408
if (errno || !*arg || *s || x < lo || x > hi)
usr.sbin/btconfig/btconfig.c
385
if (errno == EAGAIN || errno == EINTR)
usr.sbin/bthcid/client.c
91
if (unlink(name) < 0 && errno != ENOENT)
usr.sbin/bthcid/parser.y
209
config_file, strerror(errno), errno);
usr.sbin/bthcid/parser.y
301
if (errno == ENOENT)
usr.sbin/bthcid/parser.y
305
BTHCID_KEYSFILE, strerror(errno), errno);
usr.sbin/bthcid/parser.y
363
tmp, strerror(errno), errno);
usr.sbin/bthcid/parser.y
381
"%s (%d)\n", strerror(errno), errno);
usr.sbin/bthcid/parser.y
390
tmp, BTHCID_KEYSFILE, strerror(errno), errno);
usr.sbin/burncd/burncd.c
509
res, count, errno);
usr.sbin/cdcontrol/cdcontrol.c
1272
if (fd < 0 && errno == ENOENT) {
usr.sbin/cdcontrol/cdcontrol.c
1278
if (errno == ENXIO) {
usr.sbin/cdcontrol/cdcontrol.c
438
errno = 0;
usr.sbin/chown/chown.c
217
if (errno)
usr.sbin/chown/chown.c
253
errno = 0;
usr.sbin/chown/chown.c
255
if (errno || *ep != '\0')
usr.sbin/chown/chown.c
269
if (errno != EPERM || (uid != (uid_t)(-1) &&
usr.sbin/ckdist/ckdist.c
173
if (errno)
usr.sbin/ckdist/ckdist.c
305
if (opt_ignore && error == E_ERRNO && errno == ENOENT)
usr.sbin/ckdist/ckdist.c
360
if (opt_ignore && error == E_ERRNO && errno == ENOENT)
usr.sbin/ckdist/ckdist.c
395
printf("%s: %s: %s\n", path, name, sys_errlist[errno]);
usr.sbin/ckdist/ckdist.c
485
warnx("%s: %s", path, msg ? msg : sys_errlist[errno]);
usr.sbin/clog/clog.c
138
fprintf(stderr,"%s: ERROR: could not open %s (%s)\n",pname,lname,strerror(errno));
usr.sbin/clog/clog.c
143
fprintf(stderr,"%s: ERROR: could not stat %s (%s)\n",pname,lname,strerror(errno));
usr.sbin/clog/clog.c
148
fprintf(stderr,"%s: ERROR: could not mmap %s body (%s)\n",pname,lname,strerror(errno));
usr.sbin/clog/clog.c
166
fprintf(stderr,"%s: ERROR: could not write output (%s)\n",pname,strerror(errno));
usr.sbin/clog/clog.c
172
fprintf(stderr,"%s: ERROR: could not poll (%s)\n",pname,strerror(errno));
usr.sbin/clog/clog.c
199
fprintf(stderr,"%s: ERROR: could not open %s (%s)\n",pname,lname,strerror(errno));
usr.sbin/clog/clog.c
203
fprintf(stderr,"%s: ERROR: could not truncate %s (%s)\n",pname,lname,strerror(errno));
usr.sbin/clog/clog.c
209
fprintf(stderr,"%s: ERROR: could not write %s (%s)\n",pname,lname,strerror(errno));
usr.sbin/clog/clog.c
217
fprintf(stderr,"%s: ERROR: could not write %s (%s)\n",pname,lname,strerror(errno));
usr.sbin/clog/clog.c
222
fprintf(stderr,"%s: ERROR: could not seek in %s (%s)\n",pname,lname,strerror(errno));
usr.sbin/clog/clog.c
226
fprintf(stderr,"%s: ERROR: could not write magic in %s (%s)\n",pname,lname,strerror(errno));
usr.sbin/cpucontrol/intel.c
273
error = errno;
usr.sbin/cpucontrol/intel.c
275
errno = error;
usr.sbin/cpucontrol/via.c
209
error = errno;
usr.sbin/cpucontrol/via.c
211
errno = error;
usr.sbin/cron/cron/externs.h
56
extern int errno;
usr.sbin/cron/cron/user.c
68
errno = ENOMEM;
usr.sbin/cron/cron/user.c
73
errno = ENOMEM;
usr.sbin/cron/crontab/crontab.c
227
if (errno == ENOENT)
usr.sbin/cron/crontab/crontab.c
278
if (errno == ENOENT)
usr.sbin/cron/crontab/crontab.c
311
if (errno != ENOENT)
usr.sbin/cron/lib/compat.c
194
if ((errno == EAGAIN) || (errno == EACCES))
usr.sbin/cron/lib/compat.c
195
errno = EWOULDBLOCK;
usr.sbin/cron/lib/compat.c
204
errno = EINVAL;
usr.sbin/cron/lib/compat.c
223
errno = ENOMEM;
usr.sbin/cron/lib/compat.c
57
errno = ENOMEM;
usr.sbin/cron/lib/env.c
115
errno = ENOMEM;
usr.sbin/cron/lib/env.c
121
errno = ENOMEM;
usr.sbin/cron/lib/env.c
56
errno = ENOMEM;
usr.sbin/cron/lib/env.c
64
errno = ENOMEM;
usr.sbin/cron/lib/env.c
99
errno = ENOMEM;
usr.sbin/cron/lib/misc.c
187
if (stat(CRONDIR, &sb) < OK && errno == ENOENT) {
usr.sbin/cron/lib/misc.c
203
if (stat(SPOOL_DIR, &sb) < OK && errno == ENOENT) {
usr.sbin/cron/lib/misc.c
247
pidfile, strerror(errno));
usr.sbin/cron/lib/misc.c
253
int save_errno = errno;
usr.sbin/daemon/daemon.c
436
if (errno != EINTR)
usr.sbin/daemon/daemon.c
451
if (errno == EEXIST) {
usr.sbin/daemon/daemon.c
462
serrno = errno;
usr.sbin/daemon/daemon.c
464
errno = serrno;
usr.sbin/daemon/daemon.c
465
if (errno == EEXIST) {
usr.sbin/daemon/daemon.c
541
if (errno == EINTR) {
usr.sbin/daemon/daemon.c
600
} else if (rv == -1 && errno != EINTR) {
usr.sbin/dconschat/dconschat.c
333
if (errno == ETIMEDOUT)
usr.sbin/dconschat/dconschat.c
414
if (errno == ETIMEDOUT)
usr.sbin/dconschat/dconschat.c
452
if (errno == ETIMEDOUT)
usr.sbin/dconschat/dconschat.c
479
if (errno == ETIMEDOUT)
usr.sbin/dntpd/log.c
50
saved_errno = errno;
usr.sbin/edquota/edquota.c
343
if (errno == EOPNOTSUPP && !warned) {
usr.sbin/edquota/edquota.c
350
if (fd < 0 && errno != ENOENT) {
usr.sbin/edquota/edquota.c
435
if (errno == EPROCLIM) {
usr.sbin/edquota/edquota.c
439
if (errno == EAGAIN) {
usr.sbin/efibootmgr/efibootmgr.c
367
if (new_data[i] == 0 && errno == EINVAL) {
usr.sbin/efibootmgr/efibootmgr.c
427
if (errno == ENOENT) { /* create it and set this bootvar to active */
usr.sbin/efidp/efidp.c
150
errno = rv;
usr.sbin/efidp/efidp.c
181
errno = rv;
usr.sbin/fdformat/fdformat.c
398
if (errs < MAXPRINTERRS && errno == EIO) {
usr.sbin/ftp-proxy/filter.c
117
errno = EINVAL;
usr.sbin/ftp-proxy/filter.c
210
errno = EINVAL;
usr.sbin/ftp-proxy/filter.c
229
errno = EPROTONOSUPPORT;
usr.sbin/ftp-proxy/filter.c
251
errno = EINVAL;
usr.sbin/ftp-proxy/filter.c
313
errno = EINVAL;
usr.sbin/ftp-proxy/filter.c
332
errno = EPROTONOSUPPORT;
usr.sbin/ftp-proxy/filter.c
63
errno = EINVAL;
usr.sbin/ftp-proxy/filter.c
84
errno = EINVAL;
usr.sbin/ftp-proxy/ftp-proxy.c
1100
if (errno != EBUSY)
usr.sbin/ftp-proxy/ftp-proxy.c
1115
logmsg(LOG_CRIT, "#%d pf operation failed: %s", s->id, strerror(errno));
usr.sbin/ftp-proxy/ftp-proxy.c
353
err = errno;
usr.sbin/ftp-proxy/ftp-proxy.c
355
err = errno;
usr.sbin/ftp-proxy/ftp-proxy.c
436
logmsg(LOG_CRIT, "accept failed: %s", strerror(errno));
usr.sbin/ftp-proxy/ftp-proxy.c
475
strerror(errno));
usr.sbin/ftp-proxy/ftp-proxy.c
496
strerror(errno));
usr.sbin/ftp-proxy/ftp-proxy.c
502
s->id, strerror(errno));
usr.sbin/ftp-proxy/ftp-proxy.c
510
s->id, strerror(errno));
usr.sbin/ftp-proxy/ftp-proxy.c
514
errno != EINPROGRESS) {
usr.sbin/ftp-proxy/ftp-proxy.c
516
s->id, sock_ntop(server_sa), strerror(errno));
usr.sbin/ftp-proxy/ftp-proxy.c
523
strerror(errno));
usr.sbin/ftp-proxy/ftp-proxy.c
789
logmsg(LOG_ERR, "cannot drop privileges: %s", strerror(errno));
usr.sbin/ftp-proxy/ftp-proxy.c
794
logmsg(LOG_ERR, "cannot create new kqueue(2): %s", strerror(errno));
usr.sbin/ftp-proxy/ftp-proxy.c
817
logmsg(LOG_ERR, "cannot create new kqueue(2): %s", strerror(errno));
usr.sbin/fwcontrol/fwdv.c
134
if (errno == EAGAIN) {
usr.sbin/fwcontrol/fwdv.c
149
if (errno == EAGAIN) {
usr.sbin/fwcontrol/fwdv.c
398
if (errno == EAGAIN) {
usr.sbin/gifconfig/gifconfig.c
740
switch (errno) {
usr.sbin/hotplugd/hotplugd.c
214
saved_errno = errno;
usr.sbin/hotplugd/hotplugd.c
218
if (errno == EINTR)
usr.sbin/hotplugd/hotplugd.c
220
if (errno != ECHILD)
usr.sbin/hotplugd/hotplugd.c
238
errno = saved_errno;
usr.sbin/inetd/builtins.c
252
if (ret == 0 || errno != EINTR)
usr.sbin/inetd/builtins.c
533
getcredfail = errno;
usr.sbin/inetd/builtins.c
543
getcredfail = errno;
usr.sbin/inetd/builtins.c
558
errno = 0;
usr.sbin/inetd/builtins.c
561
iderror(lport, fport, s, errno == 0 ? ID_NOUSER : ID_UNKNOWN);
usr.sbin/inetd/inetd.c
383
syslog(LOG_ERR, "%s", strerror(errno));
usr.sbin/inetd/inetd.c
516
if (n < 0 && errno != EINTR) {
usr.sbin/inetd/inetd.c
565
if (errno != EINTR)
usr.sbin/installer/libaura/popen.c
202
} while (pid == -1 && errno == EINTR);
usr.sbin/installer/libdfui/conn_npipe.c
80
errno = 0;
usr.sbin/installer/libdfui/conn_npipe.c
82
if (errno != EEXIST) {
usr.sbin/installer/libdfui/conn_npipe.c
87
errno = 0;
usr.sbin/installer/libdfui/conn_npipe.c
89
if (errno != EEXIST) {
usr.sbin/installer/libdfui/conn_tcp.c
101
errno = 0;
usr.sbin/installer/libdfui/conn_tcp.c
333
errno = 0;
usr.sbin/jail/jail.c
37
if (errno) \
usr.sbin/jexec/jexec.c
73
errno = 0;
usr.sbin/jexec/jexec.c
75
if (v < INT_MIN || v > INT_MAX || errno == ERANGE)
usr.sbin/jls/jls.c
62
if (errno == ENOMEM) {
usr.sbin/lpr/chkprintcap/chkprintcap.c
128
errno = 0;
usr.sbin/lpr/chkprintcap/chkprintcap.c
130
if (errno == ENOENT && makedirs) {
usr.sbin/lpr/chkprintcap/skimprintcap.c
245
if (errno != 0) {
usr.sbin/lpr/chkprintcap/skimprintcap.c
98
errno = 0;
usr.sbin/lpr/common_source/common.c
281
errsav = errno;
usr.sbin/lpr/common_source/common.c
343
errsav = errno;
usr.sbin/lpr/common_source/common.c
365
errsav = errno;
usr.sbin/lpr/common_source/ctlinfo.c
247
ptrname, cfname, strerror(errno));
usr.sbin/lpr/common_source/ctlinfo.c
416
cfname2, strerror(errno));
usr.sbin/lpr/common_source/ctlinfo.c
451
strerror(errno));
usr.sbin/lpr/common_source/ctlinfo.c
459
strerror(errno));
usr.sbin/lpr/common_source/ctlinfo.c
624
strerror(errno));
usr.sbin/lpr/common_source/ctlinfo.c
634
strerror(errno));
usr.sbin/lpr/common_source/ctlinfo.c
803
errno = 0;
usr.sbin/lpr/common_source/ctlinfo.c
806
if (errno != 0)
usr.sbin/lpr/common_source/ctlinfo.c
809
strerror(errno));
usr.sbin/lpr/common_source/displayq.c
112
strerror(errno));
usr.sbin/lpr/common_source/matchjobs.c
299
errno = 0;
usr.sbin/lpr/common_source/matchjobs.c
301
if (errno != 0) /* error in conversion */
usr.sbin/lpr/common_source/matchjobs.c
312
errno = 0;
usr.sbin/lpr/common_source/matchjobs.c
314
if (errno != 0) /* error in conversion */
usr.sbin/lpr/common_source/net.c
116
if (errno != EAGAIN) {
usr.sbin/lpr/common_source/net.c
133
err = errno;
usr.sbin/lpr/common_source/net.c
135
errno = err;
usr.sbin/lpr/common_source/net.c
142
if (errno == EADDRINUSE) {
usr.sbin/lpr/common_source/net.c
146
if (errno == ECONNREFUSED)
usr.sbin/lpr/common_source/printcap.c
305
return strerror(errno);
usr.sbin/lpr/common_source/rmjob.c
154
if (errno == EACCES)
usr.sbin/lpr/common_source/rmjob.c
155
fatal(pp, "%s: %s", slockf, strerror(errno));
usr.sbin/lpr/common_source/rmjob.c
165
if (kill(cur_daemon, 0) < 0 && errno != EPERM) {
usr.sbin/lpr/lpc/cmds.c
274
errsav = errno;
usr.sbin/lpr/lpc/cmds.c
315
errsav = errno;
usr.sbin/lpr/lpc/cmds.c
320
} else if (errno == ESRCH) {
usr.sbin/lpr/lpc/cmds.c
364
printf("\tcannot create status file: %s\n", strerror(errno));
usr.sbin/lpr/lpc/cmds.c
784
printf("\t %s\n", strerror(errno));
usr.sbin/lpr/lpc/cmds.c
808
printf("\t %s\n", strerror(errno));
usr.sbin/lpr/lpd/lpd.c
274
if (errno == EWOULDBLOCK) /* active daemon present */
usr.sbin/lpr/lpd/lpd.c
356
if (nfds < 0 && errno != EINTR)
usr.sbin/lpr/lpd/lpd.c
377
if (errno != EINTR)
usr.sbin/lpr/lpd/printjob.c
1520
errno = 0;
usr.sbin/lpr/lpd/printjob.c
1719
if (pfd < 0 && errno == ECONNREFUSED)
usr.sbin/lpr/lpd/printjob.c
1758
if (errno == ENOENT) {
usr.sbin/lpr/lpd/printjob.c
187
if (errno == EWOULDBLOCK) /* active daemon present */
usr.sbin/lpr/lpd/recvjob.c
108
strerror(errno));
usr.sbin/lpr/lpd/recvjob.c
117
strerror(errno));
usr.sbin/lpr/lpd/recvjob.c
251
pp->printer, file, strerror(errno));
usr.sbin/makefs/cd9660/cd9660_eltorito.c
223
if (eptr == value || *eptr != '\0' || errno != ERANGE) {
usr.sbin/makefs/ffs.c
1021
errno = ffs_balloc(&in, offset, chunk, &bp);
usr.sbin/makefs/ffs.c
1023
if (errno != 0)
usr.sbin/makefs/ffs.c
1031
errno = bwrite(bp);
usr.sbin/makefs/ffs.c
1032
if (errno != 0)
usr.sbin/makefs/ffs/buf.c
144
return (errno);
usr.sbin/makefs/ffs/buf.c
147
e = errno;
usr.sbin/makefs/hammer2.c
271
if (errno)
usr.sbin/makefs/makefs.c
472
errno = 0;
usr.sbin/makefs/makefs.c
474
if (b == eb || *eb || errno)
usr.sbin/makefs/msdos/msdosfs_vfsops.c
342
errno = error;
usr.sbin/makefs/msdos/msdosfs_vfsops.c
353
errno = error;
usr.sbin/makefs/msdos/msdosfs_vnops.c
412
errno = error;
usr.sbin/makefs/msdos/msdosfs_vnops.c
467
error = errno;
usr.sbin/makefs/msdos/msdosfs_vnops.c
474
error = errno;
usr.sbin/makefs/msdos/msdosfs_vnops.c
642
errno = error;
usr.sbin/makefs/mtree.c
1075
error = ferror(fp) ? errno : -1;
usr.sbin/makefs/mtree.c
171
errno = ENOMEM;
usr.sbin/makefs/mtree.c
183
errno = ENOMEM;
usr.sbin/makefs/mtree.c
200
errno = EINVAL;
usr.sbin/makefs/mtree.c
218
errno = ENOMEM;
usr.sbin/makefs/mtree.c
297
errno = ENOMEM;
usr.sbin/makefs/mtree.c
313
return (ferror(fp) ? errno : -1);
usr.sbin/makefs/mtree.c
328
return (ferror(fp) ? errno : -1);
usr.sbin/makefs/mtree.c
351
error = ferror(fp) ? errno : -1;
usr.sbin/makefs/mtree.c
543
error = errno;
usr.sbin/makefs/mtree.c
578
error = errno;
usr.sbin/makefs/mtree.c
582
error = errno;
usr.sbin/makefs/mtree.c
767
return (errno);
usr.sbin/makefs/mtree.c
983
error = errno;
usr.sbin/mfiutil/mfi_cmd.c
176
errno = ENXIO;
usr.sbin/mfiutil/mfi_cmd.c
252
errno = EINVAL;
usr.sbin/mfiutil/mfi_cmd.c
266
errno = EINVAL;
usr.sbin/mfiutil/mfi_cmd.c
291
errno = EIO;
usr.sbin/mfiutil/mfi_config.c
1013
error = errno;
usr.sbin/mfiutil/mfi_config.c
1042
error = errno;
usr.sbin/mfiutil/mfi_config.c
1055
error = errno;
usr.sbin/mfiutil/mfi_config.c
1070
error = errno;
usr.sbin/mfiutil/mfi_config.c
1191
error = errno;
usr.sbin/mfiutil/mfi_config.c
1198
error = errno;
usr.sbin/mfiutil/mfi_config.c
1228
error = errno;
usr.sbin/mfiutil/mfi_config.c
1236
error = errno;
usr.sbin/mfiutil/mfi_config.c
1251
error = errno;
usr.sbin/mfiutil/mfi_config.c
135
error = errno;
usr.sbin/mfiutil/mfi_config.c
148
error = errno;
usr.sbin/mfiutil/mfi_config.c
174
error = errno;
usr.sbin/mfiutil/mfi_config.c
329
error = errno;
usr.sbin/mfiutil/mfi_config.c
561
error = errno;
usr.sbin/mfiutil/mfi_config.c
693
error = errno;
usr.sbin/mfiutil/mfi_config.c
75
error = errno;
usr.sbin/mfiutil/mfi_config.c
77
errno = error;
usr.sbin/mfiutil/mfi_config.c
799
error = errno;
usr.sbin/mfiutil/mfi_config.c
849
error = errno;
usr.sbin/mfiutil/mfi_config.c
862
error = errno;
usr.sbin/mfiutil/mfi_config.c
869
error = errno;
usr.sbin/mfiutil/mfi_config.c
885
error = errno;
usr.sbin/mfiutil/mfi_config.c
917
error = errno;
usr.sbin/mfiutil/mfi_config.c
929
error = errno;
usr.sbin/mfiutil/mfi_config.c
942
error = errno;
usr.sbin/mfiutil/mfi_config.c
949
error = errno;
usr.sbin/mfiutil/mfi_drive.c
203
error = errno;
usr.sbin/mfiutil/mfi_drive.c
388
error = errno;
usr.sbin/mfiutil/mfi_drive.c
401
error = errno;
usr.sbin/mfiutil/mfi_drive.c
419
error = errno;
usr.sbin/mfiutil/mfi_drive.c
489
error = errno;
usr.sbin/mfiutil/mfi_drive.c
502
error = errno;
usr.sbin/mfiutil/mfi_drive.c
519
error = errno;
usr.sbin/mfiutil/mfi_drive.c
546
error = errno;
usr.sbin/mfiutil/mfi_drive.c
559
error = errno;
usr.sbin/mfiutil/mfi_drive.c
576
error = errno;
usr.sbin/mfiutil/mfi_drive.c
602
error = errno;
usr.sbin/mfiutil/mfi_drive.c
615
error = errno;
usr.sbin/mfiutil/mfi_drive.c
668
error = errno;
usr.sbin/mfiutil/mfi_drive.c
681
error = errno;
usr.sbin/mfiutil/mfi_drive.c
689
error = errno;
usr.sbin/mfiutil/mfi_drive.c
728
error = errno;
usr.sbin/mfiutil/mfi_drive.c
744
error = errno;
usr.sbin/mfiutil/mfi_evt.c
131
errno = EINVAL;
usr.sbin/mfiutil/mfi_evt.c
183
errno = EINVAL;
usr.sbin/mfiutil/mfi_evt.c
226
errno = EINVAL;
usr.sbin/mfiutil/mfi_evt.c
545
error = errno;
usr.sbin/mfiutil/mfi_evt.c
551
error = errno;
usr.sbin/mfiutil/mfi_evt.c
572
error = errno;
usr.sbin/mfiutil/mfi_evt.c
580
error = errno;
usr.sbin/mfiutil/mfi_evt.c
623
error = errno;
usr.sbin/mfiutil/mfi_evt.c
629
error = errno;
usr.sbin/mfiutil/mfi_evt.c
644
error = errno;
usr.sbin/mfiutil/mfi_evt.c
78
error = errno;
usr.sbin/mfiutil/mfi_evt.c
84
error = errno;
usr.sbin/mfiutil/mfi_flash.c
104
error = errno;
usr.sbin/mfiutil/mfi_flash.c
113
error = errno;
usr.sbin/mfiutil/mfi_flash.c
125
error = errno;
usr.sbin/mfiutil/mfi_flash.c
54
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
112
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
130
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
150
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
157
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
182
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
219
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
226
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
277
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
284
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
336
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
343
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
388
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
61
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
68
error = errno;
usr.sbin/mfiutil/mfi_foreign.c
81
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
131
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
157
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
169
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
201
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
208
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
227
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
234
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
297
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
325
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
69
error = errno;
usr.sbin/mfiutil/mfi_patrol.c
91
error = errno;
usr.sbin/mfiutil/mfi_show.c
155
error = errno;
usr.sbin/mfiutil/mfi_show.c
162
error = errno;
usr.sbin/mfiutil/mfi_show.c
176
error = errno;
usr.sbin/mfiutil/mfi_show.c
184
error = errno;
usr.sbin/mfiutil/mfi_show.c
310
error = errno;
usr.sbin/mfiutil/mfi_show.c
317
error = errno;
usr.sbin/mfiutil/mfi_show.c
411
error = errno;
usr.sbin/mfiutil/mfi_show.c
418
error = errno;
usr.sbin/mfiutil/mfi_show.c
443
error = errno;
usr.sbin/mfiutil/mfi_show.c
494
error = errno;
usr.sbin/mfiutil/mfi_show.c
501
error = errno;
usr.sbin/mfiutil/mfi_show.c
514
error = errno;
usr.sbin/mfiutil/mfi_show.c
537
error = errno;
usr.sbin/mfiutil/mfi_show.c
574
error = errno;
usr.sbin/mfiutil/mfi_show.c
580
error = errno;
usr.sbin/mfiutil/mfi_show.c
634
error = errno;
usr.sbin/mfiutil/mfi_show.c
640
error = errno;
usr.sbin/mfiutil/mfi_show.c
646
error = errno;
usr.sbin/mfiutil/mfi_show.c
656
error = errno;
usr.sbin/mfiutil/mfi_show.c
68
error = errno;
usr.sbin/mfiutil/mfi_show.c
695
error = errno;
usr.sbin/mfiutil/mfi_show.c
74
error = errno;
usr.sbin/mfiutil/mfi_volume.c
160
error = errno;
usr.sbin/mfiutil/mfi_volume.c
299
error = errno;
usr.sbin/mfiutil/mfi_volume.c
305
error = errno;
usr.sbin/mfiutil/mfi_volume.c
312
error = errno;
usr.sbin/mfiutil/mfi_volume.c
407
error = errno;
usr.sbin/mfiutil/mfi_volume.c
413
error = errno;
usr.sbin/mfiutil/mfi_volume.c
420
error = errno;
usr.sbin/mfiutil/mfi_volume.c
431
error = errno;
usr.sbin/mfiutil/mfi_volume.c
458
error = errno;
usr.sbin/mfiutil/mfi_volume.c
464
error = errno;
usr.sbin/mfiutil/mfi_volume.c
472
error = errno;
usr.sbin/moused/moused.c
118
log_or_warn(LOG_DAEMON | LOG_ERR, errno, fmt, ##args); \
usr.sbin/moused/moused.c
128
log_or_warn(LOG_DAEMON | LOG_WARNING, errno, fmt, ##args)
usr.sbin/moused/moused.c
789
if (rodent.mfd != -1 || errno != ENOENT)
usr.sbin/moused/moused.c
878
if (errno != EEXIST)
usr.sbin/moused/moused.c
983
if (errno == EWOULDBLOCK)
usr.sbin/mpsutil/mps_cmd.c
274
error = errno;
usr.sbin/mpsutil/mps_cmd.c
302
return (errno);
usr.sbin/mpsutil/mps_cmd.c
331
return (errno);
usr.sbin/mpsutil/mps_cmd.c
359
errno = error;
usr.sbin/mpsutil/mps_cmd.c
375
error = errno;
usr.sbin/mpsutil/mps_cmd.c
377
errno = error;
usr.sbin/mpsutil/mps_cmd.c
387
errno = EIO;
usr.sbin/mpsutil/mps_cmd.c
410
errno = error;
usr.sbin/mpsutil/mps_cmd.c
428
error = errno;
usr.sbin/mpsutil/mps_cmd.c
430
errno = error;
usr.sbin/mpsutil/mps_cmd.c
440
errno = EIO;
usr.sbin/mpsutil/mps_cmd.c
519
return (errno);
usr.sbin/mpsutil/mps_cmd.c
540
errno = error;
usr.sbin/mpsutil/mps_cmd.c
551
error = errno;
usr.sbin/mpsutil/mps_cmd.c
553
errno = error;
usr.sbin/mpsutil/mps_cmd.c
563
errno = EIO;
usr.sbin/mpsutil/mps_cmd.c
592
errno = EIO;
usr.sbin/mpsutil/mps_cmd.c
600
error = errno;
usr.sbin/mpsutil/mps_cmd.c
602
errno = error;
usr.sbin/mpsutil/mps_cmd.c
612
errno = EIO;
usr.sbin/mpsutil/mps_cmd.c
644
return (errno);
usr.sbin/mpsutil/mps_cmd.c
691
return (errno);
usr.sbin/mpsutil/mps_cmd.c
704
errno = ENOMEM;
usr.sbin/mpsutil/mps_cmd.c
725
errno = EINVAL;
usr.sbin/mpsutil/mps_debug.c
87
printf("len= %zu, error= %d errno= %d\n", len, error, errno);
usr.sbin/mpsutil/mps_flash.c
101
error = errno;
usr.sbin/mpsutil/mps_flash.c
152
error = errno;
usr.sbin/mpsutil/mps_flash.c
159
error = errno;
usr.sbin/mpsutil/mps_flash.c
166
error = errno;
usr.sbin/mpsutil/mps_flash.c
175
error = errno;
usr.sbin/mpsutil/mps_flash.c
79
error = errno;
usr.sbin/mpsutil/mps_flash.c
94
error = errno;
usr.sbin/mpsutil/mps_show.c
105
error = errno;
usr.sbin/mpsutil/mps_show.c
118
return (errno);
usr.sbin/mpsutil/mps_show.c
131
error = errno;
usr.sbin/mpsutil/mps_show.c
140
error = errno;
usr.sbin/mpsutil/mps_show.c
151
error = errno;
usr.sbin/mpsutil/mps_show.c
210
error = errno;
usr.sbin/mpsutil/mps_show.c
218
return (errno);
usr.sbin/mpsutil/mps_show.c
290
error = errno;
usr.sbin/mpsutil/mps_show.c
297
error = errno;
usr.sbin/mpsutil/mps_show.c
482
error = errno;
usr.sbin/mpsutil/mps_show.c
491
error = errno;
usr.sbin/mpsutil/mps_show.c
510
error = errno;
usr.sbin/mpsutil/mps_show.c
549
error = errno;
usr.sbin/mpsutil/mps_show.c
600
error = errno;
usr.sbin/mpsutil/mps_show.c
616
error = errno;
usr.sbin/mpsutil/mps_show.c
651
error = errno;
usr.sbin/mpsutil/mps_show.c
667
error = errno;
usr.sbin/mpsutil/mps_show.c
746
error = errno;
usr.sbin/mpsutil/mps_show.c
764
errno = EINVAL;
usr.sbin/mpsutil/mps_show.c
776
error = errno;
usr.sbin/mpsutil/mps_show.c
81
error = errno;
usr.sbin/mpsutil/mps_show.c
88
error = errno;
usr.sbin/mptutil/mpt_cam.c
168
error = errno;
usr.sbin/mptutil/mpt_cam.c
253
error = errno;
usr.sbin/mptutil/mpt_cam.c
285
error = errno;
usr.sbin/mptutil/mpt_cam.c
372
error = errno;
usr.sbin/mptutil/mpt_cam.c
435
error = errno;
usr.sbin/mptutil/mpt_cam.c
486
return (errno);
usr.sbin/mptutil/mpt_cam.c
559
return (errno);
usr.sbin/mptutil/mpt_cam.c
94
error = errno;
usr.sbin/mptutil/mpt_cmd.c
328
return (errno);
usr.sbin/mptutil/mpt_cmd.c
358
return (errno);
usr.sbin/mptutil/mpt_cmd.c
393
errno = EIO;
usr.sbin/mptutil/mpt_cmd.c
401
error = errno;
usr.sbin/mptutil/mpt_cmd.c
403
errno = error;
usr.sbin/mptutil/mpt_cmd.c
413
errno = EIO;
usr.sbin/mptutil/mpt_cmd.c
442
errno = EIO;
usr.sbin/mptutil/mpt_cmd.c
450
error = errno;
usr.sbin/mptutil/mpt_cmd.c
452
errno = error;
usr.sbin/mptutil/mpt_cmd.c
462
errno = EIO;
usr.sbin/mptutil/mpt_cmd.c
481
return (errno);
usr.sbin/mptutil/mpt_cmd.c
518
return (errno);
usr.sbin/mptutil/mpt_config.c
1014
error = errno;
usr.sbin/mptutil/mpt_config.c
1026
error = errno;
usr.sbin/mptutil/mpt_config.c
1032
return (errno);
usr.sbin/mptutil/mpt_config.c
1035
error = errno;
usr.sbin/mptutil/mpt_config.c
1064
error = errno;
usr.sbin/mptutil/mpt_config.c
1071
return (errno);
usr.sbin/mptutil/mpt_config.c
1074
error = errno;
usr.sbin/mptutil/mpt_config.c
1082
error = errno;
usr.sbin/mptutil/mpt_config.c
1088
error = errno;
usr.sbin/mptutil/mpt_config.c
1145
error = errno;
usr.sbin/mptutil/mpt_config.c
1158
error = errno;
usr.sbin/mptutil/mpt_config.c
206
error = errno;
usr.sbin/mptutil/mpt_config.c
213
error = errno;
usr.sbin/mptutil/mpt_config.c
378
return (errno);
usr.sbin/mptutil/mpt_config.c
385
error = errno;
usr.sbin/mptutil/mpt_config.c
393
return (errno);
usr.sbin/mptutil/mpt_config.c
415
error = errno;
usr.sbin/mptutil/mpt_config.c
427
return (errno);
usr.sbin/mptutil/mpt_config.c
481
errno = error;
usr.sbin/mptutil/mpt_config.c
487
errno = EOPNOTSUPP;
usr.sbin/mptutil/mpt_config.c
601
error = errno;
usr.sbin/mptutil/mpt_config.c
660
error = errno;
usr.sbin/mptutil/mpt_config.c
666
return (errno);
usr.sbin/mptutil/mpt_config.c
694
return (errno);
usr.sbin/mptutil/mpt_config.c
708
errno = error;
usr.sbin/mptutil/mpt_config.c
743
error = errno;
usr.sbin/mptutil/mpt_config.c
755
return (errno);
usr.sbin/mptutil/mpt_config.c
79
error = errno;
usr.sbin/mptutil/mpt_config.c
790
return (errno);
usr.sbin/mptutil/mpt_config.c
810
error = errno;
usr.sbin/mptutil/mpt_config.c
819
return (errno);
usr.sbin/mptutil/mpt_config.c
873
error = errno;
usr.sbin/mptutil/mpt_config.c
887
return (errno);
usr.sbin/mptutil/mpt_config.c
899
error = errno;
usr.sbin/mptutil/mpt_config.c
905
return (errno);
usr.sbin/mptutil/mpt_config.c
908
error = errno;
usr.sbin/mptutil/mpt_config.c
918
error = errno;
usr.sbin/mptutil/mpt_config.c
95
error = errno;
usr.sbin/mptutil/mpt_config.c
954
error = errno;
usr.sbin/mptutil/mpt_config.c
961
return (errno);
usr.sbin/mptutil/mpt_config.c
973
error = errno;
usr.sbin/mptutil/mpt_config.c
984
error = errno;
usr.sbin/mptutil/mpt_drive.c
131
return (errno);
usr.sbin/mptutil/mpt_drive.c
152
error = errno;
usr.sbin/mptutil/mpt_drive.c
154
errno = error;
usr.sbin/mptutil/mpt_drive.c
160
error = errno;
usr.sbin/mptutil/mpt_drive.c
163
errno = error;
usr.sbin/mptutil/mpt_drive.c
169
error = errno;
usr.sbin/mptutil/mpt_drive.c
173
errno = error;
usr.sbin/mptutil/mpt_drive.c
188
error = errno;
usr.sbin/mptutil/mpt_drive.c
190
errno = error;
usr.sbin/mptutil/mpt_drive.c
318
error = errno;
usr.sbin/mptutil/mpt_drive.c
325
return (errno);
usr.sbin/mptutil/mpt_drive.c
328
error = errno;
usr.sbin/mptutil/mpt_drive.c
337
error = errno;
usr.sbin/mptutil/mpt_evt.c
100
error = errno;
usr.sbin/mptutil/mpt_evt.c
107
error = errno;
usr.sbin/mptutil/mpt_show.c
296
error = errno;
usr.sbin/mptutil/mpt_show.c
305
error = errno;
usr.sbin/mptutil/mpt_show.c
310
error = errno;
usr.sbin/mptutil/mpt_show.c
397
error = errno;
usr.sbin/mptutil/mpt_show.c
405
error = errno;
usr.sbin/mptutil/mpt_show.c
484
error = errno;
usr.sbin/mptutil/mpt_show.c
492
error = errno;
usr.sbin/mptutil/mpt_show.c
549
error = errno;
usr.sbin/mptutil/mpt_show.c
90
error = errno;
usr.sbin/mptutil/mpt_show.c
97
error = errno;
usr.sbin/mptutil/mpt_volume.c
114
error = errno;
usr.sbin/mptutil/mpt_volume.c
144
error = errno;
usr.sbin/mptutil/mpt_volume.c
218
error = errno;
usr.sbin/mptutil/mpt_volume.c
231
return (errno);
usr.sbin/mptutil/mpt_volume.c
85
error = errno;
usr.sbin/mptutil/mpt_volume.c
98
error = errno;
usr.sbin/mtree/compare.c
204
strerror(errno),
usr.sbin/mtree/compare.c
222
strerror(errno),
usr.sbin/mtree/compare.c
239
strerror(errno),
usr.sbin/mtree/compare.c
276
strerror(errno),
usr.sbin/mtree/compare.c
343
strerror(errno),
usr.sbin/mtree/compare.c
396
tab, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
402
tab, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
421
tab, MD5KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
441
tab, RMD160KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
461
tab, SHA1KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
479
tab, SHA256KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
498
tab, SHA384KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
517
tab, SHA512KEY, p->fts_accpath, strerror(errno));
usr.sbin/mtree/compare.c
542
strerror(errno),
usr.sbin/mtree/compare.c
560
mtree_err("%s: %s", name, strerror(errno));
usr.sbin/mtree/compare.c
92
strerror(errno)); \
usr.sbin/mtree/create.c
113
mtree_err("fts_open: %s", strerror(errno));
usr.sbin/mtree/create.c
189
mtree_err("%s: %s failed: %s", p->fts_path, key, strerror(errno));
usr.sbin/mtree/create.c
212
mtree_err("%s: %s", fname, strerror(errno));
usr.sbin/mtree/create.c
344
if (errno)
usr.sbin/mtree/create.c
345
mtree_err("%s: %s", RP(parent), strerror(errno));
usr.sbin/mtree/mtree.c
107
strerror(errno));
usr.sbin/mtree/mtree.c
112
strerror(errno));
usr.sbin/mtree/mtree.c
271
mtree_err("%s: %s", dir, strerror(errno));
usr.sbin/mtree/mtree.c
274
mtree_err("%s", strerror(errno));
usr.sbin/mtree/spec.c
162
mtree_err("realloc: %s", strerror(errno));
usr.sbin/mtree/spec.c
196
mtree_err("%s", strerror(errno));
usr.sbin/mtree/spec.c
588
val, strerror(errno));
usr.sbin/mtree/verify.c
141
strerror(errno));
usr.sbin/mtree/verify.c
146
strerror(errno));
usr.sbin/mtree/verify.c
231
type, strerror(errno));
usr.sbin/mtree/verify.c
243
type, strerror(errno));
usr.sbin/mtree/verify.c
250
strerror(errno));
usr.sbin/mtree/verify.c
278
path, strerror(errno));
usr.sbin/mtree/verify.c
286
path, strerror(errno));
usr.sbin/mtree/verify.c
296
path, strerror(errno));
usr.sbin/mtree/verify.c
75
mtree_err("fts_open: %s", strerror(errno));
usr.sbin/ndp/ndp.c
855
errno = 0;
usr.sbin/ndp/ndp.c
894
if (errno != ESRCH || cmd != RTM_DELETE) {
usr.sbin/ndp/ndp.c
904
strerror(errno));
usr.sbin/newsyslog/newsyslog.c
2005
if (errno != ESRCH)
usr.sbin/newsyslog/newsyslog.c
2102
errsav = errno;
usr.sbin/newsyslog/newsyslog.c
2266
if (errno == ENOENT && enforcepid == 0) {
usr.sbin/newsyslog/newsyslog.c
2298
errno = 0;
usr.sbin/newsyslog/newsyslog.c
2631
if (failed && errno != ENOENT)
usr.sbin/newsyslog/newsyslog.c
2740
if (errno != EPERM)
usr.sbin/newsyslog/newsyslog.c
397
while (wait(NULL) > 0 || errno == EINTR)
usr.sbin/ngctl/config.c
84
switch (errno) {
usr.sbin/ngctl/status.c
75
switch (errno) {
usr.sbin/nscd/nscd.c
241
errno);
usr.sbin/nscd/nscd.c
248
errno);
usr.sbin/nscd/nscd.c
293
if (errno == ENOENT) {
usr.sbin/nscd/nscd.c
300
" is %d", errno);
usr.sbin/nscd/nscd.c
735
if (errno == EEXIST)
usr.sbin/nscd/nscd.c
752
strerror(errno));
usr.sbin/nvmmctl/nvmmctl.c
162
if (errno == ENOENT)
usr.sbin/pfctl/parse.y
4567
if (errno)
usr.sbin/pfctl/parse.y
4569
ti->file, strerror(errno));
usr.sbin/pfctl/parse.y
4578
strerror(errno));
usr.sbin/pfctl/parse.y
4589
pfr_strerror(errno));
usr.sbin/pfctl/parse.y
6019
errno = 0;
usr.sbin/pfctl/parse.y
6023
if (errno == ERANGE && ulval == ULONG_MAX)
usr.sbin/pfctl/pfctl.c
1367
if (errno == ENXIO)
usr.sbin/pfctl/pfctl.c
1369
else if (errno == ENODEV)
usr.sbin/pfctl/pfctl.c
1530
errno = EISDIR;
usr.sbin/pfctl/pfctl.c
1671
if (errno == EBUSY)
usr.sbin/pfctl/pfctl.c
1926
if (errno == ENODEV) {
usr.sbin/pfctl/pfctl.c
1946
if (errno == EINVAL)
usr.sbin/pfctl/pfctl.c
241
if (errno == EEXIST)
usr.sbin/pfctl/pfctl.c
250
if (errno != EEXIST)
usr.sbin/pfctl/pfctl.c
260
if (errno == ENOENT)
usr.sbin/pfctl/pfctl.c
269
if (errno != ENOENT)
usr.sbin/pfctl/pfctl_osfp.c
308
if (errno == EBUSY)
usr.sbin/pfctl/pfctl_osfp.c
639
if ((errno = pf_osfp_add(fp)))
usr.sbin/pfctl/pfctl_osfp.c
644
if (errno == EEXIST) {
usr.sbin/pfctl/pfctl_parser.c
1650
errno = 0;
usr.sbin/pfctl/pfctl_parser.c
1690
errno = EINVAL;
usr.sbin/pfctl/pfctl_parser.c
1695
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
100
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
122
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
145
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
167
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
187
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
210
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
233
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
264
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
287
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
308
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
330
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
353
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
380
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
387
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
417
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
463
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
481
errno = ENOMEM;
usr.sbin/pfctl/pfctl_radix.c
565
errno = EINVAL;
usr.sbin/pfctl/pfctl_radix.c
79
errno = EINVAL;
usr.sbin/pfctl/pfctl_table.c
417
if (errno)
usr.sbin/pfctl/pfctl_table.c
494
fprintf(stderr, "%s: %s.\n", getprogname(), pfr_strerror(errno));
usr.sbin/pfctl/pfctl_table.c
91
(errno != EPERM)) { \
usr.sbin/pflogd/pflogd.c
253
logmsg(LOG_ERR, "BIOCLOCK: %s", strerror(errno));
usr.sbin/pflogd/pflogd.c
321
logmsg(LOG_ERR, "Error: %s: %s", filename, strerror(errno));
usr.sbin/pflogd/pflogd.c
326
logmsg(LOG_ERR, "Error: %s: %s", filename, strerror(errno));
usr.sbin/pflogd/pflogd.c
485
logmsg(LOG_ERR, "Logging suspended: fwrite: %s", strerror(errno));
usr.sbin/pflogd/pflogd.c
501
strerror(errno));
usr.sbin/pflogd/pflogd.c
508
strerror(errno));
usr.sbin/pflogd/pflogd.c
662
strerror(errno));
usr.sbin/pflogd/privsep.c
147
olderrno = errno;
usr.sbin/pflogd/privsep.c
210
if (errno != EEXIST && errno != EINTR) {
usr.sbin/pflogd/privsep.c
212
strerror(errno));
usr.sbin/pflogd/privsep.c
219
name, ren, strerror(errno));
usr.sbin/pflogd/privsep.c
289
int oerrno = errno;
usr.sbin/pflogd/privsep.c
293
errno = oerrno;
usr.sbin/pflogd/privsep.c
315
if (errno == EINTR || errno == EAGAIN)
usr.sbin/pflogd/privsep.c
340
if (errno == EINTR || errno == EAGAIN)
usr.sbin/pflogd/privsep.c
364
if (errno == EINTR || errno == EAGAIN)
usr.sbin/pflogd/privsep_fdpass.c
121
errno = result;
usr.sbin/pflogd/privsep_fdpass.c
70
result = errno;
usr.sbin/ppp/arp.c
118
strerror(errno));
usr.sbin/ppp/arp.c
137
!(!add && errno == ESRCH)) {
usr.sbin/ppp/arp.c
139
add ? "Add" : "Delete", inet_ntoa(addr), strerror(errno));
usr.sbin/ppp/arp.c
195
strerror(errno));
usr.sbin/ppp/arp.c
214
strerror(errno));
usr.sbin/ppp/arp.c
249
strerror(errno));
usr.sbin/ppp/bundle.c
1424
log_Printf(LogERROR, "Failed recvmsg: %s\n", strerror(errno));
usr.sbin/ppp/bundle.c
1477
log_Printf(LogERROR, "Failed write: %s\n", strerror(errno));
usr.sbin/ppp/bundle.c
1490
log_Printf(LogERROR, "Failed write: %s\n", strerror(errno));
usr.sbin/ppp/bundle.c
1600
strerror(errno));
usr.sbin/ppp/bundle.c
1603
strerror(errno));
usr.sbin/ppp/bundle.c
1611
sun->sun_path, strerror(errno));
usr.sbin/ppp/bundle.c
1629
sun->sun_path, strerror(errno));
usr.sbin/ppp/bundle.c
1636
sun->sun_path, strerror(errno));
usr.sbin/ppp/bundle.c
1731
log_Printf(LogERROR, "pipe: %s\n", strerror(errno));
usr.sbin/ppp/bundle.c
1736
log_Printf(LogERROR, "fork: %s\n", strerror(errno));
usr.sbin/ppp/bundle.c
1745
log_Printf(LogERROR, "pipe(2): %s\n", strerror(errno));
usr.sbin/ppp/bundle.c
1750
log_Printf(LogERROR, "fork(2): %s\n", strerror(errno));
usr.sbin/ppp/bundle.c
569
log_Printf(LogWARN, "%s: read: %s\n", bundle->dev.Name, strerror(errno));
usr.sbin/ppp/bundle.c
682
pidfilename, strerror(errno));
usr.sbin/ppp/bundle.c
730
else if (errno == ENXIO || errno == ENOENT) {
usr.sbin/ppp/bundle.c
742
if (errno != ENOENT || ++enoentcount > 2) {
usr.sbin/ppp/bundle.c
743
err = errno;
usr.sbin/ppp/bundle.c
747
err = errno;
usr.sbin/ppp/bundle.c
778
strerror(errno));
usr.sbin/ppp/bundle.c
786
strerror(errno));
usr.sbin/ppp/bundle.c
794
strerror(errno));
usr.sbin/ppp/bundle.c
846
log_Printf(LogALERT, "Cannot create data link: %s\n", strerror(errno));
usr.sbin/ppp/chap.c
269
log_Printf(LogERROR, "Chap: pipe: %s\n", strerror(errno));
usr.sbin/ppp/chap.c
274
log_Printf(LogERROR, "Chap: pipe: %s\n", strerror(errno));
usr.sbin/ppp/chap.c
283
log_Printf(LogERROR, "Chap: fork: %s\n", strerror(errno));
usr.sbin/ppp/chap.c
311
_PATH_DEVNULL, strerror(errno));
usr.sbin/ppp/chap.c
322
printf("exec() of %s failed: %s\n", nargv[0], strerror(errno));
usr.sbin/ppp/chap.c
355
log_Printf(LogERROR, "Chap: wait: %s\n", strerror(errno));
usr.sbin/ppp/chap.c
430
log_Printf(LogERROR, "Chap: Read: %s\n", strerror(errno));
usr.sbin/ppp/chat.c
523
if (errno != EINTR) {
usr.sbin/ppp/chat.c
524
log_Printf(LogWARN, "chat_Write: %s\n", strerror(errno));
usr.sbin/ppp/chat.c
726
strerror(errno));
usr.sbin/ppp/chat.c
749
fprintf(stderr, "execvp: %s: %s\n", argv[0], strerror(errno));
usr.sbin/ppp/command.c
2168
log_Printf(LogWARN, "%s: %s\n", argp, strerror(errno));
usr.sbin/ppp/command.c
637
_PATH_DEVNULL, strerror(errno));
usr.sbin/ppp/command.c
664
log_Printf(LogERROR, "%ld: daemon: %s\n", (long)p, strerror(errno));
usr.sbin/ppp/command.c
679
strerror(errno));
usr.sbin/ppp/command.c
684
log_Printf(LogERROR, "Fork failed: %s\n", strerror(errno));
usr.sbin/ppp/defs.c
86
if (errno == EINTR)
usr.sbin/ppp/ether.c
518
strerror(errno));
usr.sbin/ppp/ether.c
533
path, strerror(errno));
usr.sbin/ppp/ether.c
541
strerror(errno));
usr.sbin/ppp/ether.c
601
etherid, strerror(errno));
usr.sbin/ppp/ether.c
623
"nodes: %s\n", strerror(errno));
usr.sbin/ppp/ether.c
645
connectpath, strerror(errno));
usr.sbin/ppp/ether.c
699
p->link.name, strerror(errno));
usr.sbin/ppp/exec.c
115
strerror(errno));
usr.sbin/ppp/exec.c
130
strerror(errno));
usr.sbin/ppp/exec.c
135
strerror(errno));
usr.sbin/ppp/exec.c
156
ret = errno;
usr.sbin/ppp/exec.c
158
strerror(errno));
usr.sbin/ppp/exec.c
186
child_status = errno; /* Only works for vfork() */
usr.sbin/ppp/exec.c
198
while ((wret = waitpid(pid, &stat, 0)) == -1 && errno == EINTR)
usr.sbin/ppp/exec.c
202
strerror(errno));
usr.sbin/ppp/iface.c
121
strerror(errno));
usr.sbin/ppp/iface.c
126
fprintf(stderr, "iface_Create: malloc failed: %s\n", strerror(errno));
usr.sbin/ppp/iface.c
131
err = errno;
usr.sbin/ppp/iface.c
150
fprintf(stderr, "iface_Create: malloc: %s\n", strerror(errno));
usr.sbin/ppp/iface.c
276
end, ncprange_ntoa(&addr->ifa), strerror(errno));
usr.sbin/ppp/iface.c
280
end, ncprange_ntoa(&addr->ifa), dst, strerror(errno));
usr.sbin/ppp/iface.c
361
end, ncprange_ntoa(&addr->ifa), strerror(errno));
usr.sbin/ppp/iface.c
365
end, ncprange_ntoa(&addr->ifa), dst, strerror(errno));
usr.sbin/ppp/iface.c
410
log_Printf(LogERROR, "iface_Clear: socket(): %s\n", strerror(errno));
usr.sbin/ppp/iface.c
441
log_Printf(LogERROR, "iface_Add: socket(): %s\n", strerror(errno));
usr.sbin/ppp/iface.c
485
log_Printf(LogERROR, "iface_inAdd: realloc: %s\n", strerror(errno));
usr.sbin/ppp/iface.c
523
log_Printf(LogERROR, "iface_Delete: socket(): %s\n", strerror(errno));
usr.sbin/ppp/iface.c
557
log_Printf(LogERROR, "iface_ChangeFlags: socket: %s\n", strerror(errno));
usr.sbin/ppp/iface.c
566
strerror(errno));
usr.sbin/ppp/iface.c
578
strerror(errno));
usr.sbin/ppp/ip.c
920
l->name, nb, strerror(errno));
usr.sbin/ppp/ipcp.c
197
(unsigned long)st.st_size, _PATH_RESCONF, strerror(errno));
usr.sbin/ppp/ipcp.c
200
(unsigned long)st.st_size, _PATH_RESCONF, strerror(errno));
usr.sbin/ppp/ipcp.c
206
_PATH_RESCONF, strerror(errno));
usr.sbin/ppp/ipcp.c
267
_PATH_RESCONF, strerror(errno));
usr.sbin/ppp/ipcp.c
309
strerror(errno));
usr.sbin/ppp/ipcp.c
330
_PATH_RESCONF, strerror(errno));
usr.sbin/ppp/ipcp.c
338
strerror(errno));
usr.sbin/ppp/ipcp.c
341
strerror(errno));
usr.sbin/ppp/libradius/radlib.c
1245
generr(h, "select: %s", strerror(errno));
usr.sbin/ppp/libradius/radlib.c
488
generr(h, "Cannot open \"%s\": %s", path, strerror(errno));
usr.sbin/ppp/libradius/radlib.c
689
generr(h, "recvfrom: %s", strerror(errno));
usr.sbin/ppp/libradius/radlib.c
739
generr(h, "Cannot create socket: %s", strerror(errno));
usr.sbin/ppp/libradius/radlib.c
749
generr(h, "bind: %s", strerror(errno));
usr.sbin/ppp/libradius/radlib.c
800
generr(h, "recvfrom: %s", strerror(errno));
usr.sbin/ppp/libradius/radlib.c
844
generr(h, "sendto: %s", strerror(errno));
usr.sbin/ppp/libradius/radlib.c
986
generr(h, "Cannot create socket: %s", strerror(errno));
usr.sbin/ppp/libradius/radlib.c
996
generr(h, "bind: %s", strerror(errno));
usr.sbin/ppp/main.c
439
log_Printf(LogERROR, "pipe: %s\n", strerror(errno));
usr.sbin/ppp/main.c
445
log_Printf(LogERROR, "fork: %s\n", strerror(errno));
usr.sbin/ppp/main.c
589
if (i < 0 && errno != EINTR) {
usr.sbin/ppp/main.c
590
log_Printf(LogERROR, "DoLoop: select(): %s\n", strerror(errno));
usr.sbin/ppp/mp.c
1122
log_Printf(LogERROR, "mpserver: snprintf(): %s\n", strerror(errno));
usr.sbin/ppp/mp.c
1138
log_Printf(LogERROR, "mpserver: socket(): %s\n", strerror(errno));
usr.sbin/ppp/mp.c
1152
if (errno != EADDRINUSE) {
usr.sbin/ppp/mp.c
1154
s->socket.sun_path, strerror(errno));
usr.sbin/ppp/mp.c
1165
s->socket.sun_path, strerror(errno));
usr.sbin/ppp/mp.c
1166
if (errno == ECONNREFUSED)
usr.sbin/ppp/mp.c
1191
strerror(errno));
usr.sbin/ppp/ncp.c
376
strerror(errno));
usr.sbin/ppp/netgraph.c
144
dev->dev.name, len + 4, strerror(errno));
usr.sbin/ppp/netgraph.c
163
dev->dev.name, path, fmt, data, strerror(errno));
usr.sbin/ppp/netgraph.c
206
dev->dev.name, strerror(errno));
usr.sbin/ppp/netgraph.c
495
strerror(errno));
usr.sbin/ppp/netgraph.c
592
p->link.name, path, strerror(errno));
usr.sbin/ppp/netgraph.c
600
p->link.name, strerror(errno));
usr.sbin/ppp/netgraph.c
648
path, nodetype, strerror(errno));
usr.sbin/ppp/netgraph.c
661
p->link.name, path, strerror(errno));
usr.sbin/ppp/netgraph.c
669
p->link.name, strerror(errno));
usr.sbin/ppp/netgraph.c
680
p->link.name, path, strerror(errno));
usr.sbin/ppp/netgraph.c
710
"nodes: %s\n", path, strerror(errno));
usr.sbin/ppp/netgraph.c
734
p->link.name, strerror(errno));
usr.sbin/ppp/physical.c
1018
err = errno;
usr.sbin/ppp/physical.c
1030
strerror(errno));
usr.sbin/ppp/physical.c
365
p->link.name, fn, strerror(errno));
usr.sbin/ppp/physical.c
404
if (errno == EAGAIN)
usr.sbin/ppp/physical.c
406
else if (errno != ENOBUFS) {
usr.sbin/ppp/physical.c
408
p->fd, strerror(errno));
usr.sbin/ppp/physical.c
532
strerror(errno));
usr.sbin/ppp/physical.c
974
p->link.name, fn, strerror(errno));
usr.sbin/ppp/prompt.c
252
log_Printf(LogWARN, "error writing to modem: %s\n", strerror(errno));
usr.sbin/ppp/prompt.c
292
log_Printf(LogWARN, "error writing to modem: %s\n", strerror(errno));
usr.sbin/ppp/radius.c
747
log_Printf(LogERROR, "rad_auth_open: %s\n", strerror(errno));
usr.sbin/ppp/radius.c
843
log_Printf(LogERROR, "rad_put: gethostname(): %s\n", strerror(errno));
usr.sbin/ppp/radius.c
911
log_Printf(LogERROR, "rad_auth_open: %s\n", strerror(errno));
usr.sbin/ppp/radius.c
962
log_Printf(LogERROR, "rad_put: gethostname(): %s\n", strerror(errno));
usr.sbin/ppp/route.c
240
strerror(errno));
usr.sbin/ppp/route.c
268
log_Printf(LogDEBUG, "Index2Nam: %s\n", strerror(errno));
usr.sbin/ppp/route.c
344
log_Printf(LogERROR, "route_Show: sysctl: estimate: %s\n", strerror(errno));
usr.sbin/ppp/route.c
351
log_Printf(LogERROR, "route_Show: sysctl: getroute: %s\n", strerror(errno));
usr.sbin/ppp/route.c
401
strerror(errno));
usr.sbin/ppp/route.c
411
strerror(errno));
usr.sbin/ppp/route.c
492
strerror(errno));
usr.sbin/ppp/route.c
502
strerror(errno));
usr.sbin/ppp/route.c
747
log_Printf(LogERROR, "rt_Set: socket(): %s\n", strerror(errno));
usr.sbin/ppp/route.c
814
(rtmes.m_rtm.rtm_errno == 0 && errno == EEXIST))) {
usr.sbin/ppp/route.c
826
(rtmes.m_rtm.rtm_errno == 0 && errno == ESRCH))) {
usr.sbin/ppp/route.c
831
if (!quiet || errno != ENETUNREACH)
usr.sbin/ppp/route.c
833
ncprange_ntoa(dst), strerror(errno));
usr.sbin/ppp/route.c
865
log_Printf(LogERROR, "rt_Update: socket(): %s\n", strerror(errno));
usr.sbin/ppp/route.c
914
ncprange_ntoa(&ncpdst), strerror(errno));
usr.sbin/ppp/server.c
106
log_Printf(LogERROR, "server_Read: accept(): %s\n", strerror(errno));
usr.sbin/ppp/server.c
265
log_Printf(LogERROR, "Local: socket: %s\n", strerror(errno));
usr.sbin/ppp/server.c
274
log_Printf(LogWARN, "Local: bind: %s\n", strerror(errno));
usr.sbin/ppp/server.c
345
log_Printf(LogERROR, "Tcp: socket: %s\n", strerror(errno));
usr.sbin/ppp/server.c
351
log_Printf(LogWARN, "Tcp: bind: %s\n", strerror(errno));
usr.sbin/ppp/server.c
357
strerror(errno));
usr.sbin/ppp/tcp.c
92
log_Printf(LogWARN, "%s: connect: %s\n", name, strerror(errno));
usr.sbin/ppp/timer.c
282
log_Printf(LogERROR, "Unable to set itimer (%s)\n", strerror(errno));
usr.sbin/ppp/timer.c
294
log_Printf(LogERROR, "Unable to set itimer (%s)\n", strerror(errno));
usr.sbin/ppp/tty.c
303
strerror(errno));
usr.sbin/ppp/tty.c
312
strerror(errno));
usr.sbin/ppp/tty.c
349
strerror(errno));
usr.sbin/ppp/tty.c
356
p->link.name, ngc.path, strerror(errno));
usr.sbin/ppp/tty.c
361
p->link.name, ngc.path, strerror(errno));
usr.sbin/ppp/tty.c
752
p->link.name, strerror(errno));
usr.sbin/ppp/tun.c
102
strerror(errno));
usr.sbin/ppp/tun.c
118
strerror(errno));
usr.sbin/ppp/tun.c
94
log_Printf(LogERROR, "tun_configure: socket(): %s\n", strerror(errno));
usr.sbin/ppp/udp.c
101
if (ret == -1 && errno == EISCONN) {
usr.sbin/ppp/udp.c
208
p->link.name, strerror(errno));
usr.sbin/ppp/udp.c
242
log_Printf(LogWARN, "%s: connect: %s\n", p->name.full, strerror(errno));
usr.sbin/ppp/udp.c
244
log_Printf(LogWARN, "%s: socket: %s\n", p->name.full, strerror(errno));
usr.sbin/ppp/udp.c
303
p->link.name, strerror(errno));
usr.sbin/pppctl/pppctl.c
356
save_errno = errno;
usr.sbin/pppctl/pppctl.c
359
errno = save_errno;
usr.sbin/pppctl/pppctl.c
364
if (errno)
usr.sbin/pppctl/pppctl.c
98
if (Result == 0 && errno != EINTR) {
usr.sbin/procctl/procctl.c
86
if (!vflag && errno == ENOENT)
usr.sbin/procctl/procctl.c
97
if (ioctl(fd, PIOCCONT, 0) == -1 && errno != EINVAL)
usr.sbin/pw/cpdir.c
52
if (mkdir(dir, mode) != 0 && errno != EEXIST) {
usr.sbin/pw/fileupd.c
166
rc = errno; /* Failed to update */
usr.sbin/pw/fileupd.c
79
rc = errno;
usr.sbin/pw/fileupd.c
84
rc = errno; /* Assumes fopen(3) sets errno from open(2) */
usr.sbin/pw/fileupd.c
94
rc = errno;
usr.sbin/pw/fileupd.c
99
rc = errno;
usr.sbin/pw/pw_user.c
180
if (mkdir(dbuf, _DEF_DIRMODE) != -1 || errno == EEXIST) {
usr.sbin/pw/pwupd.c
93
i = errno;
usr.sbin/pwd_mkdb/pwd_mkdb.c
661
fmt: 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
689
int sverrno = errno;
usr.sbin/pwd_mkdb/pwd_mkdb.c
692
errno = sverrno;
usr.sbin/pwd_mkdb/pwd_mkdb.c
704
int sverrno = errno;
usr.sbin/pwd_mkdb/pwd_mkdb.c
706
errno = sverrno;
usr.sbin/quot/quot.c
346
errno = 0;
usr.sbin/quot/quot.c
387
} else if (errno) {
usr.sbin/quot/quot.c
412
errno = 0;
usr.sbin/quot/quot.c
419
else if (errno) {
usr.sbin/quot/quot.c
460
errno = 0;
usr.sbin/quot/quot.c
473
if (errno) {
usr.sbin/rarpd/rarpd.c
353
} while ((fd == -1) && (errno == EBUSY));
usr.sbin/rarpd/rarpd.c
502
if (errno == EINTR)
usr.sbin/rarpd/rarpd.c
514
if ((cc == -1) && (errno == EINTR))
usr.sbin/rarpd/rarpd.c
693
errno = 0;
usr.sbin/rarpd/rarpd.c
694
if ((write(r, rt, rt->rtm_msglen) == -1) && (errno != ESRCH)) {
usr.sbin/rarpd/rarpd.c
742
errno = 0;
usr.sbin/rarpd/rarpd.c
743
if ((write(r, rt, rt->rtm_msglen) == -1) && (errno != EEXIST)) {
usr.sbin/rarpd/rarpd.c
925
str, strerror(errno));
usr.sbin/rarpd/rarpd.c
928
errno = ENOMEM;
usr.sbin/rarpd/rarpd.c
939
errno = ENOMEM;
usr.sbin/repquota/repquota.c
188
errno == EOPNOTSUPP && !warned && vflag) {
usr.sbin/resident/resident.c
130
printf("unregister: %s\n", strerror(errno));
usr.sbin/rmt/rmt.c
194
error(errno);
usr.sbin/rmt/rmt.c
82
errno = 0;
usr.sbin/rndcontrol/rndcontrol.c
100
if (result < 0 && errno == ENOTSUP) {
usr.sbin/route6d/route6d.c
2626
if (errno == EEXIST) {
usr.sbin/route6d/route6d.c
2634
strerror(errno));
usr.sbin/route6d/route6d.c
2637
strerror(errno));
usr.sbin/route6d/route6d.c
2691
if (errno == ESRCH) {
usr.sbin/route6d/route6d.c
2699
strerror(errno));
usr.sbin/route6d/route6d.c
2702
strerror(errno));
usr.sbin/route6d/route6d.c
2731
if (errno == ESRCH) /* No such route found */
usr.sbin/route6d/route6d.c
3007
errno = EINVAL;
usr.sbin/route6d/route6d.c
3199
if (errno)
usr.sbin/route6d/route6d.c
3200
syslog(LOG_ERR, "%s: %s", buf, strerror(errno));
usr.sbin/route6d/route6d.c
441
if (errno != EINTR) {
usr.sbin/route6d/route6d.c
977
trace(1, "sendmsg: %s\n", strerror(errno));
usr.sbin/route6d/route6d.c
978
return errno;
usr.sbin/rpc.lockd/lockd.c
255
strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
154
syslog(LOG_NOTICE, "malloc failed: %s", strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
169
syslog(LOG_NOTICE, "malloc failed: %s", strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
182
syslog(LOG_NOTICE, "malloc failed: %s", strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
342
if (errno != ECHILD)
usr.sbin/rpc.lockd/lockd_lock.c
344
strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
347
strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
412
switch (errno) {
usr.sbin/rpc.lockd/lockd_lock.c
425
fl->client_name, strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
431
fl->client_name, strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
444
if (error != 0 && errno == EAGAIN && block) {
usr.sbin/rpc.lockd/lockd_lock.c
447
syslog(LOG_NOTICE, "fork failed: %s", strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
461
strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
476
switch (errno) {
usr.sbin/rpc.lockd/lockd_lock.c
491
if (errno != EAGAIN)
usr.sbin/rpc.lockd/lockd_lock.c
493
fl->client_name, strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
495
fl->client_name, strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
590
if (errno == ESTALE)
usr.sbin/rpc.lockd/lockd_lock.c
598
rfl->client_name, strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
641
syslog(LOG_WARNING, "siglock failed: %s", strerror(errno));
usr.sbin/rpc.lockd/lockd_lock.c
654
syslog(LOG_WARNING, "sigunlock failed: %s", strerror(errno));
usr.sbin/rpc.statd/file.c
148
if ((status_fd < 0) && (errno == ENOENT))
usr.sbin/rpc.statd/file.c
289
syslog(LOG_ERR, "Unable to fork notify process - %s", strerror(errno));
usr.sbin/rpc.statd/file.c
62
syslog(LOG_ERR, "msync() failed: %s", strerror(errno));
usr.sbin/rpc.statd/procs.c
328
syslog(LOG_ERR, "Unable to fork notify process - %s", strerror(errno));
usr.sbin/rpc.umntall/mounttab.c
80
if (errno == ENOENT)
usr.sbin/rpc.umntall/mounttab.c
91
errno = 0;
usr.sbin/rpc.yppasswdd/yppasswdd_main.c
239
yp_error("can't get local hostname: %s", strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
244
yp_error("opendir(%s) failed: %s", yp_dir, strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
253
strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
344
maps[i], strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
403
maps[i],strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
658
strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
664
yp_error("fork() failed: %s", strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
878
strerror(errno));
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
884
yp_error("fork() failed: %s", strerror(errno));
usr.sbin/rpc.ypupdated/yp_dbupdate.c
59
strerror(errno));
usr.sbin/rpc.ypupdated/yp_dbupdate.c
63
yp_error("fork() failed: %s", strerror(errno));
usr.sbin/rpc.ypupdated/ypupdated_main.c
143
if (errno == EINTR) {
usr.sbin/rpc.ypxfrd/ypxfrd_main.c
146
if (errno == EINTR) {
usr.sbin/rpc.ypxfrd/ypxfrd_main.c
167
saved_errno = errno;
usr.sbin/rpc.ypxfrd/ypxfrd_main.c
171
errno = saved_errno;
usr.sbin/rpc.ypxfrd/ypxfrd_main.c
183
errno = saved_errno;
usr.sbin/rpc.ypxfrd/ypxfrd_server.c
67
yp_error("read error: %s", strerror(errno));
usr.sbin/rpcbind/rpcb_svc_com.c
1245
} while (inlen < 0 && errno == EINTR);
usr.sbin/rpcbind/rpcb_svc_com.c
1249
"handle_reply: recvfrom returned %d, errno %d\n", inlen, errno);
usr.sbin/rpcbind/rpcb_svc_com.c
404
uaddr = (char *)strerror(errno);
usr.sbin/rpcbind/rpcb_svc_com.c
501
nconf->nc_device, errno);
usr.sbin/rpcbind/rpcb_svc_com.c
901
"rpcbproc_callit_com: sendto failed: errno %d\n", errno);
usr.sbin/rpcbind/rpcbind.c
127
if(flock(rpcbindlockfd, LOCK_EX|LOCK_NB) == -1 && errno == EWOULDBLOCK)
usr.sbin/rpcbind/rpcbind.c
273
if (errno == EPROTONOSUPPORT)
usr.sbin/rpcbind/rpcbind.c
337
if (errno == EPROTONOSUPPORT &&
usr.sbin/rpcbind/rpcbind.c
756
int save_errno = errno;
usr.sbin/rpcbind/rpcbind.c
760
errno = save_errno;
usr.sbin/rrenumd/rrenumd.c
139
__func__, ifname, strerror(errno));
usr.sbin/rrenumd/rrenumd.c
146
__func__, ifname, strerror(errno));
usr.sbin/rrenumd/rrenumd.c
249
strerror(errno));
usr.sbin/rrenumd/rrenumd.c
267
__func__, strerror(errno));
usr.sbin/rrenumd/rrenumd.c
276
__func__, strerror(errno));
usr.sbin/rrenumd/rrenumd.c
290
strerror(errno));
usr.sbin/rrenumd/rrenumd.c
348
strerror(errno));
usr.sbin/rrenumd/rrenumd.c
382
strerror(errno));
usr.sbin/rrenumd/rrenumd.c
494
__func__, strerror(errno));
usr.sbin/rtadvd/advcap.c
130
"<%s> open: %s", __func__, strerror(errno));
usr.sbin/rtadvd/config.c
1245
strerror(errno));
usr.sbin/rtadvd/config.c
1251
strerror(errno));
usr.sbin/rtadvd/config.c
1291
ifindex, strerror(errno));
usr.sbin/rtadvd/config.c
633
strerror(errno));
usr.sbin/rtadvd/config.c
640
__func__, ifi->ifi_ifname, strerror(errno));
usr.sbin/rtadvd/config.c
648
__func__, ifi->ifi_ifname, strerror(errno));
usr.sbin/rtadvd/control.c
142
__func__, strerror(errno));
usr.sbin/rtadvd/control.c
148
if (n < 0 && errno == EAGAIN) {
usr.sbin/rtadvd/control.c
205
"<%s> write failed: (%d)%s", __func__, errno,
usr.sbin/rtadvd/control.c
206
strerror(errno));
usr.sbin/rtadvd/control.c
234
if (errno != EWOULDBLOCK && errno != EINTR)
usr.sbin/rtadvd/control.c
236
syslog(LOG_WARNING, "<%s> Xaccept: %s", __func__, strerror(errno));
usr.sbin/rtadvd/control.c
303
if (errno != ENOENT) {
usr.sbin/rtadvd/control.c
86
__func__, strerror(errno));
usr.sbin/rtadvd/control.c
92
if (n < 0 && errno == EAGAIN) {
usr.sbin/rtadvd/if.c
397
if (errno != EPFNOSUPPORT)
usr.sbin/rtadvd/if.c
630
strerror(errno));
usr.sbin/rtadvd/if.c
665
strerror(errno));
usr.sbin/rtadvd/if.c
703
strerror(errno));
usr.sbin/rtadvd/if.c
741
__func__, mif, strerror(errno));
usr.sbin/rtadvd/rrenum.c
168
errno != EADDRNOTAVAIL)
usr.sbin/rtadvd/rrenum.c
170
strerror(errno));
usr.sbin/rtadvd/rrenum.c
204
errno != EADDRNOTAVAIL)
usr.sbin/rtadvd/rrenum.c
206
strerror(errno));
usr.sbin/rtadvd/rrenum.c
267
strerror(errno));
usr.sbin/rtadvd/rrenum.c
297
if (errno == ENXIO)
usr.sbin/rtadvd/rrenum.c
299
else if (errno) {
usr.sbin/rtadvd/rrenum.c
301
strerror(errno));
usr.sbin/rtadvd/rtadvd.c
1560
syslog(LOG_ERR, "<%s> socket: %s", __func__, strerror(errno));
usr.sbin/rtadvd/rtadvd.c
1568
strerror(errno));
usr.sbin/rtadvd/rtadvd.c
1576
strerror(errno));
usr.sbin/rtadvd/rtadvd.c
1588
__func__, strerror(errno));
usr.sbin/rtadvd/rtadvd.c
1622
"<%s> socket: %s", __func__, strerror(errno));
usr.sbin/rtadvd/rtadvd.c
1763
strerror(errno));
usr.sbin/rtadvd/rtadvd.c
251
if (errno == EEXIST)
usr.sbin/rtadvd/rtadvd.c
270
strerror(errno));
usr.sbin/rtadvd/rtadvd.c
294
strerror(errno));
usr.sbin/rtadvd/rtadvd.c
339
if (errno != EINTR)
usr.sbin/rtadvd/rtadvd.c
341
strerror(errno));
usr.sbin/rtadvd/rtadvd.c
359
strerror(errno));
usr.sbin/rtadvd/rtadvd.h
39
__func__, strerror(errno)); \
usr.sbin/rtsold/dump.c
104
dumpfile, strerror(errno));
usr.sbin/rtsold/if.c
105
strerror(errno));
usr.sbin/rtsold/if.c
112
"ioctl(SIOCSIFFLAGS): %s", strerror(errno));
usr.sbin/rtsold/if.c
155
ifname, strerror(errno));
usr.sbin/rtsold/if.c
173
if (errno != EINVAL) {
usr.sbin/rtsold/if.c
176
ifname, strerror(errno));
usr.sbin/rtsold/if.c
330
strerror(errno));
usr.sbin/rtsold/if.c
335
strerror(errno));
usr.sbin/rtsold/if.c
354
"ioctl(SIOCGIFAFLAG_IN6): %s", strerror(errno));
usr.sbin/rtsold/if.c
384
strerror(errno));
usr.sbin/rtsold/if.c
392
strerror(errno));
usr.sbin/rtsold/if.c
416
"ioctl(SIOCGIFAFLAG_IN6): %s", strerror(errno));
usr.sbin/rtsold/probe.c
113
warnmsg(LOG_ERR, __func__, "socket: %s", strerror(errno));
usr.sbin/rtsold/probe.c
120
strerror(errno));
usr.sbin/rtsold/probe.c
189
if_indextoname(ifindex, ifnamebuf), strerror(errno));
usr.sbin/rtsold/probe.c
82
warnmsg(LOG_ERR, __func__, "socket: %s", strerror(errno));
usr.sbin/rtsold/probe.c
88
warnmsg(LOG_ERR, __func__, "shutdown: %s", strerror(errno));
usr.sbin/rtsold/rtsol.c
113
warnmsg(LOG_ERR, __func__, "socket: %s", strerror(errno));
usr.sbin/rtsold/rtsol.c
123
strerror(errno));
usr.sbin/rtsold/rtsol.c
130
strerror(errno));
usr.sbin/rtsold/rtsol.c
141
strerror(errno));
usr.sbin/rtsold/rtsol.c
148
strerror(errno));
usr.sbin/rtsold/rtsol.c
159
strerror(errno));
usr.sbin/rtsold/rtsol.c
225
if (errno != ENETDOWN || dflag > 0)
usr.sbin/rtsold/rtsol.c
227
ifinfo->ifname, strerror(errno));
usr.sbin/rtsold/rtsol.c
248
warnmsg(LOG_ERR, __func__, "recvmsg: %s", strerror(errno));
usr.sbin/rtsold/rtsold.c
263
pidfilename, strerror(errno));
usr.sbin/rtsold/rtsold.c
301
if (e < 0 && errno != EINTR) {
usr.sbin/rtsold/rtsold.c
303
strerror(errno));
usr.sbin/rwhod/rwhod.c
326
if (cc < 0 && errno != EINTR) {
usr.sbin/sa/pdb.c
67
error = errno == ENOENT ? 0 : -1;
usr.sbin/sa/usrdb.c
72
error = (errno == ENOENT) ? 0 : -1;
usr.sbin/sdpd/main.c
111
strerror(errno), errno);
usr.sbin/sdpd/main.c
123
strerror(errno), errno);
usr.sbin/sdpd/main.c
130
strerror(errno), errno);
usr.sbin/sdpd/main.c
201
group, strerror(errno), errno);
usr.sbin/sdpd/main.c
207
user, strerror(errno), errno);
usr.sbin/sdpd/sar.c
309
} while (size < 0 && errno == EINTR);
usr.sbin/sdpd/sar.c
318
return ((size < 0)? errno : 0);
usr.sbin/sdpd/server.c
117
if (unlink(control) < 0 && errno != ENOENT) {
usr.sbin/sdpd/server.c
119
control, strerror(errno), errno);
usr.sbin/sdpd/server.c
126
strerror(errno), errno);
usr.sbin/sdpd/server.c
142
strerror(errno), errno);
usr.sbin/sdpd/server.c
149
"%s (%d)", strerror(errno), errno);
usr.sbin/sdpd/server.c
156
strerror(errno), errno);
usr.sbin/sdpd/server.c
165
strerror(errno), errno);
usr.sbin/sdpd/server.c
173
strerror(errno), errno);
usr.sbin/sdpd/server.c
187
strerror(errno), errno);
usr.sbin/sdpd/server.c
195
strerror(errno), errno);
usr.sbin/sdpd/server.c
301
if (errno == EINTR)
usr.sbin/sdpd/server.c
305
srv->maxfd + 1, &fdset, strerror(errno), errno);
usr.sbin/sdpd/server.c
342
} while (cfd < 0 && errno == EINTR);
usr.sbin/sdpd/server.c
347
strerror(errno), errno);
usr.sbin/sdpd/server.c
359
strerror(errno), errno);
usr.sbin/sdpd/server.c
368
strerror(errno), errno);
usr.sbin/sdpd/server.c
455
} while (len < 0 && errno == EINTR);
usr.sbin/sdpd/server.c
460
strerror(errno), errno);
usr.sbin/sdpd/server.c
603
} while (size < 0 && errno == EINTR);
usr.sbin/sdpd/server.c
605
return ((size < 0)? errno : 0);
usr.sbin/sdpd/srr.c
134
} while (size < 0 && errno == EINTR);
usr.sbin/sdpd/srr.c
140
return ((size < 0)? errno : 0);
usr.sbin/sdpd/ssr.c
299
} while (size < 0 && errno == EINTR);
usr.sbin/sdpd/ssr.c
308
return ((size < 0)? errno : 0);
usr.sbin/sensorsd/sensorsd.c
178
if (errno != ENOENT)
usr.sbin/sensorsd/sensorsd.c
216
if (errno != ENOENT)
usr.sbin/sensorsd/sensorsd.c
275
if (errno != ENOENT)
usr.sbin/sliplogin/sliplogin.c
308
if (unlink(pidfilename) < 0 && errno != ENOENT)
usr.sbin/sliplogin/sliplogin.c
310
if (unlink(iffilename) < 0 && errno != ENOENT)
usr.sbin/slstat/slstat.c
172
(errno != ENOMEM || len != AMT))
usr.sbin/syslogd/syslogd.c
1226
int e = errno;
usr.sbin/syslogd/syslogd.c
1228
errno = e;
usr.sbin/syslogd/syslogd.c
1229
switch (errno) {
usr.sbin/syslogd/syslogd.c
1264
if (errno != ENOSPC) {
usr.sbin/syslogd/syslogd.c
1265
int e = errno;
usr.sbin/syslogd/syslogd.c
1268
errno = e;
usr.sbin/syslogd/syslogd.c
1290
int e = errno;
usr.sbin/syslogd/syslogd.c
1296
errno = e;
usr.sbin/syslogd/syslogd.c
1313
errno = 0; /* ttymsg() only sometimes returns an errno */
usr.sbin/syslogd/syslogd.c
1356
errno = 0; /* already in msg */
usr.sbin/syslogd/syslogd.c
1368
errno = 0; /* already in msg */
usr.sbin/syslogd/syslogd.c
1476
if (errno)
usr.sbin/syslogd/syslogd.c
1478
sizeof buf, "syslogd: %s: %s", type, strerror(errno));
usr.sbin/syslogd/syslogd.c
1481
errno = 0;
usr.sbin/syslogd/syslogd.c
1510
errno = 0;
usr.sbin/syslogd/syslogd.c
1772
errno = 0; /* keep strerror() stuff out of logerror messages */
usr.sbin/syslogd/syslogd.c
1865
errno = 0;
usr.sbin/syslogd/syslogd.c
1894
errno = 0;
usr.sbin/syslogd/syslogd.c
2599
errno = 0; /* Keep strerror() stuff out of logerror messages. */
usr.sbin/syslogd/syslogd.c
2659
errno = 0;
usr.sbin/syslogd/syslogd.c
470
if (errno == EEXIST)
usr.sbin/syslogd/syslogd.c
529
dprintf("cannot create %s (%d)\n", fx->name, errno);
usr.sbin/syslogd/syslogd.c
561
dprintf("can't open %s (%d)\n", _PATH_KLOG, errno);
usr.sbin/syslogd/syslogd.c
630
if (errno != EINTR)
usr.sbin/syslogd/syslogd.c
649
} else if (l < 0 && errno != EINTR)
usr.sbin/syslogd/syslogd.c
662
} else if (l < 0 && errno != EINTR)
usr.sbin/syslogd/syslogd.c
724
errno = 0;
usr.sbin/syslogd/syslogd.c
726
if (*q == '>' && n >= 0 && n < INT_MAX && errno == 0) {
usr.sbin/syslogd/syslogd.c
788
if (i < 0 && errno != EINTR && errno != EAGAIN) {
usr.sbin/syslogd/syslogd.c
824
errno = 0;
usr.sbin/syslogd/syslogd.c
826
if (*q == '>' && n >= 0 && n < INT_MAX && errno == 0) {
usr.sbin/sysvipcd/shmd.c
466
errno = -ENFILE;
usr.sbin/sysvipcd/shmd.c
477
return (-errno);
usr.sbin/sysvipcd/shmd.c
568
error = errno;
usr.sbin/sysvipcd/shmd.c
87
errno = 0;
usr.sbin/sysvipcd/sysvipcd.c
172
errno = EEXIST;
usr.sbin/sysvipcd/utilsd.c
63
getpid(), errno, fmt);
usr.sbin/traceroute/traceroute.c
348
errno = 0;
usr.sbin/traceroute/traceroute.c
351
if (errno || !*optarg || *ep || l < 1 || l > max_ttl)
usr.sbin/traceroute/traceroute.c
387
errno = 0;
usr.sbin/traceroute/traceroute.c
390
if (errno || !*optarg || *ep || l < first_ttl ||
usr.sbin/traceroute/traceroute.c
403
errno = 0;
usr.sbin/traceroute/traceroute.c
406
if (errno || !*optarg || *ep || l <= 0 || l >= 65536)
usr.sbin/traceroute/traceroute.c
414
errno = 0;
usr.sbin/traceroute/traceroute.c
417
if (errno || !*optarg || *ep || l < 1 ||
usr.sbin/traceroute/traceroute.c
430
errno = 0;
usr.sbin/traceroute/traceroute.c
433
if (errno || !*optarg || *ep || l < 1 || l > INT_MAX)
usr.sbin/traceroute/traceroute.c
448
errno = 0;
usr.sbin/traceroute/traceroute.c
451
if (errno || !*optarg || *ep || l < 0 || l > 255)
usr.sbin/traceroute/traceroute.c
459
errno = 0;
usr.sbin/traceroute/traceroute.c
462
if (errno || !*optarg || *ep || l <= 1 || l > INT_MAX)
usr.sbin/traceroute/traceroute.c
494
errno = 0;
usr.sbin/traceroute/traceroute.c
497
if (errno || !*argv || *ep || l < 0 || l > INT_MAX)
usr.sbin/traceroute6/traceroute6.c
388
errno = 0;
usr.sbin/traceroute6/traceroute6.c
390
if (errno || !*optarg || *ep || first_hop > 255) {
usr.sbin/traceroute6/traceroute6.c
414
errno = 0;
usr.sbin/traceroute6/traceroute6.c
416
if (errno || !*optarg || *ep || max_hops > 255) {
usr.sbin/traceroute6/traceroute6.c
430
errno = 0;
usr.sbin/traceroute6/traceroute6.c
432
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
476
errno = 0;
usr.sbin/traceroute6/traceroute6.c
478
if (errno || !*optarg || *ep) {
usr.sbin/traceroute6/traceroute6.c
574
errno = 0;
usr.sbin/traceroute6/traceroute6.c
576
if (errno || !*argv || *ep) {
usr.sbin/tzsetup/tzsetup.c
736
strerror(errno));
usr.sbin/tzsetup/tzsetup.c
746
if (unlink(path_localtime) < 0 && errno != ENOENT) {
usr.sbin/tzsetup/tzsetup.c
749
path_localtime, strerror(errno));
usr.sbin/tzsetup/tzsetup.c
766
path_localtime, strerror(errno));
usr.sbin/tzsetup/tzsetup.c
784
path_localtime, strerror(errno));
usr.sbin/tzsetup/tzsetup.c
802
strerror(errno));
usr.sbin/tzsetup/tzsetup.c
811
if (unlink(path_localtime) < 0 && errno != ENOENT) {
usr.sbin/tzsetup/tzsetup.c
814
path_localtime, strerror(errno));
usr.sbin/tzsetup/tzsetup.c
829
strerror(errno));
usr.sbin/usbconfig/usbconfig.c
230
errno = 0;
usr.sbin/usbconfig/usbconfig.c
232
if (errno) {
usr.sbin/usbconfig/usbconfig.c
247
errno = 0;
usr.sbin/usbconfig/usbconfig.c
249
if (errno) {
usr.sbin/usbdump/usbdump.c
688
switch (errno) {
usr.sbin/usbdump/usbdump.c
692
fprintf(stderr, "read: %s\n", strerror(errno));
usr.sbin/usbdump/usbdump.c
831
errno = 0;
usr.sbin/usbdump/usbdump.c
834
if (snapshot == 0 && errno == EINVAL)
usr.sbin/vidcontrol/vidcontrol.c
1011
errc(1, errno, "dumping screen");
usr.sbin/vidcontrol/vidcontrol.c
105
errc(1, errno, "getting active vty");
usr.sbin/vidcontrol/vidcontrol.c
1077
errc(1, errno, "setting history buffer size");
usr.sbin/vidcontrol/vidcontrol.c
1091
errc(1, errno, "clearing history buffer");
usr.sbin/vidcontrol/vidcontrol.c
110
errc(1, errno, "getting console information");
usr.sbin/vidcontrol/vidcontrol.c
113
errc(1, errno, "getting screen map");
usr.sbin/vidcontrol/vidcontrol.c
116
errc(1, errno, "getting video mode number");
usr.sbin/vidcontrol/vidcontrol.c
121
errc(1, errno, "getting video mode parameters");
usr.sbin/vidcontrol/vidcontrol.c
276
errc(1, errno, "loading screenmap");
usr.sbin/vidcontrol/vidcontrol.c
298
errc(1, errno, "loading default screenmap");
usr.sbin/vidcontrol/vidcontrol.c
315
errc(1, errno, "getting screenmap");
usr.sbin/vidcontrol/vidcontrol.c
378
errc(1, errno, "obtaining current video mode parameters");
usr.sbin/vidcontrol/vidcontrol.c
455
errc(1, errno, "loading font");
usr.sbin/vidcontrol/vidcontrol.c
485
errc(1, errno, "setting screensaver period");
usr.sbin/vidcontrol/vidcontrol.c
512
errc(1, errno, "setting cursor type");
usr.sbin/vidcontrol/vidcontrol.c
584
errc(1, errno, "obtaining new video mode parameters");
usr.sbin/vidcontrol/vidcontrol.c
593
errc(1, errno, "setting video mode");
usr.sbin/vidcontrol/vidcontrol.c
632
errc(1, errno, "activating raster display");
usr.sbin/vidcontrol/vidcontrol.c
741
errc(1, errno, "switching vty");
usr.sbin/vidcontrol/vidcontrol.c
780
errc(1, errno, "setting mouse character");
usr.sbin/vidcontrol/vidcontrol.c
822
errc(1, errno, "turning %s vty switching",
usr.sbin/vidcontrol/vidcontrol.c
871
errc(1, errno, "obtaining adapter information");
usr.sbin/vidcontrol/vidcontrol.c
996
errc(1, errno, "obtaining current video mode parameters");
usr.sbin/vknetd/vknetd.c
289
if (errno != EEXIST) {
usr.sbin/vknetd/vknetd.c
309
if (errno != EEXIST) {
usr.sbin/vnconfig/vnconfig.c
434
if (errno == EBUSY)
usr.sbin/vnconfig/vnconfig.c
448
if (errno == ENODEV) {
usr.sbin/watchdogd/watchdogd.c
107
if (errno == EOPNOTSUPP)
usr.sbin/ypbind/ypbind.c
387
if (flock(yplockfd, LOCK_EX|LOCK_NB) == -1 && errno == EWOULDBLOCK)
usr.sbin/ypbind/ypbind.c
478
if (errno != EINTR)
usr.sbin/yppush/yppush_main.c
242
if (errno == EINTR)
usr.sbin/yppush/yppush_main.c
244
yp_error("select failed: %s", strerror(errno));
usr.sbin/yppush/yppush_main.c
305
strerror(errno));
usr.sbin/yppush/yppush_main.c
552
strerror(errno));
usr.sbin/yppush/yppush_main.c
562
strerror(errno));
usr.sbin/ypserv/yp_access.c
123
if (errno == ENOENT) {
usr.sbin/ypserv/yp_access.c
130
yp_error("fopen(%s) failed: %s", path, strerror(errno));
usr.sbin/ypserv/yp_dblookup.c
403
switch (errno) {
usr.sbin/ypserv/yp_dnslookup.c
365
yp_error("recvfrom failed: %s", strerror(errno));
usr.sbin/ypserv/yp_dnslookup.c
424
yp_error("getsockopt failed: %s", strerror(errno));
usr.sbin/ypserv/yp_dnslookup.c
482
yp_error("getsockopt failed: %s", strerror(errno));
usr.sbin/ypserv/yp_main.c
138
if (errno == EINTR) {
usr.sbin/ypserv/yp_main.c
174
saved_errno = errno;
usr.sbin/ypserv/yp_main.c
181
errno = saved_errno;
usr.sbin/ypserv/yp_main.c
192
errno = saved_errno;
usr.sbin/ypserv/yp_server.c
396
yp_error("ypxfr execl(%s): %s", ypxfr_command, strerror(errno));
usr.sbin/ypserv/yp_server.c
408
yp_error("ypxfr fork(): %s", strerror(errno));
usr.sbin/ypserv/yp_server.c
532
yp_error("ypall fork(): %s", strerror(errno));
usr.sbin/ypserv/yp_server.c
60
errno = EEXIST;
usr.sbin/ypserv/yp_server.c
688
yp_error("opendir(%s) failed: %s", yp_mapdir, strerror(errno));
usr.sbin/ypserv/yp_server.c
707
yp_error("strdup() failed: %s",strerror(errno));
usr.sbin/zic/zic.c
1445
if (!itsdir(fullname) && remove(fullname) != 0 && errno != ENOENT)
usr.sbin/zic/zic.c
2693
(errno != EEXIST || !itsdir(name))) {