Lines Matching refs:error
44 int error;
58 error = Psyscall(Pr, &rval, SYS_exit, 1, &argd[0]);
61 if (error < 0) {
63 error = ENOENT;
65 error = ENOSYS;
68 if (error == 0) /* can't happen? */
71 if (error == ENOENT) /* expected case */
74 errno = error;
85 int error;
92 error = Psyscall(Pr, &rval, SYS_lwp_exit, 0, NULL);
95 if (error < 0) {
97 error = ENOENT;
99 error = ENOSYS;
102 if (error == 0) /* can't happen? */
105 if (error == ENOENT) /* expected case */
108 errno = error;