projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Research V7 development
[unix-history]
/
usr
/
src
/
cmd
/
standalone
/
cat.c
main
()
{
int
c
,
i
;
char
buf
[
50
];
do
{
printf
(
"File: "
);
gets
(
buf
);
i
=
open
(
buf
,
0
);
}
while
(
i
<=
0
);
while
((
c
=
getc
(
i
)) >
0
)
putchar
(
c
);
exit
(
0
);
}