projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Bell 32V development
[unix-history]
/
usr
/
src
/
cmd
/
line.c
main
()
{
char
*
ttyname
() ;
register
char
*
tty
, *
cp
;
cp
=
ttyname
(
0
) ;
cp
++ ;
while
(*
cp
++ !=
'/'
) ;
tty
=
cp
;
while
(*
cp
)
cp
++ ;
*++
cp
=
'
\n
'
;
*++
cp
=
'\0'
;
write
(
1
,
tty
,
10
) ;
}