1: /*
2: * Copyright (c) 1987 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: */
6:
7: #ifdef SYSLIBC_SCCS
8: _sccsid: <@(#)_exit.s 3.0 (2.11BSD GTE) 3/13/93\0>
9: .even
10: #endif SYSLIBC_SCCS
11:
12: #include "SYS.h"
13:
14: ENTRY(_exit)
15: SYS(exit)
/
/ trap 1 -> [kernel] -> syscall() -> via sysent[] -> handler: rexit
/
16: /* NOTREACHED */
17:
18: .globl x_norm
19: .globl x_error
20: x_norm:
21: bcc 1f
22: x_error:
23: mov r0,_errno
24: mov $-1,r0
25: 1: rts pc
Defined functions
__exit
defined in line
14; used 115 times
- in /usr/include/unistd.h line
56
- in /usr/src/bin/as/as0.s line
1,
219
- in /usr/src/bin/as/as2.s line
4,
229
- in /usr/src/bin/cc.c line
366
- in /usr/src/bin/chpass/chpass.c line
392,
416
- in /usr/src/bin/csh/sh.c line
916
- in /usr/src/bin/csh/sh.sem.c line
326
- in /usr/src/bin/passwd/passwd.c line
261
- in /usr/src/bin/pr.c line
151
- in /usr/src/bin/rcp.c line
401
- in /usr/src/bin/tcsh/sh.c line
1682
- in /usr/src/bin/tcsh/sh.sem.c line
617
- in /usr/src/bin/tcsh/sh.types.h line
88,
138
- in /usr/src/games/hunt/hunt.c line
479
- in /usr/src/games/rain.c line
175
- in /usr/src/lib/libc/gen/daemon.c line
54
- in /usr/src/lib/libc/gen/popen.c line
90
- in /usr/src/lib/libc/gen/syslog.c line
198
- in /usr/src/lib/libc/gen/system.c line
66
- in /usr/src/lib/libc/pdp/csu/crt0.s line
130,
137
- in /usr/src/lib/libc/stdio/exit.c line
10
- in /usr/src/libexec/comsat/comsat.c line
179,
189
- in /usr/src/libexec/fingerd/fingerd.c line
149
- in /usr/src/libexec/ftpd/ftpd.c line
1158
- in /usr/src/libexec/ftpd/popen.c line
113
- in /usr/src/libexec/popper/pop_xmit.c line
76-78(2)
- in /usr/src/libexec/rshd/rshd.c line
99
- in /usr/src/libexec/talkd/announce.c line
59
- in /usr/src/libexec/talkd/table.c line
140
- in /usr/src/libexec/talkd/talkd.c line
56-60(2),
89
- in /usr/src/libexec/tcpd/shell_cmd.c line
91
- in /usr/src/libexec/telnetd/telnetd.c line
160
- in /usr/src/local/afio/afio.c line
290,
2130,
2139,
2381
- in /usr/src/local/zmodem/rz.c line
922
- in /usr/src/new/PORT/B/src/bed/comm.c line
155
- in /usr/src/new/PORT/B/src/bed/main.c line
220
- in /usr/src/new/jove/extend.c line
963
- in /usr/src/new/jove/externs.h line
17,
620
- in /usr/src/new/jove/iproc-pipes.c line
246
- in /usr/src/new/jove/iproc-ptys.c line
380
- in /usr/src/new/jove/jove.c line
158,
440,
756
- in /usr/src/new/jove/portsrv.c line
117
- in /usr/src/new/jove/proc.c line
632
- in /usr/src/new/jove/term.c line
125
- in /usr/src/new/kermit5.188/ckcdeb.h line
1247
- in /usr/src/new/kermit5.188/ckufio.c line
2849-2853(2)
- in /usr/src/new/kermit5.188/ckustr.c line
400
- in /usr/src/new/nntp/server/spawn.c line
171
- in /usr/src/new/notes/src/misc.c line
96
- in /usr/src/new/rn/util.c line
61
- in /usr/src/sbin/init/init.c line
224
- in /usr/src/sbin/mount/mount.c line
299,
312
- in /usr/src/sbin/routed/startup.c line
153
- in /usr/src/ucb/Mail/cmd2.c line
373
- in /usr/src/ucb/Mail/popen.c line
216
- in /usr/src/ucb/Mail/send.c line
383
- in /usr/src/ucb/PORT/pascal/pdx/library.c line
165
- in /usr/src/ucb/PORT/pascal/utilities/px_header.c line
145
- in /usr/src/ucb/apply.c line
129
- in /usr/src/ucb/ex/ex_subr.c line
892
- in /usr/src/ucb/more/more.c line
536
- in /usr/src/ucb/pascal/pi/px_header.c line
83
- in /usr/src/ucb/pascal/px/00int.s line
339
- in /usr/src/ucb/pascal/px/exit.c line
18
- in /usr/src/ucb/rdist/server.c line
1317
- in /usr/src/ucb/sendbug/bugfiler.c line
134
- in /usr/src/ucb/window/wwspawn.c line
38
- in /usr/src/usr.bin/at/at.c line
337
- in /usr/src/usr.bin/learn/mysys.c line
156
- in /usr/src/usr.bin/sort.c line
574
- in /usr/src/usr.bin/tip/cmds.c line
808
- in /usr/src/usr.bin/uucp/aculib/va820.c line
104
- in /usr/src/usr.bin/uucp/cntrl.c line
452
- in /usr/src/usr.bin/uucp/mailst.c line
76
- in /usr/src/usr.bin/uucp/uucpd.c line
65
- in /usr/src/usr.bin/xargs/xargs.c line
287
- in /usr/src/usr.lib/libU77/system_.c line
68
- in /usr/src/usr.lib/libstubs/stubs.c line
249
- in /usr/src/usr.sbin/cron/cron.c line
89
- in /usr/src/usr.sbin/cron/do_command.c line
54,
197,
203,
343
- in /usr/src/usr.sbin/cron/popen.c line
121
- in /usr/src/usr.sbin/inetd/inetd.c line
431,
438,
446,
454
- in /usr/src/usr.sbin/sendmail.MX/src/deliver.c line
907,
933-935(2)
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line
961
- in /usr/src/usr.sbin/sendmail/src/deliver.c line
839,
875-877(2)
- in /usr/src/usr.sbin/sendmail/src/main.c line
965
- in /usr/src/usr.sbin/vipw/vipw.c line
226,
249
x_error
declared in line
19; defined in line
22; used 13 times
x_norm
declared in line
18; defined in line
20; used 3 times