1: / C library -- open
2:
3: / file = open(string, mode)
4: /
5: / file == -1 means error
6:
7: .globl _open, cerror
8:
9: _open:
10: mov r5,-(sp)
11: mov sp,r5
12: mov 4(r5),0f
13: mov 6(r5),0f+2
14: sys 0; 9f
15: bec 1f
16: jmp cerror
17: 1:
18: mov (sp)+,r5
19: rts pc
20: .data
21: 9:
22: sys open; 0:..; ..
Defined functions
_open
declared in line
7; defined in line
9; used 63 times
- in line 7
- in /usr/source/c/c00.c line
68
- in /usr/source/c/c20.c line
84
- in /usr/source/c/cvopt.c line
46
- in /usr/source/cref/index/ind0.c line
171,
205
- in /usr/source/cref/src/crpost.c line
51
- in /usr/source/cref/src/dr.c line
202,
217
- in /usr/source/cref/src/upost.c line
29
- in /usr/source/cref/tab/mtab.c line
36
- in /usr/source/iolib/copen.c line
9-12(2)
- in /usr/source/m6/m61.c line
20
- in /usr/source/s1/bc.y line
433,
518
- in /usr/source/s1/cc.c line
120
- in /usr/source/s1/cdb1.c line
138-139(2)
- in /usr/source/s1/cp.c line
17
- in /usr/source/s1/cron.c line
114
- in /usr/source/s1/date.c line
43
- in /usr/source/s1/dcheck.c line
75
- in /usr/source/s1/dd.c line
189
- in /usr/source/s1/df.c line
47
- in /usr/source/s1/diff1.c line
399-400(2)
- in /usr/source/s1/dump.c line
147,
159,
236
- in /usr/source/s1/ed.c line
232,
766
- in /usr/source/s1/file.c line
59
- in /usr/source/s1/find.c line
298,
367
- in /usr/source/s1/glob.c line
77,
83
- in /usr/source/s1/grep.c line
155
- in /usr/source/s1/icheck.c line
77
- in /usr/source/s1/if.c line
97
- in /usr/source/s1/init.c line
50,
58,
84,
101,
188,
202,
211
- in /usr/source/s1/ld.c line
654,
784
- in /usr/source/s1/login.c line
110,
118-123(2),
152
- in /usr/source/s1/lpr.c line
74
- in /usr/source/s1/ls.c line
153
- in /usr/source/s4/getpw.c line
11
- in /usr/source/s7/ne4.c line
137
- in /usr/source/s7/nelex.c line
81
- in /usr/source/sno/sno1.c line
34
- in /usr/source/yacc/source/y5.c line
12-16(2)
- in /usr/sys/conf/sysfix.c line
29-33(2)