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
Bell 32V development
[unix-history]
/
usr
/
src
/
libc
/
sys
/
write.s
Commit
Line
Data
bf8a1f81
TL
1
# C library -- write
2
3
# nwritten = write(file, buffer, count);
4
#
5
# nwritten == -1 means error
6
7
.set write,4
8
.globl _write
9
.globl cerror
10
11
_write:
12
.word 0x0000
13
chmk $write
14
bcc noerror
15
jmp cerror
16
noerror:
17
ret