# 2.11BSD#431 - /usr/src/lib/libc/pdp/sys/fork.s

##### Functions

    _fork             X

       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: <@(#)fork.s	2.6 (2.11BSD GTE) 1995/05/10\0>
       9:         .even
      10: #endif SYSLIBC_SCCS
      11:
      12: /*
      13:  * XXX - this routine can't use SYSCALL!!!
      14:  */
      15: #include "SYS.h"
      16:
      17: ENTRY(fork)
      18:         SYS(fork)
          /
          /   trap 2 -> [kernel] -> syscall() -> via sysent[] -> handler: fork
          /
      19:         br      1f                      / child returns here
      20:         bcs     2f                      / parent returns here
      21:         rts     pc
      22: 1:
      23:         clr     r0                      / child gets a zero
      24:         rts     pc
      25: 2:
      26:         jmp     x_error

#### Defined functions

_fork defined in line 17; used 234 times

- in /usr/include/unistd.h line 59
- in /usr/ingres/source/dbu/copy.c line 179
- in /usr/ingres/source/dbu/help.c line 143
- in /usr/ingres/source/dbu/modify.c line 611
- in /usr/ingres/source/equel/runtime/IIingres.c line 75
- in /usr/ingres/source/monitor/edit.c line 34
- in /usr/ingres/source/monitor/shell.c line 34
- in /usr/ingres/source/support/creatdb.c line 413, 437
- in /usr/ingres/source/support/ingres.c line 1272
- in /usr/ingres/source/support/restore.c line 153
- in /usr/src/bin/adb/format.c line 234
- in /usr/src/bin/adb/runpcs.c line 94
- in /usr/src/bin/chpass/chpass.c line 187
- in /usr/src/bin/csh/sh.proc.c line 1039
- in /usr/src/bin/diff/diffdir.c line 336, 352
- in /usr/src/bin/disklabel/disklabel.c line 674
- in /usr/src/bin/du.c line 53
- in /usr/src/bin/ed.c line 751
- in /usr/src/bin/mail.c line 539
- in /usr/src/bin/passwd/passwd.c line 117
- in /usr/src/bin/sh/xec.c line 243
- in /usr/src/bin/tcsh/sh.proc.c line 1672
- in /usr/src/bin/tcsh/sh.sem.c line 321
- in /usr/src/bin/tcsh/sh.types.h line 136
- in /usr/src/bin/time.c line 26
- in /usr/src/bin/wall.c line 141
- in /usr/src/bin/write.c line 218
- in /usr/src/games/adventure/init.c line 33
- in /usr/src/games/atc/input.c line 283
- in /usr/src/games/boggle/boggle.c line 590
- in /usr/src/games/btlgammon/btlgammon.c line 143
- in /usr/src/games/hack/hack.pager.c line 373
- in /usr/src/games/hack/hack.pri.c line 45
- in /usr/src/games/hack/play.c line 19
- in /usr/src/games/monop/misc.c line 271
- in /usr/src/games/rogue/machdep.c line 538
- in /usr/src/games/sail/pl_main.c line 154
- in /usr/src/games/snake/snake.c line 253
- in /usr/src/games/trek/shell.c line 21
- in /usr/src/games/warp/intrp.c line 657
- in /usr/src/games/warp/sig.c line 84
- in /usr/src/lib/libc/gen/daemon.c line 48
- in /usr/src/libexec/comsat/comsat.c line 173
- in /usr/src/libexec/identd/src/identd.c line 534, 541, 722
- in /usr/src/libexec/popper/pop_xmit.c line 71
- in /usr/src/libexec/rexecd/rexecd.c line 144
- in /usr/src/libexec/rlogind/rlogind.c line 273
- in /usr/src/libexec/rshd/rshd.c line 317
- in /usr/src/libexec/talkd/announce.c line 39
- in /usr/src/libexec/tcpd/safe_finger.c line 175
- in /usr/src/libexec/tcpd/shell_cmd.c line 47
- in /usr/src/libexec/telnetd/telnetd.c line 303
- in /usr/src/libexec/tftpd/tftpd.c line 111
- in /usr/src/local/afio/afio.c line 2709
- in /usr/src/local/cxref/cxref.c line 298, 308, 337, 362, 415, 425, 454, 513, 523, 552
- in /usr/src/local/ddd/ddd.c line 334
- in /usr/src/local/decompr16.c line 114
- in /usr/src/local/mtools/mcopy.c line 118, 153
- in /usr/src/local/zmodem/rz.c line 907
- in /usr/src/new/OLD/apl/src/apl.h line 549-551(2), 567
- in /usr/src/new/OLD/apl/src/xed.c line 5599
- in /usr/src/new/PORT/B/src/bed/comm.c line 127
- in /usr/src/new/PORT/apl/src/apl.h line 549-551(2), 567
- in /usr/src/new/PORT/perl.1.0.0/arg.c line 1967
- in /usr/src/new/PORT/perl.1.0.10/arg.c line 1995
- in /usr/src/new/PORT/perl.1.0.16/arg.c line 2019
- in /usr/src/new/jove/extend.c line 932
- in /usr/src/new/jove/iproc-pipes.c line 224
- in /usr/src/new/jove/iproc-ptys.c line 317
- in /usr/src/new/jove/jove.c line 422
- in /usr/src/new/jove/portsrv.c line 104
- in /usr/src/new/jove/recover.c line 650
- in /usr/src/new/kermit5.188/ckucon.c line 602
- in /usr/src/new/kermit5.188/ckufio.c line 1369, 2841, 2901
- in /usr/src/new/kermit5.188/ckutio.c line 4115
- in /usr/src/new/nntp/server/main.c line 91, 104
- in /usr/src/new/nntp/server/netaux.c line 52
- in /usr/src/new/notes/src/misc.c line 70
- in /usr/src/new/notes/src/nfabort.c line 42
- in /usr/src/new/notes/src/savtxt.c line 60
- in /usr/src/old/cu/cu.c line 202, 258, 369
- in /usr/src/old/dump/dumpoptr.c line 126
- in /usr/src/old/dump/dumptape.c line 158
- in /usr/src/sbin/dump/dumpoptr.c line 130
- in /usr/src/sbin/dump/dumptape.c line 214, 368
- in /usr/src/sbin/fsck/main.c line 135
- in /usr/src/sbin/init/init.c line 178, 290, 318, 532, 677, 751
- in /usr/src/sbin/quotacheck/preen.c line 251
- in /usr/src/sbin/routed/main.c line 93
- in /usr/src/sbin/shutdown/shutdown.c line 181
- in /usr/src/sbin/slattach/slattach.c line 60
- in /usr/src/ucb/Mail/send.c line 358
- in /usr/src/ucb/PORT/pascal/pdx/library.c line 160
- in /usr/src/ucb/PORT/pascal/pdx/process/ptrace.c line 96
- in /usr/src/ucb/PORT/pascal/src/main.c line 103
- in /usr/src/ucb/PORT/pascal/utilities/pc.c line 483
- in /usr/src/ucb/PORT/pascal/utilities/pix.c line 67
- in /usr/src/ucb/PORT/pascal/utilities/px_header.c line 75
- in /usr/src/ucb/apply.c line 127
- in /usr/src/ucb/ex/ex_io.c line 224
- in /usr/src/ucb/ex/ex_subr.c line 868
- in /usr/src/ucb/ex/ex_unix.c line 155, 252, 307
- in /usr/src/ucb/ftp/cmds.c line 1226
- in /usr/src/ucb/leave.c line 138
- in /usr/src/ucb/more/more.c line 1341
- in /usr/src/ucb/pascal/pi/main.c line 88
- in /usr/src/ucb/pascal/pi/pix.c line 47
- in /usr/src/ucb/pascal/pi/px_header.c line 41
- in /usr/src/ucb/rdist/server.c line 1302
- in /usr/src/ucb/rlogin.c line 195
- in /usr/src/ucb/rsh.c line 162
- in /usr/src/ucb/sccs.c line 680, 1289
- in /usr/src/ucb/script.c line 84, 90
- in /usr/src/ucb/sendbug/bugfiler.c line 127
- in /usr/src/usr.bin/at/at.c line 317
- in /usr/src/usr.bin/at/atrun.c line 165, 246
- in /usr/src/usr.bin/bc.y line 595
- in /usr/src/usr.bin/crypt.c line 35
- in /usr/src/usr.bin/dc/dc.c line 1574
- in /usr/src/usr.bin/f77/driver.c line 533, 618
- in /usr/src/usr.bin/learn/getlesson.c line 40
- in /usr/src/usr.bin/learn/makpipe.c line 12
- in /usr/src/usr.bin/learn/maktee.c line 21
- in /usr/src/usr.bin/learn/mysys.c line 112, 152
- in /usr/src/usr.bin/learn/wrapup.c line 19-22(2)
- in /usr/src/usr.bin/ptx.c line 234
- in /usr/src/usr.bin/refer/addbib.c line 211
- in /usr/src/usr.bin/refer/glue3.c line 23
- in /usr/src/usr.bin/refer/inv1.c line 86
- in /usr/src/usr.bin/refer/refer3.c line 20
- in /usr/src/usr.bin/refer/what3.c line 23, 34
- in /usr/src/usr.bin/roff/common_source/n2.c line 315
- in /usr/src/usr.bin/tc.c line 305
- in /usr/src/usr.bin/tip/aculib/dn11.c line 45
- in /usr/src/usr.bin/tip/aculib/v831.c line 51
- in /usr/src/usr.bin/tip/cmds.c line 172, 442, 495, 536
- in /usr/src/usr.bin/tip/tip.c line 194
- in /usr/src/usr.bin/tk.c line 202
- in /usr/src/usr.bin/uucp/aculib/df2.c line 70
- in /usr/src/usr.bin/uucp/aculib/dn.c line 70
- in /usr/src/usr.bin/uucp/aculib/rvmacs.c line 89
- in /usr/src/usr.bin/uucp/aculib/va820.c line 100
- in /usr/src/usr.bin/uucp/aculib/vmacs.c line 42
- in /usr/src/usr.bin/uucp/cntrl.c line 450
- in /usr/src/usr.bin/uucp/condevs.c line 531
- in /usr/src/usr.bin/uucp/mailst.c line 62
- in /usr/src/usr.bin/uucp/uucpd.c line 67, 77, 108, 136
- in /usr/src/usr.bin/uucp/uusend.c line 343
- in /usr/src/usr.bin/uucp/uuxqt.c line 691
- in /usr/src/usr.lib/libU77/chmod_.c line 39
- in /usr/src/usr.lib/libU77/fork_.c line 31
- in /usr/src/usr.lib/libU77/system_.c line 66
- in /usr/src/usr.sbin/cron/cron.c line 77
- in /usr/src/usr.sbin/cron/crontab.c line 371
- in /usr/src/usr.sbin/cron/do_command.c line 45, 236
- in /usr/src/usr.sbin/inetd/inetd.c line 382
- in /usr/src/usr.sbin/lpr/lpd.c line 83, 205, 381
- in /usr/src/usr.sbin/lpr/printjob.c line 970
- in /usr/src/usr.sbin/named/named/ns_main.c line 222, 1056
- in /usr/src/usr.sbin/named/named/ns_req.c line 1273
- in /usr/src/usr.sbin/ntp/ntpd.c line 253
- in /usr/src/usr.sbin/rwhod/rwhod.c line 90
- in /usr/src/usr.sbin/sendmail.MX/aux/bbn_daemon.c line 110
- in /usr/src/usr.sbin/sendmail.MX/aux/mail-dm.c line 202, 332
- in /usr/src/usr.sbin/sendmail.MX/aux/mconnect.c line 110
- in /usr/src/usr.sbin/sendmail.MX/src/daemon.c line 190
- in /usr/src/usr.sbin/sendmail.MX/src/deliver.c line 1404, 1418
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 614
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 313, 585
- in /usr/src/usr.sbin/sendmail/aux/4.1a_daemon.c line 86
- in /usr/src/usr.sbin/sendmail/aux/bbn_daemon.c line 110
- in /usr/src/usr.sbin/sendmail/aux/mail-dm.c line 202, 332
- in /usr/src/usr.sbin/sendmail/aux/mconnect.c line 117
- in /usr/src/usr.sbin/sendmail/src/daemon.c line 190
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1355, 1369
- in /usr/src/usr.sbin/sendmail/src/main.c line 618
- in /usr/src/usr.sbin/sendmail/src/queue.c line 302, 572
- in /usr/src/usr.sbin/syslogd/syslogd.c line 686
- in /usr/src/usr.sbin/timed/timed.c line 152
- in /usr/src/usr.sbin/vipw/vipw.c line 108

_sccsid defined in line 8; never used

Last modified: 1995-05-11 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 642 |