db_input.c (2056) | db_input.c (2112) |
---|---|
1/* 2 * Mach Operating System 3 * Copyright (c) 1991,1990 Carnegie Mellon University 4 * All Rights Reserved. 5 * 6 * Permission to use, copy, modify and distribute this software and its 7 * documentation is hereby granted, provided that both the copyright 8 * notice and this permission notice appear in all copies of the --- 9 unchanged lines hidden (view full) --- 18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 19 * School of Computer Science 20 * Carnegie Mellon University 21 * Pittsburgh PA 15213-3890 22 * 23 * any improvements or extensions that they make and grant Carnegie the 24 * rights to redistribute these changes. 25 * | 1/* 2 * Mach Operating System 3 * Copyright (c) 1991,1990 Carnegie Mellon University 4 * All Rights Reserved. 5 * 6 * Permission to use, copy, modify and distribute this software and its 7 * documentation is hereby granted, provided that both the copyright 8 * notice and this permission notice appear in all copies of the --- 9 unchanged lines hidden (view full) --- 18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 19 * School of Computer Science 20 * Carnegie Mellon University 21 * Pittsburgh PA 15213-3890 22 * 23 * any improvements or extensions that they make and grant Carnegie the 24 * rights to redistribute these changes. 25 * |
26 * $Id: db_input.c,v 1.4 1993/12/19 00:49:44 wollman Exp $ | 26 * $Id: db_input.c,v 1.5 1994/08/13 03:49:19 wollman Exp $ |
27 */ 28 29/* 30 * Author: David B. Golub, Carnegie Mellon University 31 * Date: 7/90 32 */ 33 34#include <sys/param.h> --- 154 unchanged lines hidden (view full) --- 189 db_putnchars(BACKUP, db_le - db_lc); 190 } 191 break; 192 } 193 return (0); 194} 195 196int | 27 */ 28 29/* 30 * Author: David B. Golub, Carnegie Mellon University 31 * Date: 7/90 32 */ 33 34#include <sys/param.h> --- 154 unchanged lines hidden (view full) --- 189 db_putnchars(BACKUP, db_le - db_lc); 190 } 191 break; 192 } 193 return (0); 194} 195 196int |
197cnmaygetc (void) 198{ 199 return (-1); 200} 201 202int |
|
197db_readline(lstart, lsize) 198 char * lstart; 199 int lsize; 200{ 201 db_force_whitespace(); /* synch output position */ 202 203 db_lbuf_start = lstart; 204 db_lbuf_end = lstart + lsize; --- 32 unchanged lines hidden (view full) --- 237 break; 238 239 default: 240 /* drop on floor */ 241 break; 242 } 243} 244 | 203db_readline(lstart, lsize) 204 char * lstart; 205 int lsize; 206{ 207 db_force_whitespace(); /* synch output position */ 208 209 db_lbuf_start = lstart; 210 db_lbuf_end = lstart + lsize; --- 32 unchanged lines hidden (view full) --- 243 break; 244 245 default: 246 /* drop on floor */ 247 break; 248 } 249} 250 |
245int 246cnmaygetc (void) 247{ 248 return (-1); 249} 250 | |
251/* called from kdb_trap in db_interface.c */ 252void 253cnpollc (flag) 254 int flag; 255{ 256} | 251/* called from kdb_trap in db_interface.c */ 252void 253cnpollc (flag) 254 int flag; 255{ 256} |