/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | set_errno.c | 34 * __set_errno() takes an error number, maps ERESTART into EINTR, and sets 35 * the global (or per-thread) errno. It returns the mapped error number. 36 * __set_errno(error) is designed to be used after calling __systemcall() 37 * and getting a non-zero error return value. (__systemcall() does not 38 * set errno and does not deal with ERESTART; it just returns the error 42 __set_errno(int error) argument 44 if (error == ERESTART) 45 error = EINTR; 46 errno = error; 47 return (error); [all...] |
H A D | lwp_cond.c | 39 int error; local 41 error = ___lwp_cond_wait(cv, mp, NULL, 0); 46 return (error); 52 int error; local 57 error = ___lwp_cond_wait(cv, mp, relts, 0); 62 return (error);
|
H A D | readlink.c | 35 int error; local 37 error = __systemcall(&rval, SYS_readlinkat, fd, path, buf, bufsize); 38 if (error) 39 (void) __set_errno(error);
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | raise.c | 44 int error; local 46 if ((error = thr_kill(thr_self(), sig)) != 0) { 47 errno = error;
|
H A D | posix_memalign.c | 52 int error = 0; local 57 error = EINVAL; 60 error = ENOMEM; 63 return (error);
|
H A D | fdopendir.c | 52 int error = 0; local 66 error = ENOTDIR; 81 if (error) 82 errno = error;
|
H A D | ftok.c | 49 int error; local 58 if ((error = getattrat(AT_FDCWD, XATTR_VIEW_READONLY, 62 if ((error = libc_nvlist_lookup_uint64(nvp, 68 if (error)
|
H A D | posix_fallocate.c | 36 * Return the proper Posix error number for a failed (EINVAL) fcntl() operation. 42 int error; local 45 error = EBADF; 47 error = ESPIPE; 49 error = ENODEV; 51 error = EINVAL; 53 return (error); 60 int error; local 71 if ((error = errno) == EINVAL) 72 error 86 int error; local [all...] |
/osnet-11/usr/src/lib/libdll/common/ |
H A D | dlllib.h | 24 #include <error.h> 30 int error; member in struct:Dllstate_s
|
/osnet-11/usr/src/cmd/hal/addons/acpi/ |
H A D | addon-acpi.c | 36 DBusError error; local 43 dbus_error_init(&error); 44 if ((ctx = libhal_ctx_init_direct(&error)) == NULL) { 48 dbus_error_init(&error); 49 if (!libhal_device_addon_is_ready(ctx, getenv("UDI"), &error)) {
|
/osnet-11/usr/src/lib/libwrap/ |
H A D | shell_cmd.c | 11 * standard output and standard error connected to /dev/null. 59 case -1: /* error */ 76 char *error; local 91 error = "open /dev/null: %m"; 93 error = "dup: %m"; 96 error = "execl /bin/sh: %m"; 101 tcpd_warn(error);
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | pr_door.c | 45 int error; local 91 error = Psyscall(Pr, &rval, SYS_door, 6, &argd[0]); 93 if (error) { 94 errno = (error < 0)? ENOSYS : error;
|
H A D | pr_exit.c | 41 int error; local 56 error = Psyscall(Pr, &rval, SYS_exit, 1, &argd[0]); 59 if (error < 0) { 61 error = ENOENT; 63 error = ENOSYS; 66 if (error == 0) /* can't happen? */ 69 if (error == ENOENT) /* expected case */ 72 errno = error; 83 int error; local 90 error [all...] |
H A D | pr_fcntl.c | 45 int error; local 133 error = Psyscall(Pr, &rval, SYS_fcntl, 3, &argd[0]); 135 if (error) { 136 errno = (error > 0)? error : ENOSYS;
|
H A D | pr_ioctl.c | 44 int error; local 77 error = Psyscall(Pr, &rval, SYS_ioctl, 3, &argd[0]); 79 if (error) { 80 errno = (error > 0)? error : ENOSYS;
|
H A D | pr_pbind.c | 42 int error; local 82 error = Psyscall(Pr, &rval, SYS_processor_bind, 4, &argd[0]); 84 if (error) { 85 errno = (error < 0)? ENOSYS : error;
|
H A D | pr_getitimer.c | 44 int error; local 77 error = Psyscall(Pr, &rval, SYS_getitimer, 2, &argd[0]); 79 if (error) { 80 errno = (error > 0)? error : ENOSYS; 101 int error; local 160 error = Psyscall(Pr, &rval, SYS_setitimer, 3, &argd[0]); 162 if (error) { 163 errno = (error > 0)? error [all...] |
H A D | pr_getrctl.c | 47 int error; local 110 error = Psyscall(Pr, &rval, SYS_rctlsys, 6, &argd[0]); 112 if (error) { 113 errno = (error > 0) ? error : ENOSYS; 129 int error; local 192 error = Psyscall(Pr, &rval, SYS_rctlsys, 6, &argd[0]); 194 if (error) { 195 errno = (error > 0) ? error 211 int error; local [all...] |
H A D | pr_getrlimit.c | 48 int error; local 76 error = Psyscall(Pr, &rval, sysnum, 2, &argd[0]); 78 if (error) { 79 errno = (error > 0)? error : ENOSYS; 96 int error; local 124 error = Psyscall(Pr, &rval, sysnum, 2, &argd[0]); 126 if (error) { 127 errno = (error > 0)? error 144 int error; local 192 int error; local [all...] |
/osnet-11/usr/src/lib/libnwam/common/ |
H A D | libnwam_audit.c | 37 char *name, char *descr_arg, int status, int error) 84 (void) adt_put_event(edata, status, error); 36 nwam_record_audit_event(const ucred_t *ucr, au_event_t eid, char *name, char *descr_arg, int status, int error) argument
|
/osnet-11/usr/src/lib/libdisasm/common/ |
H A D | libdisasm.c | 69 dis_seterrno(int error) argument 71 _dis_errno = error; 82 dis_strerror(int error) argument 84 switch (error) { 90 return ("unknown error");
|
/osnet-11/usr/src/lib/libipmp/common/ |
H A D | ipmp.c | 40 * error code. 108 * Return a string describing the IPMP error code named by `error'. 111 ipmp_errmsg(int error) argument 113 if (error >= IPMP_NERR || error < 0) 114 return (dgettext(TEXT_DOMAIN, "<unknown error>")); 116 if (error == IPMP_FAILURE) 119 return (dgettext(TEXT_DOMAIN, errmsgs[error]));
|
/osnet-11/usr/src/lib/libadm/common/ |
H A D | puterror.c | 46 puterror(FILE *fp, char *defmesg, char *error) argument 51 if (error == NULL) { 52 /* use default message since no error was provided */ 59 n = strlen(error); 60 if (error[0] == '~') { 66 ++error; 67 (void) strcat(tmp, error); 68 } else if (n && (error[n-1] == '~')) { 72 (void) strcat(tmp, error); 80 (void) strcat(tmp, error); [all...] |
/osnet-11/usr/src/cmd/hal/probing/acpi/ |
H A D | probe-acpi.c | 40 DBusError error; local 50 dbus_error_init(&error); 51 if ((ctx = libhal_ctx_init_direct(&error)) == NULL) 79 libhal_ctx_shutdown(ctx, &error); 81 if (dbus_error_is_set(&error)) { 82 dbus_error_free(&error);
|
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | re_comp.c | 31 #undef error macro 36 char error[64]; member in struct:__anon1126 65 regerror(r, &state.re, state.error, sizeof(state.error)); 66 return state.error;
|