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 4 development
[unix-history]
/
bill
/
get.c
Commit
Line
Data
a4b3f291
BJ
1
main(argc, argv)
2
char **argv;
3
{
4
char buf[1024];
5
close(0);
6
open("/dev/rp2h", 0);
7
lseek(0, 512*atoi(argv[1]), 0);
8
read(0, buf, 1024);
9
write(1, buf,1024);
10
}