Deleted Added
full compact
tty.h (51654) tty.h (51658)
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 * $FreeBSD: head/sys/sys/tty.h 51654 1999-09-25 16:21:39Z phk $
39 * $FreeBSD: head/sys/sys/tty.h 51658 1999-09-25 18:24:47Z phk $
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#include <sys/queue.h>

--- 181 unchanged lines hidden (view full) ---

229int b_to_q __P((char *cp, int cc, struct clist *q));
230void catq __P((struct clist *from, struct clist *to));
231void clist_alloc_cblocks __P((struct clist *q, int ccmax, int ccres));
232void clist_free_cblocks __P((struct clist *q));
233/* void clist_init __P((void)); */ /* defined in systm.h for main() */
234int getc __P((struct clist *q));
235void ndflush __P((struct clist *q, int cc));
236int ndqb __P((struct clist *q, 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#include <sys/queue.h>

--- 181 unchanged lines hidden (view full) ---

229int b_to_q __P((char *cp, int cc, struct clist *q));
230void catq __P((struct clist *from, struct clist *to));
231void clist_alloc_cblocks __P((struct clist *q, int ccmax, int ccres));
232void clist_free_cblocks __P((struct clist *q));
233/* void clist_init __P((void)); */ /* defined in systm.h for main() */
234int getc __P((struct clist *q));
235void ndflush __P((struct clist *q, int cc));
236int ndqb __P((struct clist *q, int flag));
237void nottystop __P((struct tty*, int rw));
237char *nextc __P((struct clist *q, char *cp, int *c));
238int putc __P((int c, struct clist *q));
239int q_to_b __P((struct clist *q, char *cp, int cc));
240int unputc __P((struct clist *q));
241
242int ttcompat __P((struct tty *tp, u_long com, caddr_t data, int flag));
243int ttsetcompat __P((struct tty *tp, u_long *com, caddr_t data, struct termios *term));
244

--- 32 unchanged lines hidden ---
238char *nextc __P((struct clist *q, char *cp, int *c));
239int putc __P((int c, struct clist *q));
240int q_to_b __P((struct clist *q, char *cp, int cc));
241int unputc __P((struct clist *q));
242
243int ttcompat __P((struct tty *tp, u_long com, caddr_t data, int flag));
244int ttsetcompat __P((struct tty *tp, u_long *com, caddr_t data, struct termios *term));
245

--- 32 unchanged lines hidden ---