1: / C library -- dup
2:
3: / f = dup(of)
4: / f == -1 for error
5:
6: dup = 41.
7:
8: .globl _dup, cerror
9:
10: _dup:
11: mov r5,-(sp)
12: mov sp,r5
13: mov 4(r5),r0
14: sys dup
15: bec 1f
16: jmp cerror
17: 1:
18: mov (sp)+,r5
19: rts pc
Defined functions
_dup
declared in line
8; defined in line
10; used 44 times
- in line 8
- in /usr/source/c/c20.c line
89,
97
- in /usr/source/m6/m61.c line
24
- in /usr/source/s1/bc.y line
429,
517,
555,
563
- in /usr/source/s1/cmp.c line
32
- in /usr/source/s1/col.c line
12-13(2)
- in /usr/source/s1/comm.c line
58
- in /usr/source/s1/dd.c line
191,
199
- in /usr/source/s1/diff1.c line
398
- in /usr/source/s1/goto.c line
15
- in /usr/source/s1/grep.c line
37
- in /usr/source/s1/gsi.c line
20-21(2)
- in /usr/source/s1/init.c line
51-52(2),
85,
189
- in /usr/source/s1/ls.c line
88
- in /usr/source/s2/ncheck.c line
48
- in /usr/source/s2/nm.c line
81
- in /usr/source/s2/od.c line
24
- in /usr/source/s2/pr.c line
57
- in /usr/source/s2/ptx.c line
80
- in /usr/source/s2/sa.c line
127
- in /usr/source/s2/sh.c line
95,
651-656(2),
662
- in /usr/source/s2/sort.c line
254
- in /usr/source/s2/tr.c line
76
- in /usr/source/s2/uniq.c line
38,
47
- in /usr/source/s2/usort.c line
256
- in /usr/source/s2/wall.c line
64
- in /usr/source/s2/who.c line
30
- in /usr/source/s7/ne4.c line
136-140(2)
- in /usr/source/sno/sno1.c line
40
dup
defined in line
6; used 1 times