Got a process struct / need a tty.

Guy Harris guy at auspex.auspex.com
Tue Feb 27 08:37:18 AEST 1990


>The major/minor device numbers are stored in the user struct, in u.u_ttyd on
>USG Unix; I don't know if this was changed in BSD-based Unixes like Dynix.

It hasn't changed in BSD, and I suspect it hasn't changed in most
BSD-based systems.

Note also that "/dev" may have subdirectories, and that they may contain
tty devices, so you should check them too.



More information about the Comp.unix.wizards mailing list