lkml.org 
[lkml]   [1999]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: file descritor 255 is always associated with /dev/tty[?] ?
Date
From
> the process i.e /dev/tty[?] (current->files->fd[255] is not NULL). This is
> the case with the shell (bash) process and since other processes are
> forked by shell, this fd is inherited. I looked at the kernel sources and
> bash source to see who sets this fd 255 but could not find. Can someone
> please mail me (or give links to references) why this is set, who sets it,
> and when?

bash sets it, always. Not sure why


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.033 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site