/src/lib/libc/stdlib/ |
strsuftoll.c | 123 char errbuf[100]; local in function:__weak_alias 125 result = strsuftollx(desc, val, min, max, errbuf, sizeof(errbuf)); 126 if (*errbuf != '\0') 127 errx(EXIT_FAILURE, "%s", errbuf);
|
/src/lib/libutil/ |
ttymsg.c | 66 static char errbuf[1024]; local in function:ttymsg 80 (void)snprintf(errbuf, sizeof(errbuf), 82 return errbuf; 86 (void)snprintf(errbuf, sizeof(errbuf), 89 return errbuf; 95 (void)snprintf(errbuf, sizeof(errbuf), 97 return errbuf; [all...] |
passwd.c | 342 char errbuf[200]; local in function:pw_copy 345 rv = pw_copyx(ffd, tfd, pw, old_pw, errbuf, sizeof(errbuf)); 347 warnx("%s", errbuf); 364 char *errbuf, size_t errbufsz) 372 _DIAGASSERT(errbuf != NULL); 376 snprintf(errbuf, errbufsz, "%s: %s", pw_prefix, 382 snprintf(errbuf, errbufsz, "%s: %s", pw_prefix, 389 snprintf(errbuf, errbufsz, "%s: %s", mpwd, strerror(errno)); 393 snprintf(errbuf, errbufsz, "%s: %s", mpwdl, strerror(errno)) [all...] |
/src/usr.sbin/rbootd/ |
bpf.c | 224 static char errbuf[128] = "No Error!"; local in function:BpfGetIntfName 227 *errmsg = errbuf; 230 (void) strlcpy(errbuf, "bpf: getifaddrs: %m", sizeof(errbuf)); 258 (void) strlcpy(errbuf, "bpf: no interfaces found", 259 sizeof(errbuf));
|
/src/lib/libkvm/ |
kvm_private.h | 42 * if this value is null, errors are saved in errbuf[] 46 char errbuf[_POSIX2_LINE_MAX]; member in struct:__kvm
|
/src/lib/libtelnet/ |
kerberos5.c | 320 char *errbuf; local in function:kerberos5_is 322 asprintf(&errbuf, 325 Data(ap, KRB_REJECT, errbuf, -1); 327 printf("%s\r\n", errbuf); 328 free(errbuf); 340 char *errbuf; local in function:kerberos5_is 341 asprintf(&errbuf, "Bad checksum: %s", 343 Data(ap, KRB_REJECT, errbuf, -1); 345 printf("%s\r\n", errbuf); 346 free(errbuf); 477 char *errbuf; local in function:kerberos5_is [all...] |
/src/sys/arch/atari/stand/installboot/ |
installboot.c | 200 char errbuf[_POSIX2_LINE_MAX]; local in function:oscheck 209 kd_kern = kvm_openfiles(NULL, NULL, NULL, O_RDONLY, errbuf); 211 errx(EXIT_FAILURE, "kvm_openfiles: %s", errbuf);
|
/src/usr.bin/nfsstat/ |
nfsstat.c | 117 char errbuf[_POSIX2_LINE_MAX]; local in function:main 160 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf)) 162 errx(1, "kvm_openfiles: %s", errbuf);
|
/src/usr.sbin/npf/npfd/ |
npfd_log.c | 247 char errbuf[PCAP_ERRBUF_SIZE]; local in function:npfd_log_pcap_reopen 256 ctx->pcap = pcap_create(ctx->ifname, errbuf); 258 errx(EXIT_FAILURE, "pcap_create failed: %s", errbuf); 260 if (pcap_setnonblock(ctx->pcap, 1, errbuf) == -1) 261 errx(EXIT_FAILURE, "pcap_setnonblock failed: %s", errbuf);
|
/src/usr.sbin/trpt/ |
trpt.c | 156 char *kernel, *core, *cp, errbuf[_POSIX2_LINE_MAX]; local in function:main 222 kd = kvm_openfiles(kernel, core, NULL, O_RDONLY, errbuf); 224 errx(1, "can't open kmem: %s", errbuf);
|
/src/lib/libpam/modules/pam_unix/ |
pam_unix.c | 359 char errbuf[200]; local in function:local_set_password 381 if (pw_copyx(pfd, tfd, pwd, opwd, errbuf, sizeof(errbuf)) == 0) { 383 errbuf);
|
/src/usr.bin/systat/ |
main.c | 99 char errbuf[_POSIX2_LINE_MAX]; local in function:main 182 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf); 184 errx(EXIT_FAILURE, "%s", errbuf);
|
/src/sys/kern/ |
subr_tftproot.c | 396 char errbuf[SEGSIZE + 1]; local in function:tftproot_recv 402 errbuf[i] = '\0'; 405 errbuf[i] = tftp->th_data[i]; 407 errbuf[SEGSIZE] = '\0'; 410 ntohs(tftp->th_code), errbuf);
|
/src/usr.sbin/kgmon/ |
kgmon.c | 203 char errbuf[_POSIX2_LINE_MAX]; local in function:openfiles 223 kvp->kd = kvm_openfiles(sys, kmemf, NULL, openmode, errbuf); 228 errbuf); 231 errx(EXIT_FAILURE, "kvm_openfiles: %s", errbuf);
|
/src/usr.bin/pmap/ |
main.c | 118 char errbuf[_POSIX2_LINE_MAX + 1]; local in function:main 250 kd = kvm_openfiles(kernel, kmem, NULL, O_RDONLY, errbuf); 258 errbuf[_POSIX2_LINE_MAX] = '\0'; 260 errx(1, "%s", errbuf);
|
/src/usr.bin/m4/ |
gnum4.c | 257 char *errbuf; local in function:exit_regerror 260 errbuf = xalloc(errlen, 262 regerror(er, re, errbuf, errlen); 263 m4errx(1, "regular expression error: %s for: `%s'", errbuf, pat);
|
/src/libexec/ftpd/ |
conf.c | 143 char *endp, errbuf[100]; local in function:parse_conf 212 errbuf, sizeof(errbuf)); \ 213 if (errbuf[0]) { \ 215 infile, (int)line, errbuf); \ 424 IPPORT_ANONMAX, errbuf, sizeof(errbuf)); 425 if (errbuf[0]) { 427 infile, (int)line, errbuf); 431 IPPORT_ANONMAX, errbuf, sizeof(errbuf)) [all...] |
/src/dist/pf/sbin/pflogd/ |
pflogd.c | 75 char errbuf[PCAP_ERRBUF_SIZE]; variable in typeref:typename:char[] 249 hpcap = pcap_open_live(interface, snaplen, 1, PCAP_TO_MS, errbuf); 251 logmsg(LOG_ERR, "Failed to initialize: %s", errbuf);
|
/src/usr.bin/w/ |
w.c | 149 char errbuf[_POSIX2_LINE_MAX]; local in function:main 200 memf == NULL ? KVM_NO_FILES : O_RDONLY, errbuf)) == NULL) 201 errx(1, "%s", errbuf);
|
/src/usr.sbin/lpr/common_source/ |
common.c | 354 static char errbuf[128]; local in function:checkremote 373 (void)snprintf(errbuf, sizeof(errbuf), 376 return errbuf; 386 (void)snprintf(errbuf, sizeof(errbuf), 390 return errbuf;
|
/src/bin/ps/ |
ps.c | 212 char *nlistf, *memf, *swapf, errbuf[_POSIX2_LINE_MAX]; local in function:main 406 kd = kvm_openfiles(NULL, NULL, NULL, KVM_NO_FILES, errbuf); 409 kd = kvm_openfiles(nlistf, memf, swapf, O_RDONLY, errbuf); 412 errx(EXIT_FAILURE, "%s", errbuf);
|
/src/games/fortune/fortune/ |
fortune.c | 1201 char errbuf[1024]; local in function:re_setup 1212 regerror(code, &rx->regex, errbuf, sizeof(errbuf)); 1213 warnx("%s: `%s'", errbuf, pattern);
|
/src/sbin/savecore/ |
savecore.c | 296 char errbuf[_POSIX2_LINE_MAX]; local in function:kmem_setup 307 kd_kern = kvm_openfiles(kernel, NULL, NULL, O_RDONLY, errbuf); 309 syslog(LOG_ERR, "%s: kvm_openfiles: %s", kernel, errbuf); 366 kd_dump = kvm_openfiles(kernel, ddname, NULL, O_RDWR, errbuf); 368 syslog(LOG_ERR, "%s: kvm_openfiles: %s", kernel, errbuf);
|
/src/sys/arch/sparc/sparc/ |
cpu.c | 732 static char errbuf[160]; local in function:xcall 733 char *bufp = errbuf; 734 size_t bufsz = sizeof errbuf, wrsz; 865 aprint_error("%s\n", errbuf); 882 printf_nolog("%s\n", errbuf);
|
/src/usr.bin/mail/ |
list.c | 498 char errbuf[LINESIZE]; local in function:regexcmp 499 (void)regerror(rval, preg, errbuf, sizeof(errbuf)); 500 (void)printf("regexec failed: '%s': %s\n", line, errbuf); 580 char errbuf[LINESIZE]; local in function:get_cmpfn 581 (void)regerror(e, &preg, errbuf, sizeof(errbuf)); 582 (void)printf("regcomp failed: '%s': %s\n", str, errbuf);
|