From 43a4bf11fa3d07c67784c62a7dfc13471c7f052b Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sun, 10 Feb 2002 18:33:10 +0000 Subject: 2002-02-10 Marcus Brinkmann * term.h: Declare rdev. * main.c (options): New variable. (parse_opt): Handle case `n' to set rdev number. Also return EINVAL if terminal type is invalid. * users.c (trivfs_modify_stat): Set ST->st_rdev to global rdev. --- term/term.h | 1 + 1 file changed, 1 insertion(+) (limited to 'term/term.h') diff --git a/term/term.h b/term/term.h index cb22e159..c36fc2e4 100644 --- a/term/term.h +++ b/term/term.h @@ -323,6 +323,7 @@ void write_character (int); void init_users (void); extern char *tty_arg; +extern int rdev; /* kludge--these are pty versions of trivfs_S_io_* functions called by the real functions in users.c to do work for ptys. */ -- cgit v1.2.3