Searched defs:errnum (Results 1 - 25 of 73) sorted by relevance

123

/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_med_err.c41 med_errnum_to_str(int errnum) argument
43 switch (errnum) {
/illumos-gate/usr/src/stand/lib/sa/
H A Derrno.c41 strerror(int errnum) argument
43 (void) snprintf(errmsgbuf, sizeof (errmsgbuf), "ERRNO: %d", errnum);
/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_error.c44 int errnum = errno; /* In case a system call fails. */ local
53 c = strerror(errnum);
H A Dt_strerror.c83 _tx_strerror(int errnum, int api_semantics) argument
88 if (errnum <= _xti_nerr && errnum >= 0)
89 return (dgettext(__nsl_dom, _xti_errlist[errnum]));
90 (void) snprintf(buf, sizeof (buf), "%d: %s", errnum,
108 if (errnum < t_nerr && errnum >= 0)
109 return (dgettext(__nsl_dom, t_errlist[errnum]));
110 (void) snprintf(buf, sizeof (buf), "%d: %s", errnum,
H A Dtli_wrappers.c196 t_strerror(int errnum) argument
198 return (_tx_strerror(errnum, TX_TLI_API));
H A Dxti_wrappers.c258 _xti_strerror(int errnum) argument
260 return (_tx_strerror(errnum, TX_XTI_API));
/illumos-gate/usr/src/lib/libndmp/common/
H A Dlibndmp_error.c66 ndmp_strerror(int errnum) argument
70 if (((errnum >= ENDMP_BASE) && (errnum - ENDMP_BASE)) < ndmp_nerr) {
72 if (ndmp_errlist[i].err == errnum)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrerror.c44 strerror_l(int errnum, locale_t loc) argument
46 if (errnum < _sys_num_err && errnum >= 0)
47 return (_libc_gettext_l(&_sys_errs[_sys_index[errnum]],
55 strerror(int errnum) argument
57 return (strerror_l(errnum, uselocale(NULL)));
64 strerror_r(int errnum, char *strerrbuf, size_t buflen) argument
69 if (errnum < _sys_num_err && errnum >= 0) {
70 buf = _libc_gettext((char *)&_sys_errs[_sys_index[errnum]]);
[all...]
H A Dgetut.c703 int errnum; local
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_errno.c43 int errnum; member in struct:errno2status
94 smb_errno2status(int errnum) argument
98 if (errnum == 0)
101 for (es = smb_errno2status_map; es->errnum != 0; es++)
102 if (es->errnum == errnum)
H A Dsmb_cmn_rename.c664 smb_rename_errno2status(int errnum) argument
667 int errnum; member in struct:__anon226
682 if (errnum == 0)
686 if (rc_map[i].errnum == errnum) {
691 return (smb_errno2status(errnum));
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dstrerror.c61 u_int errnum; local
68 errnum = num; /*%< convert to unsigned */
70 if (errnum < (u_int)sys_nerr)
71 return (sys_errlist[errnum]);
82 *t++ = "0123456789"[errnum % 10];
83 } while (errnum /= 10);
/illumos-gate/usr/src/cmd/pools/common/
H A Dutils.c47 get_errstr_err(int errnum, int syserr) argument
51 if (errnum == POE_SYSTEM)
54 errstr = pool_strerror(errnum);
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_smfmonitor.c136 int errnum; local
147 errnum = errno;
149 (me, "thr_create: %s\n", strerror(errnum));
H A Dnscd_door.c199 int ret, errnum; local
223 errnum = errno;
229 NSCD_SET_STATUS(phdr, NSS_ERROR, errnum);
234 callnum, fd, strerror(errnum));
276 int errnum; local
291 errnum = errno;
295 doorfd, strerror(errnum));
297 NSCD_SET_STATUS(phdr, NSS_ERROR, errnum);
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_error.c59 int errnum,
64 if (errnum != 0) {
65 mhep->errnum = errnum;
84 switch (mhep->errnum) {
90 if ((emsg = strerror(mhep->errnum)) != NULL)
57 mhd_error( mhd_error_t *mhep, int errnum, char *name ) argument
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_error.c74 md_void_errno_t errnum
81 ip->errnum = errnum;
92 int errnum
99 ip->errnum = errnum;
110 md_dev_errno_t errnum,
118 ip->errnum = errnum;
130 md_md_errno_t errnum,
108 mddeverror( md_error_t *ep, md_dev_errno_t errnum, md_dev64_t dev ) argument
128 mdmderror( md_error_t *ep, md_md_errno_t errnum, minor_t mnum ) argument
148 mdcomperror( md_error_t *ep, md_comp_errno_t errnum, minor_t mnum, md_dev64_t dev ) argument
170 mdhsperror( md_error_t *ep, md_hsp_errno_t errnum, hsp_t hsp ) argument
190 mdhserror( md_error_t *ep, md_hs_errno_t errnum, hsp_t hsp, md_dev64_t dev ) argument
212 mdmddberror( md_error_t *ep, md_mddb_errno_t errnum, minor_t mnum, set_t setno ) argument
238 md_mddb_errno_t errnum; local
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dcommon.c51 grub_error_t errnum = ERR_NONE; variable
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_error.c66 int errnum,
71 if (errnum != 0) {
72 medep->med_errno = errnum;
64 med_error( med_err_t *medep, int errnum, char *misc ) argument
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dmisc.c177 int errnum; local
184 hp = getipnodebyname(host, AF_INET6, AI_ALL|AI_V4MAPPED, &errnum);
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetnameinfo.c102 int errnum; local
147 &errnum);
173 switch (errnum) {
H A Dgetaddrinfo.c566 int i, errnum; local
616 aip->ai_flags | AI_V4MAPPED | AI_ADDRINFO, &errnum);
618 hp = getipnodebyname(_hostname, family, aip->ai_flags, &errnum);
622 switch (errnum) {
692 if ((errnum =
695 return (errnum);
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_impl.h100 int errnum; member in struct:stat_table
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_stubs.c52 strerror(int errnum) argument
56 (void) mdb_snprintf(errnostr, sizeof (errnostr), "Error %d", errnum);
/illumos-gate/usr/src/lib/librdc/common/
H A Dnetaddrs.c243 int errnum; local
245 return (getipnodebyname(name, AF_INET6, AI_DEFAULT, &errnum));
257 int errnum; local
260 host = getipnodebyname(fromhost, AF_INET6, AI_DEFAULT, &errnum);
293 host = getipnodebyname(tohost, AF_INET6, AI_DEFAULT, &errnum);
396 int errnum; local
402 hp = getipnodebyname(hostname, AF_INET6, 0, &errnum);
406 hp = getipnodebyname(hostname, AF_INET, 0, &errnum);

Completed in 94 milliseconds

123