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: #if defined(LIBC_SCCS) && !defined(lint)
8: static char sccsid[] = "@(#)stty.c 5.2 (Berkeley) 3/9/86";
9: #endif LIBC_SCCS and not lint
10:
11: /*
12: * Writearound to old stty system call.
13: */
14:
15: #include <sgtty.h>
16:
17: stty(fd, ap)
18: struct sgtty *ap;
19: {
20:
21: return(ioctl(fd, TIOCSETP, ap));
22: }
Defined functions
stty
defined in line
17; used 125 times
- in /usr/include/curses.h line
145-156(9)
- in /usr/src/bin/adb/runpcs.c line
55,
118,
240
- in /usr/src/games/backgammon/subs.c line
388
- in /usr/src/games/boggle/boggle.c line
132,
139,
166,
195-198(2),
642,
648
- in /usr/src/games/hack/hack.tty.c line
25
- in /usr/src/games/hunt/hunt.c line
652
- in /usr/src/games/rain.c line
108,
172
- in /usr/src/games/snake/move.c line
492,
500
- in /usr/src/games/snake/snake.c line
552
- in /usr/src/games/warp/term.h line
202-211(9)
- in /usr/src/games/wump.c line
397
- in /usr/src/include/curses.h line
145-156(9)
- in /usr/src/new/OLD/apl/src/am.c line
79,
93
- in /usr/src/new/PORT/apl/src/am.c line
79,
93
- in /usr/src/new/jove/iproc-ptys.c line
370
- in /usr/src/new/jove/jove.c line
647
- in /usr/src/new/kermit5.188/ckutio.c line
961,
1552,
2167,
2873,
3032,
3199,
4757,
4763,
5207,
5360,
5397
- in /usr/src/new/notes/src/miscio.c line
115,
143
- in /usr/src/new/rn/term.h line
88,
99-108(9)
- in /usr/src/ucb/Mail/tty.c line
100,
108,
115,
123,
136
- in /usr/src/ucb/ex/ex_put.c line
1126
- in /usr/src/ucb/msgs/msgs.c line
610
- in /usr/src/usr.bin/roff/common_source/n2.c line
200,
282
- in /usr/src/usr.bin/roff/common_source/n5.c line
605,
633
- in /usr/src/usr.bin/roff/nroff/n10.c line
85
- in /usr/src/usr.bin/uucp/aculib/att2224.c line
145-147(2)
- in /usr/src/usr.bin/uucp/aculib/df12.c line
143-145(2)
- in /usr/src/usr.bin/uucp/aculib/hys.c line
166-168(2),
176
- in /usr/src/usr.bin/uucp/aculib/hysq.c line
135-137(2)
- in /usr/src/usr.bin/uucp/aculib/nov.c line
98-100(2)
- in /usr/src/usr.lib/libcurses/cr_tty.c line
55,
62
- in /usr/src/usr.lib/libcurses/curses.h line
145-156(9)
- in /usr/src/usr.lib/libcurses/tstp.c line
53
- in /usr/src/usr.lib/libplot/aed/close.c line
28
- in /usr/src/usr.lib/libplot/aed/open.c line
59
- in /usr/src/usr.lib/libplot/hp2648/close.c line
18
- in /usr/src/usr.lib/libplot/hp2648/open.c line
32
- in /usr/src/usr.lib/libplot/hp2648/subr.c line
32
- in /usr/src/usr.lib/libplot/t300/subr.c line
29,
38
- in /usr/src/usr.lib/libplot/t300s/subr.c line
29,
41
- in /usr/src/usr.lib/libplot/t450/open.c line
44
- in /usr/src/usr.lib/libplot/t450/subr.c line
57
- in /usr/src/usr.sbin/sendmail.MX/aux/mconnect.c line
76,
138
- in /usr/src/usr.sbin/sendmail/aux/mconnect.c line
82,
153
Defined variables
sccsid
defined in line
8;
never used