# 2.11BSD#431 - /usr/src/lib/libc/pdp/gen/strcat.s

##### Functions

    _strcat           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 LIBC_SCCS
       8:         <@(#)strcat.s	1.1 (Berkeley) 1/20/87\0>
       9:         .even
      10: #endif LIBC_SCCS
      11:
      12: /*
      13:  * Concatenate string s2 to the end of s1
      14:  * and return the base of s1.
      15:  *
      16:  * char *
      17:  * strcat(s1, s2)
      18:  *	char *s1, *s2;
      19:  */
      20: #include "DEFS.h"
      21:
      22: ENTRY(strcat)
      23:         mov     2(sp),r0        / r0 = s1
      24: 1:
      25:         tstb    (r0)+           / find end of string
      26:         bne     1b
      27:         dec     r0              / back up to '\0'
      28:         mov     4(sp),r1        / r1 = s2
      29: 2:
      30:         movb    (r1)+,(r0)+     / copy s2 to end of s1
      31:         bne     2b
      32:         mov     2(sp),r0        / and return s1
      33:         rts     pc

#### Defined functions

_strcat defined in line 22; used 680 times

- in /usr/include/string.h line 15
- in /usr/ingres/source/equel/runtime/IIingres.c line 105-106(2)
- in /usr/src/bin/adb/print.c line 111-112(2)
- in /usr/src/bin/awk/run.c line 823-828(3)
- in /usr/src/bin/cc.c line 435
- in /usr/src/bin/csh/sh.c line 558
- in /usr/src/bin/csh/sh.file.c line 244
- in /usr/src/bin/csh/sh.glob.c line 268
- in /usr/src/bin/csh/sh.h line 436
- in /usr/src/bin/csh/sh.lex.c line 437, 728, 740
- in /usr/src/bin/csh/sh.set.c line 552-555(2)
- in /usr/src/bin/diff/diffdir.c line 47-48(2)
- in /usr/src/bin/ld/ld.c line 2021
- in /usr/src/bin/ls/stat_flags.c line 50-51(2)
- in /usr/src/bin/ps.c line 958-960(3)
- in /usr/src/bin/rmail.c line 89-90(2), 96-106(4)
- in /usr/src/bin/su.c line 162
- in /usr/src/bin/tar.c line 111
- in /usr/src/bin/tcsh/sh.h line 709
- in /usr/src/bin/tcsh/tc.os.c line 126-127(2)
- in /usr/src/bin/wall.c line 38
- in /usr/src/bin/write.c line 80, 112
- in /usr/src/games/atc/log.c line 66
- in /usr/src/games/atc/main.c line 203, 216, 229, 239, 262
- in /usr/src/games/backgammon/move.c line 453-463(3), 470, 478-518(9)
- in /usr/src/games/banner.c line 1040-1041(2)
- in /usr/src/games/battlestar/save.c line 24, 79
- in /usr/src/games/cribbage/score.c line 98, 105-114(3), 121, 129-132(2), 139-142(2)
- in /usr/src/games/fortune/strfile.c line 74, 274
- in /usr/src/games/fortune/unstr.c line 29, 94
- in /usr/src/games/hack/hack.do_name.c line 218-219(2)
- in /usr/src/games/hack/hack.engrave.c line 246
- in /usr/src/games/hack/hack.options.c line 182-193(8)
- in /usr/src/games/hack/hack.pri.c line 610, 620
- in /usr/src/games/hack/hack.topl.c line 138-139(2), 166
- in /usr/src/games/phantasia/phant_run.c line 12-14(2)
- in /usr/src/games/rogue/inventory.c line 400, 444, 461-467(5), 478-479(2), 491, 501-503(3), 511-512(2), 520-531(6), 537-539(2), 545, 560-566(4)
- in /usr/src/games/rogue/rogue.h line 398
- in /usr/src/games/rogue/save.c line 71
- in /usr/src/games/rogue/score.c line 59-65(4), 306-318(5), 325-335(5)
- in /usr/src/games/rogue/throw.c line 112-116(2)
- in /usr/src/games/sail/dr_2.c line 207, 218, 228
- in /usr/src/games/sail/dr_3.c line 56
- in /usr/src/games/sail/externs.h line 280
- in /usr/src/games/warp/intrp.c line 132, 182, 232, 630-631(2)
- in /usr/src/games/warp/warp.h line 327
- in /usr/src/include/strings.h line 21
- in /usr/src/lib/c2/c21.c line 161
- in /usr/src/lib/cpp/cpp.c line 602-609(3)
- in /usr/src/lib/libc/gen/ctime.c line 58, 125-126(2)
- in /usr/src/lib/libc/gen/ndbm.c line 42-47(2)
- in /usr/src/lib/libc/gen/syslog.c line 193
- in /usr/src/lib/libc/gen/ttyname.c line 18, 41
- in /usr/src/lib/libc/net/rcmd.c line 252
- in /usr/src/lib/libc/net/ruserpass.c line 271-272(2), 290
- in /usr/src/libexec/getty/subr.c line 276
- in /usr/src/libexec/identd/src/parse.c line 149
- in /usr/src/libexec/popper/pop_msg.c line 70
- in /usr/src/libexec/tcpd/options.c line 233
- in /usr/src/local/afio/afio.c line 303, 2328(2)
- in /usr/src/local/mkovmake/mkovmake.c line 467-469(2)
- in /usr/src/local/mtools/dir_read.c line 132, 148-149(2)
- in /usr/src/local/mtools/init.c line 247, 287-291(3)
- in /usr/src/local/mtools/mcd.c line 29, 66-67(2)
- in /usr/src/local/mtools/mcopy.c line 141-148(4)
- in /usr/src/local/mtools/mdir.c line 35, 135-136(2)
- in /usr/src/local/mtools/mkmanifest.c line 50, 92-93(2)
- in /usr/src/local/mtools/mread.c line 48, 169-170(2)
- in /usr/src/local/mtools/mwrite.c line 44, 104-105(2)
- in /usr/src/local/mtools/parse.c line 50, 93-95(2)
- in /usr/src/local/qterm/options.c line 76, 460
- in /usr/src/local/qterm/qterm.c line 332, 624-630(3)
- in /usr/src/new/OLD/apl/src/aplcvt.c line 135
- in /usr/src/new/PORT/B/src/bed/getc.c line 305
- in /usr/src/new/PORT/B/src/bint/b1obj.h line 60
- in /usr/src/new/PORT/B/src/bint/b1tex.c line 532
- in /usr/src/new/PORT/B/src/bsmall/B1tex.c line 42
- in /usr/src/new/PORT/B/src/bsmall/b1obj.h line 57
- in /usr/src/new/PORT/apl/src/aplcvt.c line 135
- in /usr/src/new/PORT/perl.1.0.0/dump.c line 31-45(8), 126-136(6)
- in /usr/src/new/PORT/perl.1.0.10/dump.c line 31-45(8), 126-136(6)
- in /usr/src/new/PORT/perl.1.0.16/dump.c line 31-45(8), 126-136(6)
- in /usr/src/new/jove/extend.c line 1043
- in /usr/src/new/jove/io.c line 515-516(2), 611, 1429, 1490, 1497
- in /usr/src/new/jove/iproc-pipes.c line 190
- in /usr/src/new/jove/iproc-ptys.c line 231
- in /usr/src/new/jove/mac.c line 121, 240, 645, 689, 757-758(2), 912, 1725-1726(2), 1897
- in /usr/src/new/jove/scandir.c line 156-158(2)
- in /usr/src/new/kermit5.188/ckucmd.c line 809, 907
- in /usr/src/new/kermit5.188/ckufio.c line 667, 2809
- in /usr/src/new/kermit5.188/ckuscr.c line 218, 327
- in /usr/src/new/kermit5.188/ckuus5.c line 484-486(2), 1222
- in /usr/src/new/kermit5.188/ckuus6.c line 1237, 1828
- in /usr/src/new/kermit5.188/ckuus7.c line 1957-1958(2)
- in /usr/src/new/kermit5.188/ckuusr.c line 959, 1650-1651(2)
- in /usr/src/new/l11/obint.c line 273-289(9), 412-414(2), 432-442(6)
- in /usr/src/new/l11/sup.c line 6, 127
- in /usr/src/new/m11/macxrf.c line 314
- in /usr/src/new/nntp/inews/inews.c line 167-168(2)
- in /usr/src/new/nntp/server/active.c line 156
- in /usr/src/new/nntp/server/fakesyslog.c line 61, 71
- in /usr/src/new/nntp/server/group.c line 75-76(2)
- in /usr/src/new/nntp/server/misc.c line 221-222(2)
- in /usr/src/new/nntp/server/newgroups.c line 54
- in /usr/src/new/nntp/server/newnews.c line 82, 402-403(2)
- in /usr/src/new/nntp/server/spawn.c line 193-194(2)
- in /usr/src/new/nntp/support/mkgrdates.c line 51, 170-172(2)
- in /usr/src/new/nntp/xfer/nntpxfer.c line 48, 106, 378, 462
- in /usr/src/new/nntp/xmit/shlock.c line 52, 241
- in /usr/src/new/notes/src/bnewshead.c line 322, 569
- in /usr/src/new/notes/src/dump.c line 213-219(4)
- in /usr/src/new/notes/src/newsdump.c line 63-64(2), 305-311(4)
- in /usr/src/new/notes/src/newsinput.c line 190
- in /usr/src/new/notes/src/nfrcv.c line 85
- in /usr/src/new/notes/src/parsepath.c line 216
- in /usr/src/new/notes/src/readem.c line 360
- in /usr/src/new/notes/src/startup.c line 186-187(2), 197-198(2)
- in /usr/src/new/rcs/src/ci.c line 550, 607, 663-665(2), 675, 693
- in /usr/src/new/rcs/src/rcsbase.h line 320
- in /usr/src/new/rcs/src/rcsfnms.c line 467-469(3)
- in /usr/src/new/rcs/src/rcskeep.c line 243
- in /usr/src/new/rcs/src/sccstorcs.c line 151, 273-277(4)
- in /usr/src/new/rn/common.h line 699
- in /usr/src/new/rn/intrp.c line 196, 981-982(2)
- in /usr/src/new/rn/rcln.c line 168
- in /usr/src/new/rn/term.c line 364
- in /usr/src/old/512dumpdir.c line 245
- in /usr/src/old/dump/dumpdir.c line 157
- in /usr/src/old/dump/dumpmain.c line 237-238(2)
- in /usr/src/old/dump/dumpoptr.c line 183
- in /usr/src/sbin/dump/dumpdir.c line 177
- in /usr/src/sbin/dump/dumpmain.c line 393-394(2)
- in /usr/src/sbin/dump/dumpoptr.c line 187
- in /usr/src/sbin/fsck/main.c line 351-352(2)
- in /usr/src/sbin/fsck/setup.c line 122
- in /usr/src/sbin/init/init.c line 62
- in /usr/src/sbin/quotacheck/preen.c line 337-338(2)
- in /usr/src/sbin/savecore/savecore.c line 253-254(2)
- in /usr/src/sbin/shutdown/shutdown.c line 159-160(2)
- in /usr/src/sys/pdpstand/boot.c line 160-166(7), 190-195(2)
- in /usr/src/ucb/Mail/aux.c line 557
- in /usr/src/ucb/Mail/lex.c line 593
- in /usr/src/ucb/Mail/quit.c line 419
- in /usr/src/ucb/Mail/temp.c line 57-65(5)
- in /usr/src/ucb/compress/compress.c line 560, 632
- in /usr/src/ucb/ctags.c line 310
- in /usr/src/ucb/error/errorfilter.c line 54
- in /usr/src/ucb/ex/ex.c line 311
- in /usr/src/ucb/ex/ex.h line 344
- in /usr/src/ucb/ex/ex_cmdsub.c line 394, 637
- in /usr/src/ucb/ex/ex_temp.c line 63
- in /usr/src/ucb/ex/ex_vget.c line 307, 503
- in /usr/src/ucb/ex/ex_vops.c line 453
- in /usr/src/ucb/ex/exrecover.c line 451(2)
- in /usr/src/ucb/ftp/cmds.c line 76, 308, 322, 367, 514, 528, 657, 968, 1024, 1050, 1095, 1109, 1165, 1173, 1238, 1281, 1346, 1373, 1402, 1416-1417(2), 1437, 1450-1453(3), 1469, 1663, 1796, 2050, 2113, 2137
- in /usr/src/ucb/ftp/domacro.c line 43
- in /usr/src/ucb/ftp/ftp_var.h line 113
- in /usr/src/ucb/ftp/glob.c line 51, 284, 622
- in /usr/src/ucb/last.c line 232
- in /usr/src/ucb/logger.c line 106-107(2)
- in /usr/src/ucb/rdist/expand.c line 175, 291-292(2), 352
- in /usr/src/ucb/rdist/main.c line 71
- in /usr/src/ucb/rlogin.c line 132-133(2)
- in /usr/src/ucb/sccs.c line 231, 1530
- in /usr/src/ucb/sendbug/bugfiler.c line 701
- in /usr/src/ucb/sendbug/unixtomh.c line 188-189(2), 195-196(2)
- in /usr/src/ucb/vacation.c line 128, 142, 382-386(2)
- in /usr/src/ucb/w.c line 223-225(3), 241, 461-463(3)
- in /usr/src/ucb/xstr.c line 37
- in /usr/src/usr.bin/learn/getlesson.c line 29
- in /usr/src/usr.bin/learn/mysys.c line 102
- in /usr/src/usr.bin/patch/common.h line 150
- in /usr/src/usr.bin/refer/glue1.c line 236-237(2)
- in /usr/src/usr.bin/refer/glue4.c line 18, 81
- in /usr/src/usr.bin/refer/hunt1.c line 116-119(4), 195-196(2)
- in /usr/src/usr.bin/refer/hunt8.c line 63, 74
- in /usr/src/usr.bin/refer/inv1.c line 75-78(4)
- in /usr/src/usr.bin/refer/kaiser.c line 81-83(2)
- in /usr/src/usr.bin/refer/mkey2.c line 90
- in /usr/src/usr.bin/refer/refer..c line 48
- in /usr/src/usr.bin/refer/refer2.c line 25, 36, 102-103(2)
- in /usr/src/usr.bin/refer/refer4.c line 46
- in /usr/src/usr.bin/refer/refer5.c line 88, 133, 141
- in /usr/src/usr.bin/refer/refer7.c line 149-155(3)
- in /usr/src/usr.bin/refer/sortbib.c line 168, 184-200(7), 208-217(3)
- in /usr/src/usr.bin/roff/common_source/n1.c line 204
- in /usr/src/usr.bin/spell/spell.c line 8, 459-461(2)
- in /usr/src/usr.bin/tip/aculib/biz22.c line 48-49(2)
- in /usr/src/usr.bin/tip/aculib/v3451.c line 54
- in /usr/src/usr.bin/tip/remcap.c line 90
- in /usr/src/usr.bin/tip/value.c line 40
- in /usr/src/usr.bin/uucp/aculib/mic.c line 97
- in /usr/src/usr.bin/uucp/cico.c line 149
- in /usr/src/usr.bin/uucp/cntrl.c line 184-185(2), 469-470(2), 569-570(2), 618-619(2), 898
- in /usr/src/usr.bin/uucp/conn.c line 334
- in /usr/src/usr.bin/uucp/cpmv.c line 31-32(2)
- in /usr/src/usr.bin/uucp/expfile.c line 38, 44-45(2)
- in /usr/src/usr.bin/uucp/subdir.c line 65, 76-78(3)
- in /usr/src/usr.bin/uucp/uuclean.c line 186-192(6)
- in /usr/src/usr.bin/uucp/uucp.c line 78, 316
- in /usr/src/usr.bin/uucp/uudecode.c line 73-74(2)
- in /usr/src/usr.bin/uucp/uusend.c line 44, 150, 211-218(4), 224-225(2), 241-242(2), 259-268(4)
- in /usr/src/usr.bin/uucp/uux.c line 138-139(2)
- in /usr/src/usr.lib/libtermlib/tgoto.c line 141
- in /usr/src/usr.sbin/lpr/displayq.c line 132
- in /usr/src/usr.sbin/lpr/lpr.c line 411-412(2)
- in /usr/src/usr.sbin/lpr/pac.c line 406
- in /usr/src/usr.sbin/lpr/printjob.c line 1284
- in /usr/src/usr.sbin/lpr/rmjob.c line 267
- in /usr/src/usr.sbin/named/named/db_load.c line 196-197(2), 394-395(2)
- in /usr/src/usr.sbin/named/named/ns_req.c line 202-203(2)
- in /usr/src/usr.sbin/named/tools/nslookup/list.c line 593
- in /usr/src/usr.sbin/named/tools/nslookup/main.c line 1099
- in /usr/src/usr.sbin/ntp/ntpd.c line 1209
- in /usr/src/usr.sbin/sendmail.MX/aux/arpa.c line 255
- in /usr/src/usr.sbin/sendmail.MX/aux/newaliases.c line 71-73(2)
- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 242, 360, 368
- in /usr/src/usr.sbin/sendmail.MX/src/daemon.c line 221-222(2)
- in /usr/src/usr.sbin/sendmail.MX/src/deliver.c line 325-326(2), 439-440(2), 1031-1032(2), 1480-1482(2)
- in /usr/src/usr.sbin/sendmail.MX/src/err.c line 336-342(4)
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 498, 671, 677
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 449, 883-884(2), 912
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 547-548(2)
- in /usr/src/usr.sbin/sendmail/aux/arpa.c line 255
- in /usr/src/usr.sbin/sendmail/aux/newaliases.c line 71-73(2)
- in /usr/src/usr.sbin/sendmail/aux/rmail.c line 104-105(2), 111-121(4)
- in /usr/src/usr.sbin/sendmail/src/alias.c line 239, 360, 368
- in /usr/src/usr.sbin/sendmail/src/daemon.c line 221-222(2)
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 305-306(2), 384-385(2), 973-974(2), 1431-1433(2)
- in /usr/src/usr.sbin/sendmail/src/err.c line 327-333(4)
- in /usr/src/usr.sbin/sendmail/src/headers.c line 493, 666, 672
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 443, 879-880(2), 908
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 556-557(2)

Last modified: 1987-01-25 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1410 |