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
Research V2 release
[unix-history]
/
lib
/
seek.s
Commit
Line
Data
c90ff2b4
DR
1
/ C library -- seek
2
3
/ error = seek(file, offset, ptr);
4
5
.globl _seek
6
7
.data
8
_seek:
9
1f
10
.text
11
1:
12
mov 2(sp),r0
13
mov 4(sp),0f
14
mov 6(sp),0f+2
15
sys seek; 0:..; ..
16
bec 1f
17
mov $1,r0
18
rts r0
19
1:
20
clr r0
21
rts pc
22
23