[comp.sys.next] detect_console_user function?

garnett@cs.utexas.edu (John William Garnett) (02/25/91)

I'm looking for a relatively clean way to detect (from within a program)
whether or not a user is logged into the NeXT console.  Relatively
clean means I'd rather not grep the output of ps using the system("...")
call.

Thanks in advance,

-- 
John Garnett
                              University of Texas at Austin
garnett@cs.utexas.edu         Department of Computer Science
                              Austin, Texas