projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
sync up to hp300/hp300/trap.c 7.26
[unix-history]
/
usr
/
src
/
old
/
uudiff
/
printable.c
#ifndef lint
static char
sccsid
[] =
"@(#)printable.c 4.1 (Berkeley) %G%"
;
#endif
main
(
argc
,
argv
)
char
*
argv
[];
{
char
b
[
512
], *
p
;
int
f
,
c
;
f
=
open
(
argv
[
1
],
0
);
if
(
f
<
0
)
return
(
1
);
p
=
b
+
read
(
f
,
b
,
512
);
while
(
p
>
b
)
if
( (
c
= *--
p
) ==
0
|| (
c
&
0200
) )
return
(
1
);
return
(
0
);
}