fix make clean and add make depend
[unix-history] / usr / src / lib / libcompat / 4.1 / stty.c
CommitLineData
bb0cfa24
DF
1/*
2 * Copyright (c) 1980 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 */
6
7#ifndef lint
8static char sccsid[] = "@(#)stty.c 5.1 (Berkeley) %G%";
9#endif not lint
49fa3d6f 10
d17b77ff 11/*
49fa3d6f 12 * Writearound to old stty system call.
d17b77ff
BJ
13 */
14
15#include <sgtty.h>
16
17stty(fd, ap)
49fa3d6f 18 struct sgtty *ap;
d17b77ff 19{
d17b77ff 20
49fa3d6f 21 return(ioctl(fd, TIOCSETP, ap));
d17b77ff 22}