Searched defs:error (Results 1 - 25 of 1708) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libc/port/sys/
H A Dset_errno.c34 * __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...]
/illumos-gate/usr/src/cmd/projadd/
H A Dprojadd.pl60 # Print a list of error messages and exit.
62 sub error subroutine
141 error([10, gettext('Cannot open %s: %s'), $projfile, $!]);
148 error(@$pf);
273 error(@$err);
279 error([10, gettext('Cannot create %s: %s'), $tmpprojf, $!]);
284 error([10, gettext('Cannot set ownership of %s: %s'),
289 error([10, gettext('cannot rename %s to %s: %s'),
H A Dprojdel.pl54 # Print a list of error messages and exit.
56 sub error subroutine
100 error([10, gettext('Cannot open %s: %s'), $projfile, $!]);
111 error(@$pf);
118 error([6, gettext('Project "%s" does not exist'), $pname])
120 error([6, gettext('Duplicate project name "%s"'), $pname])
126 error([10, gettext('Cannot create %s: %s'), $tmpprojf, $!]);
131 error([10, gettext('Cannot set ownership of %s: %s'),
136 error([10, gettext('cannot rename %s to %s: %s'),
H A Dprojmod.pl62 # Print a list of error messages and exit.
64 sub error subroutine
448 open($pfh, "<&=STDIN") or error( [10,
451 error([10, gettext('Cannot open %s: %s'), $projfile, $!]);
467 error(@$pf);
486 error([6, gettext('Project "%s" does not exist'), $pname])
636 error(@$err);
649 error([10, gettext('Cannot create %s: %s'), $tmpprojf, $!]);
656 error([10, gettext('Cannot set ownership of %s: %s'),
661 error([1
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dgetdtablesize.c42 int error; local
45 error = getrlimit(RLIMIT_NOFILE, &rip);
46 if ( error < 0 )
/illumos-gate/usr/src/lib/libc/port/gen/
H A Draise.c44 int error; local
46 if ((error = thr_kill(thr_self(), sig)) != 0) {
47 errno = error;
/illumos-gate/usr/src/cmd/modload/
H A Dmodsubr.c34 error(char *fmt, ...) function
38 int error; local
40 error = errno;
51 exit(error);
/illumos-gate/usr/src/cmd/sgs/size/common/
H A Dfcns.c36 * error(file, string)
37 * simply prints the error message string
42 error(char *file, char *string) function
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dtimes.c65 int error; local
73 error = _times(tmsp);
74 return (error == -1 ? error : 0);
/illumos-gate/usr/src/uts/common/syscall/
H A Dclose.c53 int error; local
55 if ((error = closeandsetf(fdes, NULL)) != 0)
56 return (set_errno(error));
H A Dgetloadavg.c43 int error; local
54 error = copyout(loadbuf, buf, nelem * sizeof (avenrun[0]));
55 if (error)
H A Dcladm.c39 int error = 0; local
45 error = EINVAL;
57 error = EFAULT;
70 /* return error if not configured as a cluster */
72 error = ENOSYS;
77 error = copyout(&nid, arg, sizeof (nid));
85 error = EINVAL;
88 error = cladmin(fac, cmd, arg);
90 * error will be -1 if the cladm module cannot be loaded;
94 if (error <
[all...]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Dpro_finish.c48 dwarf_producer_finish(Dwarf_P_Debug dbg, Dwarf_Error * error) argument
H A Ddwarf_stubs.c47 Dwarf_Global * returned_nextglob, Dwarf_Error * error)
45 dwarf_nextglob(Dwarf_Debug dbg, Dwarf_Global glob, Dwarf_Global * returned_nextglob, Dwarf_Error * error) argument
H A Dpro_error.c53 This function performs error handling as described in the
56 to the error descriptor that will be returned. Errval is an
57 error code listed in dwarf_error.h.
61 Dwarf_Error * error, Dwarf_Word errval)
66 want to report the upper-level error, not this one. */
70 if (error != NULL) {
79 *error = errptr;
60 _dwarf_p_error(Dwarf_P_Debug dbg, Dwarf_Error * error, Dwarf_Word errval) argument
H A Dpro_funcs.c51 It returns 0 on error, and 1 otherwise.
56 char *function_name, Dwarf_Error * error)
60 dwarf_snk_funcname, error);
54 dwarf_add_funcname(Dwarf_P_Debug dbg, Dwarf_P_Die die, char *function_name, Dwarf_Error * error) argument
H A Dpro_pubnames.c52 It returns 0 on error, and 1 otherwise.
58 char *pubname_name, Dwarf_Error * error)
62 dwarf_snk_pubname, error);
56 dwarf_add_pubname(Dwarf_P_Debug dbg, Dwarf_P_Die die, char *pubname_name, Dwarf_Error * error) argument
H A Dpro_vars.c51 It returns 0 on error, and 1 otherwise.
55 Dwarf_P_Die die, char *var_name, Dwarf_Error * error)
59 dwarf_snk_varname, error);
54 dwarf_add_varname(Dwarf_P_Debug dbg, Dwarf_P_Die die, char *var_name, Dwarf_Error * error) argument
H A Dpro_weaks.c51 It returns 0 on error, and 1 otherwise.
56 char *weak_name, Dwarf_Error * error)
60 dwarf_snk_weakname, error);
54 dwarf_add_weakname(Dwarf_P_Debug dbg, Dwarf_P_Die die, char *weak_name, Dwarf_Error * error) argument
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dgethost.c21 int error; local
37 error = getaddrinfo(name, NULL, &hints, &ai);
39 if ((error == 0) && (ai != NULL) && (ai->ai_addr != NULL)) {
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dgethostname.c53 int error; local
55 error = sysinfo(SI_HOSTNAME, name, namelen);
57 * error > 0 ==> number of bytes to hold name
61 return (error == -1 ? -1 : 0);
67 int error; local
76 error = sysinfo(SI_SET_HOSTNAME, name, namelen);
77 return (error == -1 ? -1 : 0);
H A Dgethostid.c57 int error; local
59 error = sysinfo(SI_HW_SERIAL, name, HOSTIDLEN);
61 * error > 0 ==> number of bytes to hold name
65 if (error == -1)
/illumos-gate/usr/src/lib/libwrap/
H A Dshell_cmd.c11 * 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);
/illumos-gate/usr/src/cmd/hal/addons/acpi/
H A Daddon-acpi.c36 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)) {
/illumos-gate/usr/src/uts/common/io/
H A Dneti_mod.c51 int error; local
54 error = mod_install(&modlinkage);
55 if (error != 0)
58 return (error);
65 int error; local
67 error = mod_remove(&modlinkage);
68 if (error == 0)
71 return (error);

Completed in 281 milliseconds

1234567891011>>