tty.h (9833) | tty.h (12675) |
---|---|
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.30 1995/07/31 22:48:46 bde Exp $ | 39 * $Id: tty.h,v 1.31 1995/07/31 22:50: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 --- 208 unchanged lines hidden (view full) --- 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)); 260int ttywflush __P((struct tty *tp)); 261struct tty *ttymalloc __P((void)); 262void ttyfree __P((struct tty *)); 263 | 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 --- 208 unchanged lines hidden (view full) --- 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)); 260int ttywflush __P((struct tty *tp)); 261struct tty *ttymalloc __P((void)); 262void ttyfree __P((struct tty *)); 263 |
264/* From tty_tty.c. */ 265/* 266 * XXX misplaced - these are just the cdev functions for a particular 267 * driver. 268 */ 269int cttyioctl __P((dev_t dev, int cmd, caddr_t addr, int flag, 270 struct proc *p)); 271int cttyopen __P((dev_t dev, int flag, int mode, struct proc *p)); 272int cttyread __P((dev_t dev, struct uio *uio, int flag)); 273int cttyselect __P((dev_t dev, int flag, struct proc *p)); 274int cttywrite __P((dev_t dev, struct uio *uio, int flag)); 275 | |
276#endif /* KERNEL */ 277 278#endif /* !_SYS_TTY_H_ */ | 264#endif /* KERNEL */ 265 266#endif /* !_SYS_TTY_H_ */ |