projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
date and time created 80/12/21 16:40:21 by wnj
[unix-history]
/
usr
/
src
/
lib
/
libcompat
/
4.1
/
stty.c
/* @(#)stty.c 4.1 (Berkeley) %G% */
/*
* Writearound to old stty and gtty system calls
*/
#include <sgtty.h>
stty
(
fd
,
ap
)
struct
sgtty
*
ap
;
{
return
(
ioctl
(
fd
,
TIOCSETP
,
ap
));
}
gtty
(
fd
,
ap
)
struct
sgtty
*
ap
;
{
return
(
ioctl
(
fd
,
TIOCGETP
,
ap
));
}