Searched refs:errstr (Results 51 - 75 of 141) sorted by relevance

123456

/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dprocmap.c226 char *errstr = getErrstr(); local
232 (errstr && *errstr) ? errstr : "Unknown");
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dcheckmap.c196 char *errstr = getErrstr(); local
202 (errstr && *errstr) ? errstr : "Unknown");
H A Dckentry.c236 char *errstr = getErrstr(); local
242 (errstr && *errstr) ? errstr :
/illumos-gate/usr/src/cmd/fs.d/
H A Dswitchout.c411 char *errstr; local
416 errstr = strerror(errno);
417 if (errstr == NULL)
418 errstr = gettext("Unknown error");
422 cmd, mountpoint, en, errstr);
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dip_anon_rcm.c476 char **infostr, char **errstr, nvlist_t *props, rcm_info_t **dependent)
490 timespec_t *interval, uint_t flags, char **errstr,
493 if ((*errstr = strdup(IP_SUSPEND_ERR)) == NULL)
502 char **errstr, rcm_info_t **dependent)
510 char **errstr, rcm_info_t **dependent)
512 if ((*errstr = strdup(IP_OFFLINE_ERR)) == NULL)
521 char **errstr, rcm_info_t **dependent)
529 char **errstr, rcm_info_t **dependent)
531 if ((*errstr = strdup(IP_REMOVE_ERR)) == NULL)
475 ip_anon_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
489 ip_anon_suspend(rcm_handle_t *hdl, char *rsrcname, id_t id, timespec_t *interval, uint_t flags, char **errstr, rcm_info_t **dependent) argument
501 ip_anon_resume(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, char **errstr, rcm_info_t **dependent) argument
509 ip_anon_offline(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, char **errstr, rcm_info_t **dependent) argument
520 ip_anon_online(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, char **errstr, rcm_info_t **dependent) argument
528 ip_anon_remove(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, char **errstr, rcm_info_t **dependent) argument
/illumos-gate/usr/src/cmd/drd/
H A Ddrd_rcm.c475 const char *errstr; local
508 errstr = rcm_info_error(tuple);
510 if (errstr) {
511 drd_dbg(" %s: '%s'", rsrcstr, errstr);
512 rsrc->offset = (uintptr_t)strdup(errstr);
960 char *errstr; local
972 errstr = (char *)(uintptr_t)rsrcs[idx].offset;
974 drd_dbg(" cpu[%d]: cpuid=%d, status=%d, errstr='%s'", idx,
976 (errstr != NULL) ? errstr
1217 char *errstr; local
[all...]
/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dtx.h138 #define _T_TX_NEXTSTATE(event, tiptr, errstr) \
140 _T_TX_SYSLOG2((tiptr), LOG_ERR, errstr); \
/illumos-gate/usr/src/cmd/coreadm/
H A Dcoreadm.c619 const char *errstr; local
622 if ((errstr = write_kernel()) != NULL)
661 errstr = write_kernel();
663 if (errstr == NULL)
671 perror(errstr);
677 const char *errstr; local
679 if (read_legacy() && (errstr = write_kernel()) != NULL) {
682 perror(errstr);
/illumos-gate/usr/src/cmd/svr4pkg/pkginfo/
H A Dpkginfo.c678 char *errstr = getErrstr(); local
683 (errstr && *errstr) ? errstr : "Unknown");
712 char *errstr = getErrstr(); local
717 (errstr && *errstr) ? errstr : "Unknown");
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcputrack.c105 char *errstr; local
117 errstr = strerror(errno);
119 "counter library - %s\n"), opts->pgmname, errstr);
331 char *errstr; local
368 errstr = strerror(errno);
379 errstr);
396 char *errstr; local
437 errstr = strerror(errno);
440 (int)pid, (int)lwpid, errstr);
578 char *errstr; local
[all...]
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Dsysevent.c612 char *errstr; local
620 NULL, NULL, &errstr, 0);
624 ap_id, errstr));
658 if (errstr)
659 free (errstr);
/illumos-gate/usr/src/cmd/grep_xpg4/
H A Dgrep.c80 static char errstr[128]; /* regerror string buffer */ variable
702 (void) regerror(rv, &pp->re, errstr, sizeof (errstr));
705 cmdname, pp->pattern, errstr);
1100 (void) regerror(rv, &pp->re, errstr,
1101 sizeof (errstr));
1104 cmdname, fn, lineno, errstr);
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dmapping.c356 * The caller is responsible for freeing the error string (ie., *errstr) when
360 kmf_get_mapper_error_str(KMF_HANDLE_T handle, char **errstr) argument
366 if (handle == NULL || errstr == NULL)
380 return (err2string(h, errstr));
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_ldap_conn.c167 char *errstr = NULL; local
217 server_info->server_name, SSL_ON, &errstr)) != LDAP_SUCCESS) {
220 errstr);
/illumos-gate/usr/src/lib/pyzfs/common/
H A Dioctl.c49 char errstr[1024]; local
53 (void) vsnprintf(errstr, sizeof (errstr), fmt, v);
56 PyErr_SetObject(ZFSError, Py_BuildValue("is", errno, errstr));
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dstreval.c71 const char *errstr; /* error string */ member in struct:vars
778 vp->errstr = pos;
827 if(cur.errstr)
828 string = cur.errstr;
/illumos-gate/usr/src/cmd/valtools/
H A DMakefile52 valstr helpstr errstr \
/illumos-gate/usr/src/tools/lintdump/
H A Dlintdump.c594 char *errstr = strerror(errno); local
603 (void) fprintf(stderr, ": %s\n", errstr);
611 char *errstr = strerror(errno); local
620 (void) fprintf(stderr, ": %s\n", errstr);
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dmisc.c191 char *errstr, *cp; local
196 errstrp = &errstr;
H A Dtsol_sgetrhent.c168 char *cp, *cp2, *errstr; local
182 errstrp = &errstr;
H A Dtsol_sgettpent.c239 char *errstr; local
253 errstrp = &errstr;
H A Dtsol_sgetzcent.c159 char *errstr; local
173 errstrp = &errstr;
/illumos-gate/usr/src/cmd/grep/
H A Dgrep.c63 static const char *errstr[] = { variable
530 errmsg("%s\n", gettext(errstr[err]));
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mn_subr.c148 * INPUT: errstr - the error message returned by the command
151 * to stderr. When context is NO_CONTEXT_STRING, the errstr string
153 * string for the metainit -a command and in this case the errstr
160 char *errstr,
167 int length = strlen(errstr + 1);
170 (void) fprintf(stderr, "%s", errstr);
175 if (sscanf(errstr, "%[^:]: %[^:]: %[^\n]", command, node,
181 "%s: Invalid format error message"), errstr);
159 print_stderr( char *errstr, char *context ) argument
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmkpkgmap.c214 char *errstr; local
217 errstr = getErrstr();
223 (errstr && *errstr) ? errstr : "Unknown");

Completed in 99 milliseconds

123456