[net.unix-wizards] how do you find out if a file is currently open?

dave (05/02/83)

Does anyone have a routine which will dig into kmem and figure out
whether a given file (actually a tty line) is currently open by
any process? This is for v7 on an 11/23. Thanks.

Dave Sherman
Toronto
...utzoo!utcsrgv!dave
(416) 947-3466