From: mbinder@gwdu03.gwdg.de (Michael Binder)
Subject: how to get the tty-path
Date: Fri, 28 Jan 1994 11:36:12 GMT [thread overview]
Message-ID: <DWGLBZEG@gwdu03.gwdg.de> (raw)
I'm working on a DEC Alpha under OSF1 V1.3
I used the "table(TBL_PROCINFO ..."-call to get informations about
all processes out of the Kernel. One member of the procinfo struct
defined in table.h is
int ttyd; /* contolling display terminal */
And this is what I would like to know:
How can I convert this integer into the tty-path like /dev/ttyp2
for instance?
can anybode help me?
Michael
reply other threads:[~1994-01-28 11:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox