Searched defs:error (Results 1 - 25 of 1783) 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;
H A Dposix_memalign.c52 int error = 0; local
57 error = EINVAL;
60 error = ENOMEM;
63 return (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/tools/ctf/dwarf/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/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)
/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);
/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/common/ctf/
H A Dctf_error.c62 "Syntax error in type name", /* ECTF_SYNTAX */
84 ctf_errmsg(int error) argument
88 if (error >= ECTF_BASE && (error - ECTF_BASE) < _ctf_nerr)
89 str = _ctf_errlist[error - ECTF_BASE];
91 str = ctf_strerror(error);
93 return (str ? str : "Unknown error");
/illumos-gate/usr/src/common/net/wanboot/
H A Dhttp_errorstr.c48 /* EHTTP_UNEXPECTED */ "SSL connection returned unexpected error",
58 /* EHTTP_BADRESP */ "Bad response or error response returned",
67 * http_errorstr - print the error associated with the source and errorcode
70 * errsrc - Which library caused the error (as returned by
72 * error - The error code returned
75 * Pointer to error string for this error.
78 http_errorstr(uint_t errsrc, ulong_t error) argument
86 msg = strerror(error);
[all...]
/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)) {

Completed in 135 milliseconds

1234567891011>>