projects
/
unix-history
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
BSD 3 development
[unix-history]
/
usr
/
src
/
libc
/
sys
/
open.s
Commit
Line
Data
18e5fa7e
BJ
1
# C library -- open
2
3
# file = open(string, mode)
4
#
5
# file == -1 means error
6
7
.set open,5
8
.globl _open
9
.globl cerror
10
11
_open:
12
.word 0x0000
13
chmk $open
14
bcc noerror
15
jmp cerror
16
noerror:
17
ret