[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Controlling tty
I'm looking for a reliable method to find the controlling tty of another
process (for my ps.ttp). The PROC structure has a FILEPTR for thatm but
it's in the undocumented area, and it's contents is undocumented, too.
What about an Fcnt PGETCTTY which returns dev and index of the controlling
tty (small change in procfs.c)? I've already added the few lines and
would like to have them in the release kernel, if there's no simpler way...
--
---------------------------------------------------
Julian F. Reschke, Hensenstr. 142, D-48161 Muenster
eMail: reschke@math.uni-muenster.de jr@ms.maus.de
___________________________________________________