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 140 times
- in /usr/include/curses.h line
145-156(9)
- in /usr/src/bin/ed.c line
1671,
1680
- in /usr/src/etc/rlogind.c line
142
- in /usr/src/games/backgammon/subs.c line
388
- in /usr/src/games/boggle/boggle.c line
135,
142,
169,
198-201(2),
645,
651
- in /usr/src/games/compat/unixtraps.c line
361
- in /usr/src/games/hunt/hunt.c line
652
- in /usr/src/games/rain.c line
108,
170
- in /usr/src/games/snake/move.c line
492,
500
- in /usr/src/games/snake/snake.c line
554
- in /usr/src/games/wump.c line
393
- in /usr/src/new/X/ximpv/impv.c line
162,
800
- in /usr/src/new/apl/src/am.c line
79,
93
- in /usr/src/new/jove/iproc-ptys.c line
368
- in /usr/src/new/jove/jove.c line
558
- in /usr/src/new/kermit/ckutio.c line
534,
674,
744,
1297-1300(2),
1502,
1536,
1572
- in /usr/src/new/nntp/rrn/term.h line
88,
99-108(9)
- in /usr/src/new/notes/src/miscio.c line
124,
162
- in /usr/src/new/rn/term.h line
88,
99-108(9)
- in /usr/src/new/umodem/umodem.c line
560,
660,
712,
743
- in /usr/src/old/berknet/mach.c line
505,
514
- in /usr/src/old/berknet/net.c line
384
- in /usr/src/old/berknet/setmode.c line
22
- in /usr/src/old/berknet/setup.c line
155,
166,
192
- in /usr/src/old/dnd.c line
325
- in /usr/src/old/sdb/main.c line
104
- in /usr/src/old/sdb/xeq.c line
39,
63,
79,
278-282(2)
- in /usr/src/ucb/Mail/tty.c line
66,
75,
84,
93,
106
- in /usr/src/ucb/ex/ex_put.c line
1144
- in /usr/src/ucb/ftp/getpass.c line
23,
45,
54
- in /usr/src/ucb/lisp/franz/lam1.c line
482
- in /usr/src/ucb/lock.c line
117
- in /usr/src/ucb/msgs/msgs.c line
610
- in /usr/src/ucb/tset/tset.c line
1465
- in /usr/src/usr.bin/nroff/n10.c line
85
- in /usr/src/usr.bin/tabs.c line
162,
183
- in /usr/src/usr.bin/troff/n2.c line
200,
282
- in /usr/src/usr.bin/troff/n5.c line
605,
633
- 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.bin/uucp/ioctl.c line
26-30(2)
- in /usr/src/usr.lib/libcurses/cr_tty.c line
55,
63
- in /usr/src/usr.lib/libcurses/curses.h line
145-156(9)
- in /usr/src/usr.lib/libcurses/tstp.c line
42
- 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.lib/sendmail/aux/mconnect.c line
82,
153
Defined variables
sccsid
defined in line
8;
never used