1 $Id: console.c.spec.txt 1342 2007-11-10 23:46:11Z nekral-guest $
3 Specification for console.c source file --
6 tty -- character pointer to device name with leading "/dev/"
13 int console (char * tty)
14 if "CONSOLE" string value is not present in login.defs
17 if the first character of "CONSOLE" string value is not "/"
18 treat the string as a ":" delimited list of device
19 names and search for the value of tty in that
27 if the file named by "CONSOLE" cannot be opened
30 scan the file looking for a match between the input line