Symbol: errc
bin/cp/cp.c
434
errc(1, ENOTDIR, "%s", to.p_path);
bin/dd/args.c
392
errc(1, ERANGE, "%s", oper);
bin/dd/args.c
472
errc(1, ERANGE, "%s", oper);
bin/mv/cp.c
363
errc(1, ENOTDIR, "%s", to.p_path);
bin/mv/rm.c
82
errc(1, p->fts_errno, "%s", p->fts_path);
bin/rm/rm.c
164
errc(1, p->fts_errno, "%s", p->fts_path);
distrib/special/doas/doas.c
73
errc(1, EPERM, "root only");
games/atc/log.c
119
errc(1, ENAMETOOLONG, "%s/%s", home, ".atc.scores");
games/battlestar/command6.c
112
errc(1, ENAMETOOLONG, "%s/%s", home, ".battlestar.scores");
games/canfield/canfield/canfield.c
1640
errc(1, ENAMETOOLONG, "%s/%s", home, ".cfscores");
games/canfield/cfscores/cfscores.c
74
errc(1, ENAMETOOLONG, "%s/%s", home, ".cfscores");
games/robots/main.c
107
errc(1, ENAMETOOLONG, "%s", av[0]);
games/robots/main.c
71
errc(1, ENAMETOOLONG, "%s/%s", home, ".robots.scores");
games/snake/snake.c
971
errc(1, ENAMETOOLONG, "%s/%s", home, ".snake.scores");
games/tetris/tetris.c
168
errc(1, ENAMETOOLONG, "%s/%s", home, ".tetris.scores");
include/err.h
47
__dead void errc(int, int, const char *, ...)
lib/libc/gen/errc.c
43
DEF_WEAK(errc);
lib/libc/hidden/err.h
24
PROTO_NORMAL(errc);
regress/bin/ksh/edit/edit.c
121
errc(1, EBADF, NULL);
regress/lib/csu/callbacks/pthread_atfork/pthread_atfork_test.c
79
errc(1, _r, "pthread_atfork(%s,%s,%s)", \
regress/lib/libc/locale/uselocale/uselocale.c
199
errc(1, irc, "pthread_cond_signal(%d)", step);
regress/lib/libc/locale/uselocale/uselocale.c
203
errc(1, irc, "pthread_mutex_trylock(%d)", step);
regress/lib/libc/locale/uselocale/uselocale.c
207
errc(1, irc, "pthread_cond_timedwait(%d)", step);
regress/lib/libc/locale/uselocale/uselocale.c
209
errc(1, irc, "pthread_mutex_unlock(%d)", step);
regress/lib/libc/locale/uselocale/uselocale.c
435
errc(1, irc, "pthread_mutexattr_init");
regress/lib/libc/locale/uselocale/uselocale.c
438
errc(1, irc, "pthread_mutexattr_settype");
regress/lib/libc/locale/uselocale/uselocale.c
440
errc(1, irc, "pthread_mutex_init");
regress/lib/libc/locale/uselocale/uselocale.c
442
errc(1, irc, "pthread_cond_init");
regress/lib/libc/locale/uselocale/uselocale.c
446
errc(1, irc, "pthread_create");
regress/lib/libc/locale/uselocale/uselocale.c
479
errc(1, irc, "pthread_join");
regress/lib/libc/stdio_threading/fgetln/fgetln_test.c
57
errc(1, saved_errno, "could not open temporary file");
regress/lib/libc/stdio_threading/fgets/fgets_test.c
56
errc(1, saved_errno, "could not open temporary file");
regress/lib/libc/stdio_threading/flockfile/flockfile_test.c
35
errc(1, r, "could not lock lock");
regress/lib/libc/stdio_threading/flockfile/flockfile_test.c
38
errc(1, r, "could not signal cond");
regress/lib/libc/stdio_threading/flockfile/flockfile_test.c
40
errc(1, r, "could not unlock lock");
regress/lib/libc/stdio_threading/flockfile/flockfile_test.c
64
errc(1, r, "could not lock lock");
regress/lib/libc/stdio_threading/flockfile/flockfile_test.c
67
errc(1, r, "could not wait on cond");
regress/lib/libc/stdio_threading/flockfile/flockfile_test.c
69
errc(1, r, "could not unlock lock");
regress/lib/libc/stdio_threading/fputs/fputs_test.c
54
errc(1, saved_errno, "could not open temporary file");
regress/lib/libc/stdio_threading/fread/fread_test.c
58
errc(1, saved_errno, "could not open temporary file");
regress/lib/libc/stdio_threading/fwrite/fwrite_test.c
54
errc(1, saved_errno, "could not open temporary file");
regress/lib/libc/stdio_threading/include/local.h
41
errc(1, r, "could not obtain lock in thread");
regress/lib/libc/stdio_threading/include/local.h
44
errc(1, r, "could not release lock in thread");
regress/lib/libc/stdio_threading/include/local.h
57
errc(1, r, "could not initialize lock");
regress/lib/libc/stdio_threading/include/local.h
60
errc(1, r, "could not lock lock");
regress/lib/libc/stdio_threading/include/local.h
70
errc(1, r, "could not release lock");
regress/lib/libpthread/dlopen/dlopen.c
207
errc(1, r, "pthread_mutex_lock");
regress/lib/libpthread/dlopen/dlopen.c
217
errc(1, r, "pthread_create");
regress/lib/libpthread/dlopen/dlopen.c
224
errc(1, r, "pthread_cond_timedwait");
regress/lib/libpthread/dlopen/dlopen.c
231
errc(1, r, "pthread_cancel");
regress/lib/libpthread/dlopen/dlopen.c
233
errc(1, r, "pthread_mutex_unlock");
regress/lib/libpthread/dlopen/dlopen.c
235
errc(1, r, "pthread_mutex_destroy");
regress/lib/libpthread/dlopen/dlopen.c
237
errc(1, r, "pthread_cond_destroy");
regress/lib/libpthread/dlopen/dlopen.c
678
errc(1, r, "pthread_create");
regress/lib/libpthread/dlopen/dlopen.c
680
errc(1, r, "pthread_join");
regress/lib/libpthread/earlysig/earlysig.c
46
errc(1, r, "pthread_create");
regress/lib/libpthread/pthread_rwlock/pthread_rwlock.c
135
errc(1, r, "create %d", i);
regress/lib/libpthread/pthread_rwlock/pthread_rwlock.c
139
errc(1, r, "create writer");
regress/sys/dev/kcov/kcov.c
322
errc(1, error, "pthread_create");
regress/sys/dev/kcov/kcov.c
324
errc(1, error, "pthread_join");
regress/sys/kern/access/access.c
144
errc(1, ret, "chdir");
regress/sys/kern/clock_gettime/monotonicrelapse.c
56
errc(1, error, "pthread_create");
regress/sys/kern/clock_gettime/monotonicrelapse.c
73
errc(1, error, "T%d: pthread_mutex_lock", num);
regress/sys/kern/dup2_accept/dup2_accept.c
77
errc(1, error, "pthread_create");
regress/sys/kern/flock/util.c
101
errc(1, ENAMETOOLONG, "%s", __func__);
regress/sys/kern/flock/util.c
44
errc(1, ENAMETOOLONG, "%s", __func__);
regress/sys/kern/fork-exit/fork-exit.c
107
errc(1, error, "pthread_barrier_wait");
regress/sys/kern/fork-exit/fork-exit.c
125
errc(1, error, "pthread_attr_init");
regress/sys/kern/fork-exit/fork-exit.c
131
errc(1, error, "pthread_attr_setstacksize");
regress/sys/kern/fork-exit/fork-exit.c
136
errc(1, error, "pthread_barrier_init");
regress/sys/kern/fork-exit/fork-exit.c
145
errc(1, error, "pthread_create");
regress/sys/kern/fork-exit/fork-exit.c
150
errc(1, error, "pthread_barrier_wait");
regress/sys/kern/fork-exit/fork-exit.c
318
errc(1, error, "fork child");
regress/sys/kern/getpeereid/getpeereid_test.c
91
errc(1, saved_errno, "listen");
regress/sys/kern/getpeereid/getpeereid_test.c
98
errc(1, saved_errno, "accept");
regress/sys/kern/main-thread-exited/main-thread-exited.c
47
errc(1, r, "pthread_create");
regress/sys/kern/noexec/noexec.c
352
errc(1, error, "pthread_create");
regress/sys/kern/noexec/noexec.c
354
errc(1, error, "pthread_join");
regress/sys/kern/pipe/test-close.c
57
errc(1, error, "pthread_create");
regress/sys/kern/pipe/test-close.c
62
errc(1, error, "pthread_create");
regress/sys/kern/pipe/test-close.c
78
errc(1, error, "pthread_join");
regress/sys/kern/pipe/test-close.c
81
errc(1, error, "pthread_join");
regress/sys/kern/pipe/test-kqueue.c
190
errc(1, error, "pthread_mutex_init");
regress/sys/kern/pipe/test-kqueue.c
200
errc(1, error, "pthread_join");
regress/sys/kern/pipe/test-kqueue.c
204
errc(1, error, "pthread_mutex_destroy");
regress/sys/kern/pipe/test-kqueue.c
231
errc(1, error, "pthread_create");
regress/sys/kern/pipe/test-kqueue.c
241
errc(1, error, "pthread_mutex_lock");
regress/sys/kern/pipe/test-kqueue.c
251
errc(1, error, "pthread_mutex_unlock");
regress/sys/kern/pipe/test-run-down.c
118
errc(1, error, "pthread_cond_destroy");
regress/sys/kern/pipe/test-run-down.c
122
errc(1, error, "pthread_mutex_destroy");
regress/sys/kern/pipe/test-run-down.c
132
errc(1, error, "pthread_mutex_lock");
regress/sys/kern/pipe/test-run-down.c
142
errc(1, error, "pthread_mutex_unlock");
regress/sys/kern/pipe/test-run-down.c
156
errc(1, error, "pthread_create");
regress/sys/kern/pipe/test-run-down.c
165
errc(1, error, "pthread_cond_wait");
regress/sys/kern/pipe/test-run-down.c
175
errc(1, error, "pthread_join");
regress/sys/kern/pipe/test-run-down.c
207
errc(1, error, "pthread_cond_signal");
regress/sys/kern/pipe/test-run-down.c
95
errc(1, error, "pthread_cond_init");
regress/sys/kern/pipe/test-run-down.c
99
errc(1, error, "pthread_mutex_init");
regress/sys/kern/unixsockets/unfdpassfail.c
89
errc(1, error, "pthread_create");
regress/sys/kern/unixsockets/unfdpassfail.c
98
errc(1, error, "pthread_join");
regress/sys/uvm/vnode/vnode.c
111
errc(1, ENAMETOOLONG, "%s", __func__);
regress/sys/uvm/vnode/vnode.c
119
errc(1, ENAMETOOLONG, "%s", __func__);
regress/usr.sbin/snmpd/snmp.c
324
errc(1, ECANCELED, "%s: unable to decode message", __func__);
sbin/bioctl/bioctl.c
1024
errc(1, saved_errno, "could not stat %s", dev);
sbin/bioctl/bioctl.c
922
errc(1, saved_errno, "could not stat %s", key_disk);
sbin/init/init.c
200
errc(1, EPERM, NULL);
sbin/newfs/newfs.c
774
errc(1, saved_errno, "mount %s %s", src, mountpoint);
sbin/ping/ping.c
325
errc(1, EPERM, NULL);
sbin/ping/ping.c
366
errc(1, EPERM, NULL);
sbin/restore/dirs.c
154
errc(1, saved_errno,
sbin/restore/dirs.c
169
errc(1, saved_errno,
sys/dev/microcode/bwi/build/build.c
110
errc(1, saved_errno, "write header 1 to output file failed");
sys/dev/microcode/bwi/build/build.c
115
errc(1, saved_errno, "write header 2 to output file failed");
sys/dev/microcode/bwi/build/build.c
130
errc(1, saved_errno, "open input file failed");
sys/dev/microcode/bwi/build/build.c
136
errc(1, saved_errno, "malloc");
sys/dev/microcode/bwi/build/build.c
143
errc(1, saved_errno, "read input file failed");
sys/dev/microcode/bwi/build/build.c
150
errc(1, saved_errno, "write to output file failed");
usr.bin/csplit/csplit.c
240
errc(1, ENAMETOOLONG, "%s", currfile);
usr.bin/dc/dc.c
104
errc(1, EISDIR, "%s", argv[0]);
usr.bin/doas/doas.c
423
errc(1, EPERM, NULL);
usr.bin/indent/indent.c
1308
errc(1, ENAMETOOLONG, "%s.BAK", p);
usr.bin/indent/indent.c
1331
errc(1, saved_errno, "%s", in_name);
usr.bin/lndir/lndir.c
124
errc(2, ENOTDIR, "%s", tn);
usr.bin/lndir/lndir.c
132
errc(2, ENOTDIR, "%s", fn);
usr.bin/look/look.c
121
errc(2, EFBIG, "%s", file);
usr.bin/nl/nl.c
135
errc(EXIT_FAILURE, EILSEQ, NULL);
usr.bin/nl/nl.c
141
errc(EXIT_FAILURE, EILSEQ, NULL);
usr.bin/sed/main.c
396
errc(1, ENAMETOOLONG, "%s", fname);
usr.bin/sed/main.c
400
errc(1, ENAMETOOLONG, "%s", fname);
usr.bin/sed/main.c
404
errc(1, ENAMETOOLONG, "%s", fname);
usr.bin/skeyinit/skeyinit.c
223
errc(1, ENAMETOOLONG,
usr.bin/skeyinit/skeyinit.c
277
errc(1, ENAMETOOLONG,
usr.bin/snmp/snmpc.c
287
errc(1, EINVAL, "-v");
usr.bin/sort/sort.c
860
errc(2, EINVAL, "-k %s", optarg);
usr.bin/sort/sort.c
882
errc(2, EINVAL, "%s", optarg);
usr.bin/spell/spellprog.c
288
errc(1, EFBIG, "%s", argv[i]);
usr.bin/xinstall/xinstall.c
204
errc(1, EFTYPE, "%s", to_name);
usr.bin/xinstall/xinstall.c
235
errc(1, EFTYPE, "%s", from_name);
usr.bin/xinstall/xinstall.c
298
errc(1, serrno, "%s", tempfile);
usr.bin/xinstall/xinstall.c
430
errc(1, serrno, "%s", from_name);
usr.bin/xinstall/xinstall.c
472
errc(1, serrno, "%s", from_name);
usr.bin/xinstall/xinstall.c
548
errc(1, serrno, "forks");
usr.bin/xinstall/xinstall.c
582
errc(1, mkdir_errno, "%s",
usr.bin/xinstall/xinstall.c
588
errc(1, ENOTDIR, "%s", path);
usr.sbin/config/main.c
708
errc(2, ENOTDIR, "%s", builddir);
usr.sbin/config/main.c
712
errc(2, ENOTDIR, "%s", srcdir);
usr.sbin/cron/crontab.c
214
errc(EXIT_FAILURE, ENAMETOOLONG, "%s/%s", _PATH_CRON_SPOOL, User);
usr.sbin/cron/crontab.c
238
errc(EXIT_FAILURE, ENAMETOOLONG, "%s/%s", _PATH_CRON_SPOOL, User);
usr.sbin/cron/crontab.c
267
errc(EXIT_FAILURE, ENAMETOOLONG, "%s/%s", _PATH_CRON_SPOOL, User);
usr.sbin/crunchgen/elf_hide.c
355
errc(5, ENOMEM, "calloc");
usr.sbin/edquota/edquota.c
159
errc(1, saved_errno, "error starting editor");
usr.sbin/ikectl/ikeca.c
607
errc(1, saved_errno, "open %s", dst);
usr.sbin/ikectl/ikeca.c
657
errc(1, saved_errno, "open %s", dst);
usr.sbin/lldp/lldp.c
215
errc(1, ENAMETOOLONG, "socket name");
usr.sbin/lldpd/lldpd.c
838
errc(ENAMETOOLONG, 1, "control socket %s", path);
usr.sbin/lpr/lpr/lpr.c
667
errc(1, ENAMETOOLONG, "%s/.seq", SD);
usr.sbin/makefs/makefs.c
337
errc(1, ERANGE, "%s", desc);
usr.sbin/pcidump/pcidump.c
260
errc(1, error, "\"%s\"", argv[0]);
usr.sbin/smtpd/mail.maildir.c
105
errc(1, ENAMETOOLONG, "%s/%s", dirname, subdirs[i]);
usr.sbin/smtpd/mail.maildir.c
142
errc(1, ENAMETOOLONG, "%s/Maildir", home);
usr.sbin/smtpd/mail.maildir.c
151
errc(1, ENAMETOOLONG, "%s/.Junk", dirname);
usr.sbin/smtpd/mail.maildir.c
161
errc(1, ENAMETOOLONG, "%s/.%s",
usr.sbin/tftpd/tftpd.c
615
errc(1, cerrno, "%s", cause);
usr.sbin/traceroute/traceroute.c
388
errc(5, v6sock_errno, rcvsock6 < 0 ? "socket(ICMPv6)" :
usr.sbin/traceroute/traceroute.c
398
errc(5, v4sock_errno, rcvsock4 < 0 ? "icmp socket" :
usr.sbin/user/user.c
1072
errc(EXIT_FAILURE, saved_errno, "can't obtain pw_lock");
usr.sbin/user/user.c
1079
errc(EXIT_FAILURE, saved_errno,
usr.sbin/user/user.c
1098
errc(EXIT_FAILURE, saved_errno,
usr.sbin/user/user.c
1107
errc(EXIT_FAILURE, saved_errno, "read error on %s",
usr.sbin/user/user.c
1221
errc(EXIT_FAILURE, saved_errno, "can't add `%s'", buf);
usr.sbin/user/user.c
1235
errc(EXIT_FAILURE, saved_errno, "can't add `%s'", buf);
usr.sbin/user/user.c
1245
errc(EXIT_FAILURE, saved_errno,
usr.sbin/user/user.c
1255
errc(EXIT_FAILURE, saved_errno, "read error on %s",
usr.sbin/user/user.c
1278
errc(EXIT_FAILURE, saved_errno,
usr.sbin/user/user.c
1514
errc(EXIT_FAILURE, saved_errno, "can't obtain pw_lock");
usr.sbin/user/user.c
1521
errc(EXIT_FAILURE, saved_errno, "can't fdopen fd for %s",
usr.sbin/user/user.c
1711
errc(EXIT_FAILURE, saved_errno,
usr.sbin/user/user.c
1722
errc(EXIT_FAILURE, saved_errno,
usr.sbin/user/user.c
1735
errc(EXIT_FAILURE, saved_errno,