tty.h (12675) | tty.h (12819) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)tty.h 8.6 (Berkeley) 1/21/94 | 1/*- 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)tty.h 8.6 (Berkeley) 1/21/94 |
39 * $Id: tty.h,v 1.31 1995/07/31 22:50:08 bde Exp $ | 39 * $Id: tty.h,v 1.32 1995/12/08 11:19:32 julian Exp $ |
40 */ 41 42#ifndef _SYS_TTY_H_ 43#define _SYS_TTY_H_ 44 45#include <sys/termios.h> 46#include <sys/select.h> /* For struct selinfo. */ 47 --- 182 unchanged lines hidden (view full) --- 230 231int ttcompat __P((struct tty *tp, int com, caddr_t data, int flag)); 232int ttsetcompat __P((struct tty *tp, int *com, caddr_t data, struct termios *term)); 233 234void termioschars __P((struct termios *t)); 235int tputchar __P((int c, struct tty *tp)); 236int ttioctl __P((struct tty *tp, int com, void *data, int flag)); 237int ttread __P((struct tty *tp, struct uio *uio, int flag)); | 40 */ 41 42#ifndef _SYS_TTY_H_ 43#define _SYS_TTY_H_ 44 45#include <sys/termios.h> 46#include <sys/select.h> /* For struct selinfo. */ 47 --- 182 unchanged lines hidden (view full) --- 230 231int ttcompat __P((struct tty *tp, int com, caddr_t data, int flag)); 232int ttsetcompat __P((struct tty *tp, int *com, caddr_t data, struct termios *term)); 233 234void termioschars __P((struct termios *t)); 235int tputchar __P((int c, struct tty *tp)); 236int ttioctl __P((struct tty *tp, int com, void *data, int flag)); 237int ttread __P((struct tty *tp, struct uio *uio, int flag)); |
238void ttrstrt __P((void *tp)); | |
239int ttyselect __P((struct tty *tp, int rw, struct proc *p)); 240int ttselect __P((dev_t dev, int rw, struct proc *p)); 241void ttsetwater __P((struct tty *tp)); 242int ttspeedtab __P((int speed, struct speedtab *table)); 243int ttstart __P((struct tty *tp)); 244void ttwakeup __P((struct tty *tp)); 245int ttwrite __P((struct tty *tp, struct uio *uio, int flag)); 246void ttwwakeup __P((struct tty *tp)); --- 5 unchanged lines hidden (view full) --- 252void ttyinfo __P((struct tty *tp)); 253int ttyinput __P((int c, struct tty *tp)); 254int ttylclose __P((struct tty *tp, int flag)); 255int ttymodem __P((struct tty *tp, int flag)); 256int ttyopen __P((dev_t device, struct tty *tp)); 257int ttysleep __P((struct tty *tp, 258 void *chan, int pri, char *wmesg, int timeout)); 259int ttywait __P((struct tty *tp)); | 238int ttyselect __P((struct tty *tp, int rw, struct proc *p)); 239int ttselect __P((dev_t dev, int rw, struct proc *p)); 240void ttsetwater __P((struct tty *tp)); 241int ttspeedtab __P((int speed, struct speedtab *table)); 242int ttstart __P((struct tty *tp)); 243void ttwakeup __P((struct tty *tp)); 244int ttwrite __P((struct tty *tp, struct uio *uio, int flag)); 245void ttwwakeup __P((struct tty *tp)); --- 5 unchanged lines hidden (view full) --- 251void ttyinfo __P((struct tty *tp)); 252int ttyinput __P((int c, struct tty *tp)); 253int ttylclose __P((struct tty *tp, int flag)); 254int ttymodem __P((struct tty *tp, int flag)); 255int ttyopen __P((dev_t device, struct tty *tp)); 256int ttysleep __P((struct tty *tp, 257 void *chan, int pri, char *wmesg, int timeout)); 258int ttywait __P((struct tty *tp)); |
260int ttywflush __P((struct tty *tp)); | |
261struct tty *ttymalloc __P((void)); 262void ttyfree __P((struct tty *)); 263 264#endif /* KERNEL */ 265 266#endif /* !_SYS_TTY_H_ */ | 259struct tty *ttymalloc __P((void)); 260void ttyfree __P((struct tty *)); 261 262#endif /* KERNEL */ 263 264#endif /* !_SYS_TTY_H_ */ |