Provided by: kernel-doc-2.4.27_2.4.27-12_all bug

NAME

       PROC_CONSOLE -  find the attached tty or visible console

SYNOPSIS

       int PROC_CONSOLE (const struct fb_info *info);

ARGUMENTS

       info         frame buffer info structure

DESCRIPTION

       Finds the tty attached to the process or visible console if the process
       is not directly attached to a tty (e.g. remote user) for device info.

       Returns -1 errno on error, or tty/visible console number on success.