Lines Matching defs:error
41 int error;
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;
90 error = Psyscall(Pr, &rval, SYS_lwp_exit, 0, NULL);
93 if (error < 0) {
95 error = ENOENT;
97 error = ENOSYS;
100 if (error == 0) /* can't happen? */
103 if (error == ENOENT) /* expected case */
106 errno = error;