/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | swap_rcm.c | 176 char **infostr, char **errstr, nvlist_t *props, rcm_info_t **dependent) 201 uint_t flags, char **errstr, rcm_info_t **dependent) 206 assert(rsrcname != NULL && errstr != NULL); 217 rv = swap_delete(sf, errstr); 226 char **errstr, rcm_info_t **dependent) 231 assert(rsrcname != NULL && errstr != NULL); 239 rv = swap_add(sf, errstr); 252 char **errstr, rcm_info_t **dependent) 257 assert(rsrcname != NULL && errstr != NULL); 269 rv = swap_delete(sf, errstr); 175 swap_getinfo(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, char **infostr, char **errstr, nvlist_t *props, rcm_info_t **dependent) argument 200 swap_suspend(rcm_handle_t *hdl, char *rsrcname, id_t id, timespec_t *interval, uint_t flags, char **errstr, rcm_info_t **dependent) argument 225 swap_resume(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, char **errstr, rcm_info_t **dependent) argument 251 swap_offline(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, char **errstr, rcm_info_t **dependent) argument 282 swap_online(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, char **errstr, rcm_info_t **dependent) argument 304 swap_remove(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, char **errstr, rcm_info_t **dependent) argument 334 swap_delete(swap_file_t *sf, char **errstr) argument 407 swap_add(swap_file_t *sf, char **errstr) argument [all...] |
H A D | mpxio_rcm.c | 268 char **infostr, char **errstr, nvlist_t *props, rcm_info_t **infop) 280 *errstr = NULL; 285 *errstr = strdup(MPXIO_MSG_CACHEFAIL); 295 *errstr = strdup(gettext("Cannot construct usage string.")); 307 *errstr = strdup(gettext("Cannot lookup clients.")); 328 uint_t flags, char **errstr, rcm_info_t **infop) 340 char **errstr, rcm_info_t **infop) 354 char **errstr, rcm_info_t **infop) 364 *errstr = strdup(gettext("Cannot lookup clients.")); 372 *errstr 267 mpxio_getinfo(rcm_handle_t *hdl, char *rsrc, id_t id, uint_t flags, char **infostr, char **errstr, nvlist_t *props, rcm_info_t **infop) argument 327 mpxio_suspend(rcm_handle_t *hdl, char *rsrc, id_t id, timespec_t *interval, uint_t flags, char **errstr, rcm_info_t **infop) argument 339 mpxio_resume(rcm_handle_t *hdl, char *rsrc, id_t id, uint_t flags, char **errstr, rcm_info_t **infop) argument 353 mpxio_offline(rcm_handle_t *hdl, char *rsrc, id_t id, uint_t flags, char **errstr, rcm_info_t **infop) argument 386 mpxio_online(rcm_handle_t *hdl, char *rsrc, id_t id, uint_t flags, char **errstr, rcm_info_t **infop) argument 419 mpxio_remove(rcm_handle_t *hdl, char *rsrc, id_t id, uint_t flags, char **errstr, rcm_info_t **infop) argument [all...] |
/illumos-gate/usr/src/cmd/tsol/tnctl/ |
H A D | tnctl.c | 117 print_error(int linenum, int err, const char *errstr) argument 125 (void) fprintf(stderr, "%.32s\n", errstr); 237 char *errstr; local 253 rhentp = rhstr_to_ent(&rhstr, &err, &errstr); 255 print_error(0, err, errstr); 404 char *errstr; local 423 if ((zc = tsol_sgetzcent(line, &err, &errstr)) == NULL) { 433 print_error(linenum, err, errstr); 521 char *errstr; local 527 tpentp = tpstr_to_ent(&tpstr, &err, &errstr); 576 char *errstr; local [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | setoption.c | 54 char *matched, *errstr; local 298 LDAP_GET_LDERRNO(ld, &matched, &errstr); 300 errstr = nsldapi_strdup(errstr); 301 LDAP_SET_LDERRNO(ld, *((int *)optdata), matched, errstr); 313 rc = LDAP_GET_LDERRNO(ld, NULL, &errstr); 314 errstr = nsldapi_strdup(errstr); 316 nsldapi_strdup((char *)optdata), errstr);
|
/illumos-gate/usr/src/cmd/oplhpd/ |
H A D | scf_notify.c | 111 config_error(cfga_err_t err, const char *func_name, const char *errstr, argument 121 if (errstr != NULL && *errstr != '\0') { 123 func_name, ep, errstr, ap_id); 140 char *errstr = NULL; /* error code */ local 146 NULL, &errstr, 0); 149 config_error(rv, "config_list_ext", errstr, ap_pid); 183 if (errstr) { 184 free(errstr);
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_config.c | 96 verify_value(ns_config_t *cfg, char *name, char *value, char *errstr); 1104 /* Size of errstr needs to be MAXERROR */ 1106 __s_api_crosscheck(ns_config_t *ptr, char *errstr, int check_dn) argument 1122 (void) snprintf(errstr, MAXERROR, 1132 (void) snprintf(errstr, MAXERROR, 1144 (void) snprintf(errstr, MAXERROR, 1155 (void) snprintf(errstr, MAXERROR, 1164 (void) snprintf(errstr, MAXERROR, 1190 (void) snprintf(errstr, MAXERROR, 1199 (void) snprintf(errstr, MAXERRO 1378 char errstr[MAXERROR]; local 1494 verify_value(ns_config_t *cfg, char *name, char *value, char *errstr) argument 1642 char errstr[2 * MAXERROR]; local 2705 char errstr[2 * MAXERROR]; local 2923 char errstr[2 * MAXERROR]; local 3287 char errstr[MAXERROR]; local 3365 char errstr[MAXERROR]; local 3427 char errstr[MAXERROR], errbuf[MAXERROR]; local [all...] |
H A D | ns_reads.c | 320 char errstr[MAXERROR]; local 547 (void) sprintf(errstr, 555 errstr); 591 (void) sprintf(errstr, 598 syslog(LOG_ERR, "libsldap: %s", errstr); 1072 char errstr[MAXERROR]; local 1356 (void) sprintf(errstr, 1362 err = strdup(errstr); 2029 char errstr[MAXERROR]; local 2048 (void) sprintf(errstr, 2257 char errstr[MAXERROR]; local 2990 char errstr[MAXERROR]; local 4140 char errstr[MAXERROR]; local 4244 char errstr[MAXERROR]; local 4426 char errstr[MAXERROR]; local 4539 char errstr[MAXERROR]; local 5289 char errstr[MAXERROR]; local 5401 char errstr[MAXERROR]; local 5511 char errstr[MAXERROR]; local [all...] |
/illumos-gate/usr/src/head/ |
H A D | pkgstrct.h | 54 extern char *errstr;
|
/illumos-gate/usr/src/cmd/rexd/ |
H A D | where.c | 86 char *errstr; local 88 if ((errstr = strerror(errno)) == NULL) 89 errstr = "unknown error"; 93 strcpy(within, errstr);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | netcat.c | 138 const char *errstr, *proxyhost = "", *proxyport = NULL; local 179 iflag = strtonum(optarg, 0, UINT_MAX, &errstr); 180 if (errstr) 181 errx(1, "interval %s: %s", errstr, optarg); 214 timeout = strtonum(optarg, 0, INT_MAX / 1000, &errstr); 215 if (errstr) 216 errx(1, "timeout %s: %s", errstr, optarg); 335 &errstr) == 0) 337 uport, errstr); 776 const char *errstr; local [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/installf/ |
H A D | dofinal.c | 78 char *errstr = getErrstr(); local 84 (errstr && *errstr) ? errstr : "Unknown");
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | rules.c | 105 char *errstr = "???"; local 133 errstr = gettext(TXT_srcdst); 157 errstr = gettext(TXT_nobase); 163 errstr = gettext(TXT_noargs); 185 errstr = gettext(TXT_noargs); 208 errstr = gettext(TXT_noargs); 213 errstr = gettext(TXT_badver); 228 lex_linenum, errstr, name);
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | syslog.c | 162 char *errstr; local 173 if ((errstr = strerror(olderrno)) == NULL) 177 while (*errstr != '\0' && b < &buf[MAXLINE]) { 178 if (*errstr == '%') { 183 *b++ = *errstr; 184 errstr++;
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_log.c | 288 char *errstr; local 314 if ((errstr = strerror(errno)) == NULL) { 318 while ((*errstr != '\0') && 320 if (*errstr == '%') { 324 *b++ = *errstr; 326 errstr++;
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/ |
H A D | fssnap.c | 680 char *errstr; local 685 errstr = strerror(en); 686 if (errstr == NULL) { 687 errstr = gettext("Unknown error"); 691 progname, string, en, errstr); 708 char *errstr; local 710 errstr = strerror(en); 711 if (errstr == NULL) { 712 errstr = gettext("Unknown error"); 718 fprintf(stderr, ": %s\n", errstr); 726 char *errstr; local [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_perror.c | 239 char *errstr; local 262 errstr = strerror(rpc_createerr.cf_error.re_errno); 263 if (errstr != NULL) 264 (void) strlcat(str, errstr, ERRBUFSZ); 293 errstr = strerror(rpc_createerr.cf_error.re_errno); 294 if (errstr != NULL) 295 (void) strlcat(str, errstr, ERRBUFSZ);
|
/illumos-gate/usr/src/cmd/cpc/common/ |
H A D | cpustat.c | 122 char *errstr; local 138 errstr = strerror(errno); 141 opts->pgmname, errstr); 145 errstr = strerror(errno); 147 "counters - %s\n"), opts->pgmname, errstr); 411 char *errstr; local 600 errstr = strerror(errno); 602 opts->pgmname, state->cpuid, errstr); 614 char *errstr; local 691 errstr [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_ldap.c | 373 char errstr[MAXERROR]; local 374 (void) sprintf(errstr, 378 syslog(LOG_ERR, errstr); 506 char errstr[MAXERROR]; local 508 (void) sprintf(errstr, gettext( 512 syslog(LOG_ERR, errstr); 573 char errstr[MAXERROR]; local 575 (void) sprintf(errstr, 579 syslog(LOG_ERR, errstr); 869 char errstr[MAXERRO local [all...] |
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | kmem.c | 77 kvm_t kvm_open(kernel, core, swap, mode, errstr) 80 char *errstr; 85 kvm_errstr = errstr;
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | fork.c | 367 char *errstr; local 384 errstr = "bad arguments"; 388 errstr = "database corrupt"; 392 errstr = "database locked"; 395 errstr = "initialization failure"; 398 errstr = "door initialization failure"; 401 errstr = "database initialization failure"; 404 errstr = "no threads available"; 407 errstr = "lost door server attachment"; 410 errstr [all...] |
/illumos-gate/usr/src/tools/findunref/ |
H A D | findunref.c | 566 char *errstr = strerror(errno); local 568 if (errstr == NULL) 569 errstr = "<unknown error>"; 578 (void) fprintf(stderr, ": %s\n", errstr); 586 char *errstr = strerror(errno); local 588 if (errstr == NULL) 589 errstr = "<unknown error>"; 598 (void) fprintf(stderr, ": %s\n", errstr);
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | parseproto.y | 148 for (dp = $2; dp && (errstr == NULL); 152 decl_AddDS(dp, $1, &errstr); 154 errstr = sp; 161 errstr = "function prototype syntax error"; 183 if (errstr == NULL) 184 errstr = ep; 194 if (errstr == NULL) 195 errstr = ep; 205 if (errstr == NULL) 206 errstr [all...] |
/illumos-gate/usr/src/cmd/tsol/tnchkdb/ |
H A D | tnchkdb.c | 224 print_error(int linenum, int err, const char *errstr) argument 227 tsol_strerror(err, errno), errstr); 272 char *errstr; local 303 tpentp = tpstr_to_ent(&tpstr, &err, &errstr); 307 print_error(linenum, err, errstr); 433 char *errstr; local 464 rhentp = rhstr_to_ent(&rhstr, &err, &errstr); 468 print_error(linenum, err, errstr); 575 char *errstr; local 600 if ((zc = tsol_sgetzcent(line, &err, &errstr)) [all...] |
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgweb.h | 93 char *errstr; member in struct:__anon3780
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | if_mpadm.c | 238 char *errstr = strerror(errno); local 248 (void) fprintf(stderr, ": %s\n", errstr); 258 char *errstr = strerror(errno); local 268 (void) fprintf(stderr, ": %s\n", errstr);
|