lkml.org 
[lkml]   [1999]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectBinding a process to a controlling terminal
Hi,
Could someone give me a quick explanation on how to bind a program to a
TTY as its controlling TTY after it has opened it? e.g. after it has just
opened a /dev/ttypx pseudo-TTY device, it wants to make it its controlling
terminal so that when you use ps ax, it will show that tty as being the
processes's controlling TTY. I believe the kernel list would be most
appropriate for advice on this since I'm sure it's a kernel-based system call
that does it.

Thanks

-
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:53    [W:0.020 / U:1.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site