tty.h (9623) | tty.h (9624) |
---|---|
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.19 1995/07/16 10:22:37 joerg Exp $ | 39 * $Id: tty.h,v 1.20 1995/07/21 17:47:08 bde 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 --- 150 unchanged lines hidden (view full) --- 198/* Is p in background of tp? */ 199#define isbackground(p, tp) \ 200 (isctty((p), (tp)) && (p)->p_pgrp != (tp)->t_pgrp) 201 202#ifdef KERNEL 203extern struct tty *constty; /* Temporary virtual console. */ 204extern struct ttychars ttydefaults; 205 | 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 --- 150 unchanged lines hidden (view full) --- 198/* Is p in background of tp? */ 199#define isbackground(p, tp) \ 200 (isctty((p), (tp)) && (p)->p_pgrp != (tp)->t_pgrp) 201 202#ifdef KERNEL 203extern struct tty *constty; /* Temporary virtual console. */ 204extern struct ttychars ttydefaults; 205 |
206/* Symbolic sleep message strings. */ 207extern char ttyin[], ttyout[], ttopen[], ttclos[], ttybg[], ttybuf[]; 208 | |
209int b_to_q __P((char *cp, int cc, struct clist *q)); 210void catq __P((struct clist *from, struct clist *to)); 211void clist_alloc_cblocks __P((struct clist *q, int ccmax, int ccres)); 212void clist_free_cblocks __P((struct clist *q)); 213/* void clist_init __P((void)); */ /* defined in systm.h for main() */ 214int getc __P((struct clist *q)); 215void ndflush __P((struct clist *q, int cc)); 216int ndqb __P((struct clist *q, int flag)); --- 51 unchanged lines hidden --- | 206int b_to_q __P((char *cp, int cc, struct clist *q)); 207void catq __P((struct clist *from, struct clist *to)); 208void clist_alloc_cblocks __P((struct clist *q, int ccmax, int ccres)); 209void clist_free_cblocks __P((struct clist *q)); 210/* void clist_init __P((void)); */ /* defined in systm.h for main() */ 211int getc __P((struct clist *q)); 212void ndflush __P((struct clist *q, int cc)); 213int ndqb __P((struct clist *q, int flag)); --- 51 unchanged lines hidden --- |