Home
last modified time | relevance | path

Searched refs:errno (Results 276 – 300 of 3506) sorted by relevance

1...<<11121314151617181920>>...141

/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Duhang_to_utf_main.c46 errno = EBADF; in _icv_close()
63 errno = EBADF; in _icv_iconv()
86 errno = EINVAL; in _icv_iconv()
121 errno = EILSEQ; in _icv_iconv()
135 errno = E2BIG; in _icv_iconv()
148 errno = EILSEQ; in _icv_iconv()
159 errno = E2BIG; in _icv_iconv()
H A Ducs_to_unihan.c64 errno = ENOMEM; in _icv_open()
92 errno = EBADF; in _icv_close()
115 errno = EBADF; in _icv_iconv()
130 errno = EINVAL; in _icv_iconv()
156 errno = EINVAL; in _icv_iconv()
172 errno = EILSEQ; in _icv_iconv()
178 errno = EILSEQ; in _icv_iconv()
185 errno = EINVAL; in _icv_iconv()
203 errno = EILSEQ; in _icv_iconv()
214 errno = EILSEQ; in _icv_iconv()
[all …]
H A Diso2022-7_to_euc.c61 errno = ENOMEM; in _icv_open()
77 errno = EBADF; in _icv_close()
96 errno = EBADF; in _icv_iconv()
120 errno = EINVAL; in _icv_iconv()
136 errno = E2BIG; in _icv_iconv()
161 errno = E2BIG; in _icv_iconv()
172 errno = EINVAL; in _icv_iconv()
180 errno = EILSEQ; in _icv_iconv()
187 errno = E2BIG; in _icv_iconv()
/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_connect.c87 sv_errno = errno; in _tx_connect()
89 errno = sv_errno; in _tx_connect()
98 sv_errno = errno; in _tx_connect()
100 errno = sv_errno; in _tx_connect()
134 if ((t_errno == TSYSERR && errno == EINTR) || in _tx_connect()
168 sv_errno = errno; in _tx_connect()
175 errno = sv_errno; in _tx_connect()
/illumos-gate/usr/src/lib/iconv_modules/zh/common/
H A Dzh_CN.iso2022-CN%zh_CN.euc.c103 errno = ENOMEM; in _icv_open()
123 errno = EBADF; in _icv_close()
156 errno = EBADF; in _icv_iconv()
188 errno = st->_errno; in _icv_iconv()
206 errno = st->_errno; in _icv_iconv()
228 errno = st->_errno; in _icv_iconv()
245 errno = st->_errno; in _icv_iconv()
276 errno = st->_errno; in _icv_iconv()
600 if (errno) in _icv_iconv()
605 errno = E2BIG; in _icv_iconv()
[all …]
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmsac.c62 fatal("open pid file failed: %s", strerror(errno)); in openpid()
65 fatal("lock pid file failed: %s", strerror(errno)); in openpid()
84 fatal("open sacpipe failed: %s", strerror(errno)); in openpipes()
88 fatal("open pmpipe failed: %s", strerror(errno)); in openpipes()
176 switch (errno) { in sacpoll()
185 strerror(errno)); in sacpoll()
235 if (errno == EINTR) in sacpoll()
238 strerror(errno)); in sacpoll()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A D_sfopen.c103 while((fd = sysopenf((char*)file,oflags,SF_CREATMODE)) < 0 && errno == EINTR)
104 errno = 0;
106 while((fd = sysopenf(file,oflags&O_ACCMODE)) < 0 && errno == EINTR)
107 errno = 0;
116 errno == EINTR)
117 errno = 0;
122 { while((fd = syscreatf(file,SF_CREATMODE)) < 0 && errno == EINTR)
123 errno = 0;
128 errno == EINTR)
129 errno = 0;
/illumos-gate/usr/src/lib/iconv_modules/utf-8/common/
H A Ducs_to_ucs4.c46 errno = ENOMEM; in _icv_open()
78 errno = EBADF; in _icv_close()
98 errno = EBADF; in _icv_iconv()
120 errno = EINVAL; in _icv_iconv()
141 errno = EINVAL; in _icv_iconv()
157 errno = EILSEQ; in _icv_iconv()
164 errno = EINVAL; in _icv_iconv()
182 errno = EILSEQ; in _icv_iconv()
192 errno = EILSEQ; in _icv_iconv()
209 errno = E2BIG; in _icv_iconv()
H A Dutf8_to_utf_ebcdic.c44 errno = EBADF; in _icv_close()
51 errno = E2BIG; \
69 errno = EBADF; in _icv_iconv()
89 errno = EILSEQ; in _icv_iconv()
95 errno = EINVAL; in _icv_iconv()
110 errno = EILSEQ; in _icv_iconv()
118 errno = EILSEQ; in _icv_iconv()
136 errno = EILSEQ; in _icv_iconv()
188 errno = EILSEQ; in _icv_iconv()
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/
H A Dusb.xcl110 "errno: %d\n"
112 msgid "setup_for_devctl: nvlist_alloc failed, errno: %d\n"
114 msgid "setup_for_devctl_cmd: get_port_num, errno: %d\n"
117 "errno: %d\n"
121 msgid "devctl_ap_getstate failed, errno: %d\n"
144 msgid "devctl_ap_getstate failed. errno: %d\n"
146 msgid "devctl_ap_unconfigure failed, errno: %d\n"
148 msgid " devctl_ap_configure failed, errno = %d\n"
174 "failed with errno: %d\n"
181 "failed with errno: %d\n"
/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Ddosys.cc79 if (res < 0 && (errno == ESTALE || errno == EAGAIN)) { in my_open()
103 errmsg(errno)); in redirect_io()
107 errmsg(errno)); in redirect_io()
114 errmsg(errno)); in redirect_io()
121 errmsg(errno)); in redirect_io()
125 errmsg(errno)); in redirect_io()
205 errmsg(errno)); in doshell()
210 errmsg(errno)); in doshell()
215 errmsg(errno)); in doshell()
258 switch (errno) { in exec_vp()
[all …]
/illumos-gate/usr/src/cmd/priocntl/
H A Dtspriocntl.c111 if (errno) in main()
120 if (errno) in main()
345 if (errno == EPERM) { in set_tsprocs()
353 " with errno %d\n", basenm, errno); in set_tsprocs()
362 if (errno == EPERM) { in set_tsprocs()
387 basenm, pcinfo.pc_clname, errno); in set_tsprocs()
391 if (errno) in set_tsprocs()
398 if (errno == EPERM) { in set_tsprocs()
407 basenm, errno); in set_tsprocs()
461 basenm, errno); in exec_tscmd()
[all …]
H A Dfsspriocntl.c102 if (errno) in main()
110 if (errno) in main()
329 if (errno == EPERM) { in set_fssprocs()
336 "(%s)\n", basenm, strerror(errno)); in set_fssprocs()
346 if (errno == EPERM) { in set_fssprocs()
372 strerror(errno)); in set_fssprocs()
376 if (errno) in set_fssprocs()
383 if (errno == EPERM) { in set_fssprocs()
392 basenm, strerror(errno)); in set_fssprocs()
445 basenm, strerror(errno)); in exec_fsscmd()
[all …]
H A Drtpriocntl.c122 if (errno) in main()
131 if (errno) in main()
139 if (errno) in main()
405 if (errno == EPERM) { in set_rtprocs()
413 " errno %d\n", basenm, errno); in set_rtprocs()
419 if (errno == EPERM) { in set_rtprocs()
444 if (errno) in set_rtprocs()
451 if (errno == EPERM) { in set_rtprocs()
460 basenm, errno); in set_rtprocs()
517 basenm, errno); in exec_rtcmd()
[all …]
H A Diapriocntl.c113 if (errno) in main()
122 if (errno) in main()
368 if (errno == EPERM) { in set_iaprocs()
376 " with errno %d\n", basenm, errno); in set_iaprocs()
385 if (errno == EPERM) { in set_iaprocs()
411 basenm, pcinfo.pc_clname, errno); in set_iaprocs()
415 if (errno) in set_iaprocs()
422 if (errno == EPERM) { in set_iaprocs()
432 basenm, errno); in set_iaprocs()
493 basenm, errno); in exec_iacmd()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dpkgops.c215 strerror(errno)); in pkgOpenInGzOnlyFile()
409 if ((srcFP == (FILE *)NULL) && (errno == ENOENT)) { in pkgRemovePackageFromGzonlyList()
489 progerr(ERR_REMOVE, savePath, strerror(errno)); in pkgRemovePackageFromGzonlyList()
510 progerr(ERR_REMOVE, savePath, strerror(errno)); in pkgRemovePackageFromGzonlyList()
602 if ((srcFP == (FILE *)NULL) && (errno == ENOENT)) { in pkgAddPackageToGzonlyList()
682 progerr(ERR_REMOVE, savePath, strerror(errno)); in pkgAddPackageToGzonlyList()
703 progerr(ERR_REMOVE, savePath, strerror(errno)); in pkgAddPackageToGzonlyList()
869 switch (errno) { in pkgGetPackageList()
883 echoDebug(DBG_PKGOPS_GPKGLIST_UNKNOWN, errno); in pkgGetPackageList()
934 progerr(ERR_MEMORY, errno); in pkgAddThisZonePackage()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Duux.c43 >= 0, Ct_WRITE, "", errno);\
387 ASSERT(access(cfile, 0) != 0, Fl_EXISTS, cfile, errno);
389 ASSERT(ret >= 0 && fpc != NULL, Ct_OPEN, cfile, errno);
466 dfile, errno);
593 syspart) >= 0, Ct_WRITE, rxfile, errno);
628 ASSERT(fprx != NULL, Ct_WRITE, rxfile, errno);
745 Fl_EXISTS, tfile, errno);
750 ASSERT(fp != NULL, Ct_OPEN, tfile, errno);
822 Fl_EXISTS, tfile, errno);
827 ASSERT(fp != NULL, Ct_OPEN, tfile, errno);
[all …]
/illumos-gate/usr/src/lib/libfruutils/
H A Dfru_tag.c72 errno = EINVAL; in get_tag_size()
87 errno = EINVAL; in mk_tag()
96 errno = EINVAL; in mk_tag()
105 errno = EINVAL; in mk_tag()
114 errno = EINVAL; in mk_tag()
123 errno = EINVAL; in mk_tag()
132 errno = EINVAL; in mk_tag()
141 errno = EINVAL; in mk_tag()
149 errno = EINVAL; in mk_tag()
196 errno = EINVAL; in get_tag_type()
[all …]
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_util.c126 err = errno; in update_conf()
135 err = errno; in update_conf()
148 err = errno; in update_conf()
157 err = errno; in update_conf()
262 err = errno; in update_conf()
278 strerror(errno)); in update_conf()
281 err = errno; in update_conf()
291 err = errno; in update_conf()
299 err = errno; in update_conf()
308 err = errno; in update_conf()
[all …]
/illumos-gate/usr/src/test/zfs-tests/cmd/largest_file/
H A Dlargest_file.c76 err = errno; in main()
83 err = errno; in main()
90 err = errno; in main()
98 err = errno; in main()
104 if (errno == EFBIG) { in main()
109 err = errno; in main()
/illumos-gate/usr/src/lib/iconv_modules/vi/common/
H A DUCS-2%tcvn.c49 errno = ENOMEM; in _icv_open()
65 errno = EBADF; in _icv_close()
83 errno = EBADF; in _icv_iconv()
93 errno = 0; /* Rreset external errno */ in _icv_iconv()
103 errno = EINVAL; in _icv_iconv()
120 errno = E2BIG; in _icv_iconv()
H A DUCS-2%viscii.c49 errno = ENOMEM; in _icv_open()
65 errno = EBADF; in _icv_close()
83 errno = EBADF; in _icv_iconv()
93 errno = 0; /* reset external errno */ in _icv_iconv()
103 errno = EINVAL; in _icv_iconv()
121 errno = E2BIG; in _icv_iconv()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlock_file.c112 if (errno == EACCES || errno == EAGAIN) /* see POSIX/IEEE 1003.1-1988, in krb5_lock_file()
115 if (errno != EINVAL) /* Fall back to flock if we get EINVAL */ in krb5_lock_file()
116 return(errno); in krb5_lock_file()
117 retval = errno; in krb5_lock_file()
124 retval = errno; in krb5_lock_file()
/illumos-gate/usr/src/lib/libadm/common/
H A Ddevreserv.c269 olderrno = errno; in locklkfile()
273 if ((errno == EACCES) || (errno == EAGAIN)) { in locklkfile()
274 errno = olderrno; in locklkfile()
762 errno = EAGAIN; in islocked()
823 olderrno = errno; in unreserv()
826 errno = olderrno; in unreserv()
854 errno = EPERM; in unreserv()
860 errno = EINVAL; in unreserv()
922 olderrno = errno; in devreserv()
958 errno = olderrno; in devreserv()
[all …]
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.c571 if (errno == EINTR || errno == ERESTART) in Pxcreate()
968 errno = 0; in Pgrab()
1055 if ((errno != EINTR && errno != ERESTART) || in Pgrab()
1386 errno = EBADF; in Psetpriv()
1900 err = errno; in Pstopstatus()
1904 err = errno; in Pstopstatus()
1941 errno = err; in Pstopstatus()
2158 if (errno == ENOENT || errno == EAGAIN) { in Psetrun()
3508 err = errno; in Lstopstatus()
3519 errno = err; in Lstopstatus()
[all …]

1...<<11121314151617181920>>...141