Searched defs:errno (Results 26 - 50 of 92) sorted by relevance

1234

/illumos-gate/usr/src/lib/libsasl/lib/
H A Dseterror.c73 /* need to handle the fact that errno has been defined as a function
75 # ifdef errno
76 # undef errno macro
77 # endif /* errno */
101 * of an errno error)
250 case 'm': /* insert the errno string */
/illumos-gate/usr/src/cmd/bnu/
H A Danlwrk.c100 errent(Ct_OPEN,file,errno, __FILE__, __LINE__);
133 ASSERT(unlink(file) == 0, Ct_UNLINK, file, errno); local
157 errent(Ct_OPEN, afile, errno, __FILE__, __LINE__);
214 ASSERT(chdir(newspool) == 0, Ct_CHDIR, newspool, errno); local
H A Duux.c37 ASSERT(fprintf(f, "S %s %s %s -%s %s 0666 %s %s\n", a, b, User, _Statop?"o":"", c, User, _Sfile) >= 0, Ct_WRITE, "", errno);\
43 >= 0, Ct_WRITE, "", errno);\
387 ASSERT(access(cfile, 0) != 0, Fl_EXISTS, cfile, errno);
389 ASSERT(ret >= 0 && fpc != NULL, Ct_OPEN, cfile, errno);
404 ASSERT(access(rxfile, 0) != 0, Fl_EXISTS, rxfile, errno);
406 ASSERT(ret >= 0 && fprx != NULL, Ct_WRITE, rxfile, errno);
456 ASSERT(access(dfile, 0) != 0, Fl_EXISTS, dfile, errno);
458 ASSERT(ret >= 0 && fpd != NULL, Ct_OPEN, dfile, errno);
466 dfile, errno);
468 ASSERT(fflush(fpd) != EOF && ferror(fpd) == 0, Ct_WRITE, dfile, errno); local
756 ASSERT(fflush(fp) != EOF && ferror(fp) == 0, Ct_WRITE, dfile, errno); local
831 ASSERT(fflush(fp) != EOF && ferror(fp) == 0, Ct_WRITE, dfile, errno); local
849 ASSERT(fflush(fp) != EOF && ferror(fp) == 0, Ct_WRITE, t2file, errno); local
887 ASSERT(fflush(fprx) != EOF && ferror(fprx) == 0, Ct_WRITE, rxfile, errno); local
912 ASSERT(fflush(fpc) != EOF && ferror(fpc) == 0, Ct_WRITE, cfile, errno); local
[all...]
H A Duucico.c278 ASSERT(chdir(Spool) == 0, Ct_CHDIR, Spool, errno); local
290 errent(Ct_OPEN, RMTDEBUG, errno, __FILE__, __LINE__);
994 sprintf(msgbuf, "Execlp of %s failed with errno=%%d\n",
996 DEBUG(4, msgbuf, errno);
998 cleanup(errno);
1001 cleanup(errno);
1004 if (waitrv == -1 && errno != EINTR)
1005 cleanup(errno);
/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddca_dsa.c149 dca_dsa_sign_done(dca_request_t *reqp, int errno) argument
151 if (errno == CRYPTO_SUCCESS) {
157 errno = CRYPTO_DEVICE_ERROR;
165 errno = dca_scatter(reqp->dr_obuf_kaddr,
167 if (errno != CRYPTO_SUCCESS) {
172 errno = dca_scatter(reqp->dr_obuf_kaddr+DSAPARTLEN,
174 if (errno != CRYPTO_SUCCESS) {
183 crypto_op_notification(reqp->dr_kcf_req, errno);
186 errno);
325 dca_dsa_verify_done(dca_request_t *reqp, int errno) argument
[all...]
H A Ddca_3des.c530 dca_3desdone(dca_request_t *reqp, int errno) argument
536 if (errno == CRYPTO_SUCCESS) {
553 errno = CRYPTO_DEVICE_ERROR;
557 errno = dca_scatter(reqp->dr_obuf_kaddr,
559 if (errno != CRYPTO_SUCCESS) {
584 errno = dca_getbufbytes(out, off, DESBLOCK,
586 if (errno != CRYPTO_SUCCESS) {
609 errno = dca_3desstart(reqp->dr_dca, reqp->dr_flags,
611 if (errno == CRYPTO_QUEUED) {
624 if ((errno
[all...]
H A Ddca_rsa.c209 dca_rsadone(dca_request_t *reqp, int errno) argument
211 if (errno == CRYPTO_SUCCESS) {
220 errno = CRYPTO_DEVICE_ERROR;
233 errno = dca_pkcs1_unpadding(
238 if (errno != CRYPTO_SUCCESS &&
239 errno != CRYPTO_BUFFER_TOO_SMALL) {
243 errno = CRYPTO_BUFFER_TOO_SMALL;
245 if (errno == CRYPTO_BUFFER_TOO_SMALL) {
253 if ((errno = dca_x509_unpadding(
264 errno
297 dca_rsaverifydone(dca_request_t *reqp, int errno) argument
[all...]
/illumos-gate/usr/src/uts/common/io/sdcard/impl/
H A Dsda_init.c65 sda_err_t errno; local
71 errno = sda_cmd_exec(slot, cmdp, resp);
75 return (errno);
83 sda_err_t errno; local
89 errno = sda_cmd_exec(slot, cmdp, resp);
93 return (errno);
586 sda_err_t errno; local
604 errno = sda_cmd_exec(slot, cmdp, NULL);
608 return (errno);
H A Dsda_mem.c57 sda_mem_errno(sda_err_t errno) argument
60 if (errno == SDA_EOK) {
64 switch (errno) {
89 int errno = sda_cmd_errno(cmdp); local
91 bd_xfer_done(xfer, sda_mem_errno(errno));
H A Dsda_cmd.c161 sda_cmd_notify(sda_cmd_t *cmdp, uint16_t flags, sda_err_t errno) argument
175 c->c_errno = errno;
206 sda_err_t errno = 0; local
217 errno = SDA_EFAULT;
220 errno = SDA_ENODEV;
222 if (errno != SDA_EOK) {
231 * the errno.
233 sda_cmd_notify(cmdp, 0, errno);
338 int errno; local
363 errno
[all...]
H A Dsda_slot.c282 sda_slot_abort(sda_slot_t *slot, sda_err_t errno) argument
290 sda_cmd_notify(cmdp, 0, errno);
295 sda_cmd_notify(cmdp, 0, errno);
303 sda_slot_handle_transfer(sda_slot_t *slot, sda_err_t errno) argument
318 sda_cmd_notify(cmdp, SDA_CMDF_DAT, errno);
422 sda_slot_transfer(sda_slot_t *slot, sda_err_t errno) argument
425 slot->s_errno = errno;
674 sda_err_t errno; local
676 errno = slot->s_errno;
681 sda_slot_handle_transfer(slot, errno);
[all...]
/illumos-gate/usr/src/uts/common/kiconv/kiconv_sc/
H A Dkiconv_cck_common.c36 #include <sys/errno.h>
77 char **outbuf, size_t *outbytesleft, int *errno,
92 *errno = EBADF;
163 *errno = EILSEQ;
193 int flag, int *errno, kiconv_utf8tocck_t ptr_utf8tocck)
255 *errno = EILSEQ;
76 kiconv_utf8_to_cck(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno, kiconv_utf8tocck_t ptr_utf8tocck) argument
192 kiconvstr_utf8_to_cck(uchar_t *ib, size_t *inlen, uchar_t *ob, size_t *outlen, int flag, int *errno, kiconv_utf8tocck_t ptr_utf8tocck) argument
/illumos-gate/usr/src/lib/libumem/common/
H A Dlinktest_stand.c70 int errno; variable
/illumos-gate/usr/src/contrib/zlib/
H A Dzutil.c138 * errno. We define it as a global variable to simplify porting.
141 int errno = 0; variable
/illumos-gate/usr/src/cmd/sendmail/src/
H A Derr.c72 ** - syserr decides what class of error this is by looking at errno.
79 errno = ENOMEM;
96 ** reply code defaults to 451 or 554, depending on errno.
131 int save_errno = errno;
256 errno = 0;
460 errno = 0; local
514 errno = 0; local
659 shortenstring(msg, MAXSHORTSTR), sm_errstring(errno));
/illumos-gate/usr/src/cmd/svr4pkg/pkgproto/
H A Dmain.c41 #include <errno.h>
60 #define ERR_MEMORY "memory allocation failure, errno=%d"
490 progerr(gettext(ERR_MEMORY), errno); local
/illumos-gate/usr/src/uts/common/kiconv/kiconv_ko/
H A Dkiconv_ko.c37 #include <sys/errno.h>
86 char **outbuf, size_t *outbufleft, int *errno)
98 *errno = EBADF;
172 size_t *outlen, int flag, int *errno)
254 char **outbuf, size_t *outbufleft, int *errno)
266 *errno = EBADF;
340 size_t *outlen, int flag, int *errno)
422 char **outbuf, size_t *outbytesleft, int *errno)
425 outbytesleft, errno, utf8_to_euckr));
433 char **outbuf, size_t *outbytesleft, int *errno)
85 kiconv_fr_euckr(void *kcd, char **inbuf, size_t *inbufleft, char **outbuf, size_t *outbufleft, int *errno) argument
171 kiconvstr_fr_euckr(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
253 kiconv_fr_uhc(void *kcd, char **inbuf, size_t *inbufleft, char **outbuf, size_t *outbufleft, int *errno) argument
339 kiconvstr_fr_uhc(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
421 kiconv_to_euckr(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno) argument
432 kiconv_to_uhc(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno) argument
443 kiconvstr_to_euckr(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
454 kiconvstr_to_uhc(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
[all...]
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Derror.h44 #include <errno.h>
48 #if !defined(errno) && defined(__DYNAMIC__)
49 #define errno __DYNAMIC__(errno) macro
79 #define ERROR_SYSTEM 0x0100 /* report system errno message */
139 int last_errno; /* last reported errno */
159 #ifndef errno
160 extern __MANGLE__ int errno; /* system call error status */
/illumos-gate/usr/src/lib/libast/common/include/
H A Derror.h35 #include <errno.h>
39 #if !defined(errno) && defined(__DYNAMIC__)
40 #define errno __DYNAMIC__(errno) macro
70 #define ERROR_SYSTEM 0x0100 /* report system errno message */
130 int last_errno; /* last reported errno */
150 #ifndef errno
151 extern int errno; /* system call error status */
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Derror.h44 #include <errno.h>
48 #if !defined(errno) && defined(__DYNAMIC__)
49 #define errno __DYNAMIC__(errno) macro
79 #define ERROR_SYSTEM 0x0100 /* report system errno message */
139 int last_errno; /* last reported errno */
159 #ifndef errno
160 extern __MANGLE__ int errno; /* system call error status */
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Derror.h44 #include <errno.h>
48 #if !defined(errno) && defined(__DYNAMIC__)
49 #define errno __DYNAMIC__(errno) macro
79 #define ERROR_SYSTEM 0x0100 /* report system errno message */
139 int last_errno; /* last reported errno */
159 #ifndef errno
160 extern __MANGLE__ int errno; /* system call error status */
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Derror.h44 #include <errno.h>
48 #if !defined(errno) && defined(__DYNAMIC__)
49 #define errno __DYNAMIC__(errno) macro
79 #define ERROR_SYSTEM 0x0100 /* report system errno message */
139 int last_errno; /* last reported errno */
159 #ifndef errno
160 extern __MANGLE__ int errno; /* system call error status */
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dcheckmap.c34 #include <errno.h>
70 #define ERR_NOMEM "unable to allocate dynamic memory, errno=%d"
358 progerr(gettext(ERR_NOMEM), errno); local
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dsplpkgmap.c32 #include <errno.h>
54 #define ERR_MEMORY "memory allocation failure, errno=%d"
114 progerr(gettext(ERR_MEMORY), errno); local
120 progerr(gettext(ERR_MEMORY), errno); local
127 progerr(gettext(ERR_MEMORY), errno); local
461 progerr(gettext(ERR_MEMORY), errno); local
490 progerr(gettext(ERR_MEMORY), errno); local
607 progerr(gettext(ERR_MEMORY), errno); local
/illumos-gate/usr/src/uts/common/os/
H A Dkiconv.c45 #include <sys/errno.h>
184 size_t *outbytesleft, int *errno)
203 *errno = EBADF;
213 *errno = EBADF;
249 *errno = EILSEQ;
259 *errno = E2BIG;
285 *errno = EINVAL;
302 *errno = EILSEQ;
309 *errno = EILSEQ;
361 size_t *outbytesleft, int *errno)
183 kiconv_to_sb(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno) argument
360 kiconv_fr_sb(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno) argument
454 kiconvstr_to_sb(size_t id, uchar_t *ib, size_t *inlen, uchar_t *ob, size_t *outlen, int flag, int *errno) argument
602 kiconvstr_to_1252(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
610 kiconvstr_to_1(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
618 kiconvstr_to_15(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
626 kiconvstr_to_850(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
638 kiconvstr_fr_sb(size_t id, uchar_t *ib, size_t *inlen, uchar_t *ob, size_t *outlen, int flag, int *errno) argument
717 kiconvstr_fr_1252(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
725 kiconvstr_fr_1(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
733 kiconvstr_fr_15(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
741 kiconvstr_fr_850(char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
1302 kiconv(kiconv_t kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno) argument
1346 kiconvstr(const char *tocode, const char *fromcode, char *inarray, size_t *inlen, char *outarray, size_t *outlen, int flag, int *errno) argument
[all...]

Completed in 85 milliseconds

1234